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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/non-digest-assets.rb +2 -18
  3. metadata +9 -9
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 52ec82545e132f58fcccffc6919e17cb7458f293703039e64774824e0d115d42
4
- data.tar.gz: b616bfa6fbcf8a8701db9f33ea27cdc9684cababfff96d9c96fe538067aa530e
3
+ metadata.gz: 9ebdb930f957681b539f3dbfc214cd3a041ed901a1e9fb01719f8a611f5227af
4
+ data.tar.gz: 76141afddc5de405fbd84e258a1af2a7fbff36e60bdb5846a54d356cee3989fc
5
5
  SHA512:
6
- metadata.gz: 1d6653fd4f4538997715f6583ece7dbafa942a8990c0ed5b77f91004a4db1619b2291e9df24f58721709c08f87dc75c8e63e4240f2351e440ddefab890721888
7
- data.tar.gz: bb926937f8faa5ca937faf754af3b1aaca51317617a288254e9bf15242633c3b7b324c1b1f721b50e292c8b5c7b8e1ed72b539fb3741259adf4124ca5e03556d
6
+ metadata.gz: 854e20da094f3c1ed59a5e33cd76b7082985555d074adcec436f2d5501a6fe93ab2d4499c4bdb890179a9c7e05335c824a434c003591c33d7c9fc846d331e218
7
+ data.tar.gz: f626372d9ee5705a70b19e567c9f3f1181262d8db9e39a5e57a8100d3fe0f95ebd4b4b0c7982075b9217dffe9a10876ad7a7754f1cf6983f7aad8a40425f8d2f
@@ -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 :whitelist
9
- @@whitelist = []
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: 1.2.0
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-07-30 00:00:00.000000000 Z
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.18.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.18.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.11.0
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.11.0
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.4.0
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.4.0
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.5'
253
+ version: '2.6'
254
254
  required_rubygems_version: !ruby/object:Gem::Requirement
255
255
  requirements:
256
256
  - - ">="