swiss_knife 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- swiss_knife (0.2.1)
4
+ swiss_knife (0.2.2)
5
5
  rails (>= 3.0.0)
6
6
 
7
7
  GEM
@@ -40,6 +40,7 @@ module SwissKnife
40
40
  # read it back in and trim it
41
41
  result = ""
42
42
  File.open("#{tmp_path}_compressed.js", "r") { |f| result += f.read.strip }
43
+ result << "\n;"
43
44
 
44
45
  # delete temp files if they exist
45
46
  File.delete("#{tmp_path}_uncompressed.js") if File.exists?("#{tmp_path}_uncompressed.js")
@@ -65,7 +66,6 @@ module SwissKnife
65
66
  file << ".#{ext}" unless file =~ /\.#{ext}$/i
66
67
 
67
68
  f << send("compress_#{ext}", File.read(assets_dir.join(file)))
68
- f << "\n;"
69
69
  end
70
70
  end
71
71
  end
@@ -2,7 +2,7 @@ module SwissKnife
2
2
  module Version
3
3
  MAJOR = 0
4
4
  MINOR = 2
5
- PATCH = 1
5
+ PATCH = 2
6
6
  STRING = "#{MAJOR}.#{MINOR}.#{PATCH}"
7
7
  end
8
8
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: swiss_knife
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.2.1
5
+ version: 0.2.2
6
6
  platform: ruby
7
7
  authors:
8
8
  - Nando Vieira