non-stupid-digest-assets 1.0.9 → 1.0.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/non-stupid-digest-assets.rb +2 -2
- metadata +7 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 2eb2472fc23f0819287e550fba193ae04598492fdfbb5e1802cd4fafb5673787
|
4
|
+
data.tar.gz: 5aff8cd288f74ab152c53f87958738ca93b5f7fc764c953bbd5df4caa7738eda
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: addf2c2df50b975cd094b6191314f07e9df75e6d1c204bfd5d435451b51eae191668db604162b730686a25af0f7f6f16fadb3fd47964fec1d5d57889aa50b17a
|
7
|
+
data.tar.gz: 017cc80ca9c158e62233497a29a08cc13f7b1e9ac3d312f9848aa869f0887345be200996ddd1571e9571db10568dfc1174bf739d7acb77f5a163eb699a159999
|
@@ -30,13 +30,13 @@ module NonStupidDigestAssets
|
|
30
30
|
full_non_digest_path = File.join dir, logical_path
|
31
31
|
full_non_digest_gz_path = "#{full_non_digest_path}.gz"
|
32
32
|
|
33
|
-
if File.
|
33
|
+
if File.exist? full_digest_path
|
34
34
|
logger.debug "Writing #{full_non_digest_path}"
|
35
35
|
FileUtils.copy_file full_digest_path, full_non_digest_path, :preserve_attributes
|
36
36
|
else
|
37
37
|
logger.debug "Could not find: #{full_digest_path}"
|
38
38
|
end
|
39
|
-
if File.
|
39
|
+
if File.exist? full_digest_gz_path
|
40
40
|
logger.debug "Writing #{full_non_digest_gz_path}"
|
41
41
|
FileUtils.copy_file full_digest_gz_path, full_non_digest_gz_path, :preserve_attributes
|
42
42
|
else
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: non-stupid-digest-assets
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alex Speller
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-02-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sprockets
|
@@ -38,11 +38,11 @@ files:
|
|
38
38
|
- LICENSE
|
39
39
|
- README.md
|
40
40
|
- lib/non-stupid-digest-assets.rb
|
41
|
-
homepage:
|
41
|
+
homepage: https://github.com/alexspeller/non-stupid-digest-assets
|
42
42
|
licenses:
|
43
43
|
- MIT
|
44
44
|
metadata: {}
|
45
|
-
post_install_message:
|
45
|
+
post_install_message:
|
46
46
|
rdoc_options: []
|
47
47
|
require_paths:
|
48
48
|
- lib
|
@@ -57,9 +57,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
57
57
|
- !ruby/object:Gem::Version
|
58
58
|
version: '0'
|
59
59
|
requirements: []
|
60
|
-
|
61
|
-
|
62
|
-
signing_key:
|
60
|
+
rubygems_version: 3.3.26
|
61
|
+
signing_key:
|
63
62
|
specification_version: 4
|
64
63
|
summary: Fix the Rails 4 asset pipeline to generate non-digest along with digest assets
|
65
64
|
test_files: []
|