snails 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/snails.rb +1 -1
- data/snails.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9bbc8b7866cc79c804425e144272c8263706f47a
|
4
|
+
data.tar.gz: 0c569bd5b689b0a6e15529dfb802d65ac6bb4570
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f4ad67a2b224df8f3406edc30f3ea5e3f87f19af20d5257a0e8764311983e17e04f144a776b83ba302d56610366d6cf98b663d05ad793ac9ddae2c7a8b9a8285
|
7
|
+
data.tar.gz: 73544b3ab39bcb619e9c8caf6b1138ce54411d7602635173e1ea8a14d199a66cd93bcdf4ca6ace0888b2ffc1a59896df3458808d3545b78280a2dcf3353887e1
|
data/lib/snails.rb
CHANGED
@@ -239,7 +239,7 @@ module Snails
|
|
239
239
|
manifest = ::Sprockets::Manifest.new(environment.index, app.assets_public_path)
|
240
240
|
manifest.compile(app.assets_precompile)
|
241
241
|
|
242
|
-
if app.
|
242
|
+
if app.assets_remove_digests?
|
243
243
|
# files = Dir[app.assets_public_path.to_s + '/*/*']
|
244
244
|
files = `find #{app.assets_public_path}`.split("\n").select { |f| f[/\.(js|css)/] }
|
245
245
|
remove_digests(files)
|
data/snails.gemspec
CHANGED