non-stupid-digest-assets 1.0.9 → 1.0.10
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 +6 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: d683f1ca707827700f5c7ca9486673df486fe0c5c88e9cf8aede6299d9839a7e
|
4
|
+
data.tar.gz: 2aad3fb858aad7079b4c6144340ebb347891454799af09c0dc5a07a2e8967bc6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '069efc5e6dd9cfa43430b1859d7dd576c0b7be3e9c45a748277d56a5627f943a972b1f08a59d9ba183a2f940c2fedb4a896fd6cc95ee21b19e33e6c639648774'
|
7
|
+
data.tar.gz: 5229fe18388d2d76b927113e7468f38a38da5fd0ac575a334c7c9699d36e907a9fdafffc5c70c83847992f81a34c15542e65b4d5960ab297300202aabd67f447
|
@@ -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.10
|
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: 2023-11-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sprockets
|
@@ -42,7 +42,7 @@ homepage: http://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: []
|