smart_asset 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
data/lib/smart_asset.rb CHANGED
@@ -52,7 +52,7 @@ class SmartAsset
52
52
  puts "\nCompressing #{source}..."
53
53
  if ext == 'js'
54
54
  warning = ENV['WARN'] ? nil : " --warning_level QUIET"
55
- cmd = "java -jar #{CLOSURE_COMPILER} --js #{source} --js_output_file #{destination}#{warn}"
55
+ cmd = "java -jar #{CLOSURE_COMPILER} --js #{source} --js_output_file #{destination}#{warning}"
56
56
  elsif ext == 'css'
57
57
  cmd = "java -jar #{YUI_COMPRESSOR} #{source} -o #{destination}"
58
58
  end
@@ -1,3 +1,3 @@
1
1
  class SmartAsset
2
- VERSION = "0.2.0" unless defined?(::SmartAsset::VERSION)
2
+ VERSION = "0.2.1" unless defined?(::SmartAsset::VERSION)
3
3
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 2
8
- - 0
9
- version: 0.2.0
8
+ - 1
9
+ version: 0.2.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - Winton Welsh