assets-minify-rails 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '0916dc0174afd48a4a309e2287726fddaf8f16f814236544c84e1ccc4ae21bba'
4
- data.tar.gz: da479e9c1da1ebe872fda191fda2f71d986a0c91bf559fd923394f2d7eeedccd
3
+ metadata.gz: 4cb99bf5066ae2b50302736731c6d4f9c22ee2468a28f5d2a8b512ba5b0547fc
4
+ data.tar.gz: 454e078a4a0db9266273cce7971f861f5423e7878c673f3bc9bc71c6242f5d44
5
5
  SHA512:
6
- metadata.gz: 14246a81f887d6574c49030498998b11b53bb227e21f3391e046ea16fa566e1de0fab43f25fa6850367b832a830a637b7f6ad16c31d5828af47d5af6571738ba
7
- data.tar.gz: 3adb31390282082962e2bfe1d197aa3ebe51d7adffa2ca0d1981af8e7c00b74836a01081a0a10346a66153a7801e3b4e8c5da99ce7f1f4452e567feca7185bd1
6
+ metadata.gz: dfaed2c2a9ccb06463a04a4d45599224b7704f473a16c27a94b4e86335d179eb26b75ea27ed38eb3c6c0510149d7c4684bf034d5198f8cf3e58369f4aadb412f
7
+ data.tar.gz: 113a0aa3fdf5e997a6ddbec7c4548acd112c4893b321ba939be489b1c5436893fa0f7cacc54499ff1dc07b8acf44808d1416e970738a14746977829f37a17428
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Assets
4
4
  module Minify
5
- VERSION = "0.1.1"
5
+ VERSION = "0.1.2"
6
6
  end
7
7
  end
@@ -3,6 +3,7 @@
3
3
  namespace :assets_minify do
4
4
  desc "Minify the files"
5
5
  task :compress, :environment do
6
+ next unless File.directory?(::Rails.application.config.assets.output_path)
6
7
  output_path = Assets::Minify::OutputPath.new(
7
8
  ::Rails.application.config.assets.output_path
8
9
  )
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: assets-minify-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - yubele