non-digest-assets 1.2.0 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/non-digest-assets.rb +2 -18
- metadata +9 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9ebdb930f957681b539f3dbfc214cd3a041ed901a1e9fb01719f8a611f5227af
|
4
|
+
data.tar.gz: 76141afddc5de405fbd84e258a1af2a7fbff36e60bdb5846a54d356cee3989fc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 854e20da094f3c1ed59a5e33cd76b7082985555d074adcec436f2d5501a6fe93ab2d4499c4bdb890179a9c7e05335c824a434c003591c33d7c9fc846d331e218
|
7
|
+
data.tar.gz: f626372d9ee5705a70b19e567c9f3f1181262d8db9e39a5e57a8100d3fe0f95ebd4b4b0c7982075b9217dffe9a10876ad7a7754f1cf6983f7aad8a40425f8d2f
|
data/lib/non-digest-assets.rb
CHANGED
@@ -2,11 +2,10 @@
|
|
2
2
|
|
3
3
|
require "sprockets/manifest"
|
4
4
|
require "active_support/core_ext/module/attribute_accessors"
|
5
|
-
require "active_support/deprecation"
|
6
5
|
|
7
6
|
module NonDigestAssets
|
8
|
-
mattr_accessor :
|
9
|
-
@@
|
7
|
+
mattr_accessor :asset_selectors
|
8
|
+
@@asset_selectors = []
|
10
9
|
|
11
10
|
class << self
|
12
11
|
def filter_assets(asset_list)
|
@@ -30,21 +29,6 @@ module NonDigestAssets
|
|
30
29
|
FileUtils.rm_f to
|
31
30
|
FileUtils.copy_file from, to, :preserve_attributes
|
32
31
|
end
|
33
|
-
|
34
|
-
def assets(asset_list)
|
35
|
-
filter_assets(asset_list)
|
36
|
-
end
|
37
|
-
|
38
|
-
alias asset_selectors whitelist
|
39
|
-
alias asset_selectors= whitelist=
|
40
|
-
|
41
|
-
ActiveSupport::Deprecation
|
42
|
-
.deprecate_methods(self,
|
43
|
-
assets: "use filter_assets instead",
|
44
|
-
whitelist: "use asset_selectors instead",
|
45
|
-
"whitelist=": "use asset_selectors= instead",
|
46
|
-
deprecator: ActiveSupport::Deprecation.new("2.0.0",
|
47
|
-
"non-digest-assets"))
|
48
32
|
end
|
49
33
|
|
50
34
|
module CompileWithNonDigest
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: non-digest-assets
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alex Speller
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2021-
|
12
|
+
date: 2021-10-08 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|
@@ -147,14 +147,14 @@ dependencies:
|
|
147
147
|
requirements:
|
148
148
|
- - "~>"
|
149
149
|
- !ruby/object:Gem::Version
|
150
|
-
version: 1.
|
150
|
+
version: 1.22.0
|
151
151
|
type: :development
|
152
152
|
prerelease: false
|
153
153
|
version_requirements: !ruby/object:Gem::Requirement
|
154
154
|
requirements:
|
155
155
|
- - "~>"
|
156
156
|
- !ruby/object:Gem::Version
|
157
|
-
version: 1.
|
157
|
+
version: 1.22.0
|
158
158
|
- !ruby/object:Gem::Dependency
|
159
159
|
name: rubocop-packaging
|
160
160
|
requirement: !ruby/object:Gem::Requirement
|
@@ -189,14 +189,14 @@ dependencies:
|
|
189
189
|
requirements:
|
190
190
|
- - "~>"
|
191
191
|
- !ruby/object:Gem::Version
|
192
|
-
version: 2.
|
192
|
+
version: 2.12.0
|
193
193
|
type: :development
|
194
194
|
prerelease: false
|
195
195
|
version_requirements: !ruby/object:Gem::Requirement
|
196
196
|
requirements:
|
197
197
|
- - "~>"
|
198
198
|
- !ruby/object:Gem::Version
|
199
|
-
version: 2.
|
199
|
+
version: 2.12.0
|
200
200
|
- !ruby/object:Gem::Dependency
|
201
201
|
name: rubocop-rake
|
202
202
|
requirement: !ruby/object:Gem::Requirement
|
@@ -217,14 +217,14 @@ dependencies:
|
|
217
217
|
requirements:
|
218
218
|
- - "~>"
|
219
219
|
- !ruby/object:Gem::Version
|
220
|
-
version: 2.
|
220
|
+
version: 2.5.0
|
221
221
|
type: :development
|
222
222
|
prerelease: false
|
223
223
|
version_requirements: !ruby/object:Gem::Requirement
|
224
224
|
requirements:
|
225
225
|
- - "~>"
|
226
226
|
- !ruby/object:Gem::Version
|
227
|
-
version: 2.
|
227
|
+
version: 2.5.0
|
228
228
|
description: |2
|
229
229
|
Rails provides no option to generate both digest and non-digest
|
230
230
|
assets. Installing this gem automatically creates both digest and
|
@@ -250,7 +250,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
250
250
|
requirements:
|
251
251
|
- - ">="
|
252
252
|
- !ruby/object:Gem::Version
|
253
|
-
version: '2.
|
253
|
+
version: '2.6'
|
254
254
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
255
255
|
requirements:
|
256
256
|
- - ">="
|