sass 3.3.0.alpha.224 → 3.3.0.alpha.225

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. data/REVISION +1 -1
  2. data/VERSION +1 -1
  3. data/VERSION_DATE +1 -1
  4. data/lib/sass/exec.rb +10 -3
  5. metadata +6 -6
data/REVISION CHANGED
@@ -1 +1 @@
1
- 4dfbda0a8021961739f233828fef25363147c4f2
1
+ 7cb26b56b51286f6ac8361f9aa3f975f8749634a
data/VERSION CHANGED
@@ -1 +1 @@
1
- 3.3.0.alpha.224
1
+ 3.3.0.alpha.225
@@ -1 +1 @@
1
- 06 August 2013 20:03:17 GMT
1
+ 07 August 2013 23:47:30 GMT
@@ -302,8 +302,16 @@ END
302
302
  @options[:sourcemap] = true
303
303
  end
304
304
 
305
- unless ::Sass::Util.ruby1_8?
306
- opts.on('-E encoding', 'Specify the default encoding for Sass files.') do |encoding|
305
+ encoding_desc = if ::Sass::Util.ruby1_8?
306
+ 'Does not work in ruby 1.8.'
307
+ else
308
+ 'Specify the default encoding for Sass files.'
309
+ end
310
+ opts.on('-E encoding', encoding_desc) do |encoding|
311
+ if ::Sass::Util.ruby1_8?
312
+ $stderr.puts "Specifying the encoding is not supported in ruby 1.8."
313
+ exit 1
314
+ else
307
315
  Encoding.default_external = encoding
308
316
  end
309
317
  end
@@ -649,7 +657,6 @@ END
649
657
  end
650
658
  @options[:output] ||= @options[:input]
651
659
 
652
- from = @options[:from]
653
660
  if @options[:to] == @options[:from] && !@options[:in_place]
654
661
  fmt = @options[:from]
655
662
  raise "Error: converting from #{fmt} to #{fmt} without --in-place"
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sass
3
3
  version: !ruby/object:Gem::Version
4
- hash: 592302797
4
+ hash: 592302799
5
5
  prerelease: 6
6
6
  segments:
7
7
  - 3
8
8
  - 3
9
9
  - 0
10
10
  - alpha
11
- - 224
12
- version: 3.3.0.alpha.224
11
+ - 225
12
+ version: 3.3.0.alpha.225
13
13
  platform: ruby
14
14
  authors:
15
15
  - Nathan Weizenbaum
@@ -19,7 +19,7 @@ autorequire:
19
19
  bindir: bin
20
20
  cert_chain: []
21
21
 
22
- date: 2013-08-06 00:00:00 -04:00
22
+ date: 2013-08-07 00:00:00 -04:00
23
23
  default_executable:
24
24
  dependencies:
25
25
  - !ruby/object:Gem::Dependency
@@ -209,8 +209,8 @@ files:
209
209
  - test/sass/engine_test.rb
210
210
  - test/sass/css2sass_test.rb
211
211
  - test/sass/data/hsl-rgb.txt
212
- - test/sass/exec_test.rb
213
212
  - test/sass/extend_test.rb
213
+ - test/sass/exec_test.rb
214
214
  - test/sass/importer_test.rb
215
215
  - test/sass/fixtures/test_staleness_check_across_importers.css
216
216
  - test/sass/fixtures/test_staleness_check_across_importers.scss
@@ -377,8 +377,8 @@ test_files:
377
377
  - test/sass/conversion_test.rb
378
378
  - test/sass/engine_test.rb
379
379
  - test/sass/css2sass_test.rb
380
- - test/sass/exec_test.rb
381
380
  - test/sass/extend_test.rb
381
+ - test/sass/exec_test.rb
382
382
  - test/sass/importer_test.rb
383
383
  - test/sass/functions_test.rb
384
384
  - test/sass/plugin_test.rb