1
0
Fork 0
mirror of https://github.com/haml/haml.git synced 2022-11-09 12:33:31 -05:00
Commit graph

27 commits

Author SHA1 Message Date
Chris Eppstein
268f8782a7 [Sass] Test case to make sure options get passed from the plugin to the stylesheet environment.
Conflicts:

	test/test_helper.rb
2010-01-20 20:30:14 -08:00
Nathan Weizenbaum
c8d699f35e Merge branch 'stable'
Conflicts:
	doc-src/SASS_CHANGELOG.md
	test/test_helper.rb
2009-12-28 01:55:16 -08:00
Nathan Weizenbaum
e202297ad4 [Sass] Report the filename in warnings about selectors without properties. 2009-12-28 01:54:09 -08:00
Nathan Weizenbaum
c723af51d6 [Sass] Take filename info for tests from the first method beginning with test_. 2009-12-28 00:41:20 -08:00
Nathan Weizenbaum
076c05f713 [Sass] Rename test_filename => filename_for_test so it doesn't register as a test. 2009-12-28 00:35:46 -08:00
Nathan Weizenbaum
6c718b21a8 [Sass] Pass the options into literals returned by functions and operations. 2009-12-03 13:41:23 -08:00
Nathan Weizenbaum
8c106fd628 [Sass] Fix a test incompatibility with Ruby 1.9. 2009-11-24 21:51:16 -08:00
Nathan Weizenbaum
41cb3d45b4 [Sass] Add basic support for including mixins in error backtraces.
This doesn't support error backtraces from errors that are raised during Sass::Node#_to_s,
since the Mixin node doesn't exist at that point.
I think the best way to resolve this is to do all error checking earlier on.
2009-11-24 20:31:15 -08:00
Chris Eppstein
dcb15c465c [Sass] Fix a bug that caused the Sass::Engine options to not get passed to the stylesheet environment. 2009-11-21 12:23:20 -08:00
Nathan Weizenbaum
8f696076f4 Merge branch 'stable'
Conflicts:
	doc-src/HAML_CHANGELOG.md
	lib/haml/util.rb
2009-11-11 14:30:46 -08:00
Nathan Weizenbaum
90fb7c3066 [Haml] Don't print errors for #escape_once under 1.9. 2009-11-11 14:30:11 -08:00
Nathan Weizenbaum
2ebda4eba8 [Sass] Fix a few Ruby 1.9 test failures. 2009-11-08 16:21:59 -08:00
Nathan Weizenbaum
5d25ebbae7 Merge branch 'stable'
Conflicts:
	lib/haml/util.rb
2009-11-05 18:48:49 -08:00
Nathan Weizenbaum
285bf70701 [Haml] Abstract away RAILS_ROOT.
Closes gh-48
2009-11-05 18:46:55 -08:00
Nathan Weizenbaum
bf74cd3155 [Haml/Sass] Make use of the new caller_info method. 2009-10-25 13:30:21 -07:00
Nathan Weizenbaum
321e7b595f [Sass] Add a warning for selectors with no children. 2009-07-19 14:56:32 -07:00
Nathan Weizenbaum
e907b2c382 [Sass] Fix a Ruby 1.9 compatibility error. 2009-07-13 23:06:24 -07:00
Nathan Weizenbaum
d100d76688 [Sass] The Rails option defaults shouldn't interfere with the tests. 2009-07-11 12:24:00 -04:00
Nathan Weizenbaum
4d97d8ddd8 [Sass] Precompile into a specific directory, rather than alongside the original files. 2009-04-21 23:52:44 -07:00
Nathan Weizenbaum
1165971512 [Sass] Add basic support for precompiling Sass files. 2009-04-21 15:20:23 -07:00
Chris Eppstein
a6d3850e69 Sass changes for Ruby 1.9 compatibility. 2009-02-06 02:41:47 -08:00
Nathan Weizenbaum
b555b7efa6 Add a bunch of tests for Sass warnings.
One broken test for a minor error.
2008-12-25 14:43:12 -08:00
Nathan Weizenbaum
deac7a70a1 Support linked Rails in benchmark.rb. 2008-10-27 10:19:52 -07:00
Mislav Marohnić
cf01a9290e Conditionally define RAILS_ROOT. 2008-09-24 18:50:33 -07:00
Mislav Marohnić
998578aed6 Fix Sass options so that haml/template_test.rb can be run standalone. 2008-09-24 18:50:33 -07:00
Mislav Marohnić
429314d2b0 avoid some warnings thrown by the Ruby interpreter 2008-08-29 18:50:32 -07:00
Nathan Weizenbaum
c9ee6bf1d4 Make the symlinked-Rails facility work properly. 2008-06-08 09:54:36 -07:00
Renamed from test/haml/test_helper.rb (Browse further)