aliddle-sass 3.2.12 → 3.2.13

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 3.2.10
1
+ 3.2.13
@@ -258,10 +258,10 @@ END
258
258
  'Output style. Can be nested (default), compact, compressed, or expanded.') do |name|
259
259
  @options[:for_engine][:style] = name.to_sym
260
260
  end
261
- opts.on('--singlespace', '--singlespace BOOL',
262
- 'Output can remove all blank lines, or leave them as SASS defaults.') do |linebreak|
263
- @options[:for_engine][:singlespace] = linebreak
264
- end
261
+ opts.on('-ds', '--doublespace',
262
+ 'Output will insert the SASS default blank lines.') do
263
+ @options[:for_engine][:doublespace] = true
264
+ end
265
265
  opts.on('--precision NUMBER_OF_DIGITS', Integer,
266
266
  'How many digits of precision to use when outputting decimal numbers. Defaults to 3.') do |precision|
267
267
  ::Sass::Script::Number.precision = precision
@@ -189,10 +189,10 @@ class Sass::Tree::Visitors::ToCss < Sass::Tree::Visitors::Base
189
189
  end
190
190
  end
191
191
 
192
- line_break = "\n"
193
- if node.options[:singlespace] == 'true'
194
- line_break = ''
195
- end
192
+ line_break = ''
193
+ if node.options[:doublespace]
194
+ line_break = "\n"
195
+ end
196
196
 
197
197
  if node.style == :compact
198
198
  properties = with_tabs(0) {node.children.map {|a| visit(a)}.join(' ')}
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 3
7
7
  - 2
8
- - 12
9
- version: 3.2.12
8
+ - 13
9
+ version: 3.2.13
10
10
  platform: ruby
11
11
  authors:
12
12
  - Nathan Weizenbaum
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2013-09-30 00:00:00 -07:00
19
+ date: 2013-10-02 00:00:00 -07:00
20
20
  default_executable:
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency