sprockets 4.0.0 → 4.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (40) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +35 -2
  3. data/MIT-LICENSE +21 -0
  4. data/README.md +103 -19
  5. data/lib/rake/sprocketstask.rb +6 -2
  6. data/lib/sprockets/add_source_map_comment_to_asset_processor.rb +1 -1
  7. data/lib/sprockets/asset.rb +23 -6
  8. data/lib/sprockets/base.rb +2 -2
  9. data/lib/sprockets/bower.rb +1 -1
  10. data/lib/sprockets/bundle.rb +1 -1
  11. data/lib/sprockets/cache/memory_store.rb +20 -11
  12. data/lib/sprockets/cache.rb +1 -1
  13. data/lib/sprockets/cached_environment.rb +11 -11
  14. data/lib/sprockets/coffee_script_processor.rb +2 -2
  15. data/lib/sprockets/configuration.rb +2 -2
  16. data/lib/sprockets/context.rb +2 -1
  17. data/lib/sprockets/dependencies.rb +1 -1
  18. data/lib/sprockets/digest_utils.rb +10 -13
  19. data/lib/sprockets/directive_processor.rb +19 -1
  20. data/lib/sprockets/eco_processor.rb +1 -1
  21. data/lib/sprockets/ejs_processor.rb +1 -1
  22. data/lib/sprockets/erb_processor.rb +8 -2
  23. data/lib/sprockets/exporters/base.rb +2 -3
  24. data/lib/sprockets/exporting.rb +2 -2
  25. data/lib/sprockets/loader.rb +5 -3
  26. data/lib/sprockets/manifest.rb +8 -7
  27. data/lib/sprockets/npm.rb +1 -1
  28. data/lib/sprockets/path_utils.rb +1 -1
  29. data/lib/sprockets/processing.rb +1 -1
  30. data/lib/sprockets/processor_utils.rb +4 -3
  31. data/lib/sprockets/sass_processor.rb +1 -1
  32. data/lib/sprockets/sassc_processor.rb +1 -1
  33. data/lib/sprockets/server.rb +30 -20
  34. data/lib/sprockets/source_map_processor.rb +1 -1
  35. data/lib/sprockets/source_map_utils.rb +4 -4
  36. data/lib/sprockets/uri_utils.rb +1 -1
  37. data/lib/sprockets/utils.rb +24 -16
  38. data/lib/sprockets/version.rb +1 -1
  39. data/lib/sprockets.rb +4 -1
  40. metadata +15 -14
metadata CHANGED
@@ -1,36 +1,36 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sprockets
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.0
4
+ version: 4.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sam Stephenson
8
8
  - Joshua Peek
9
- autorequire:
9
+ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2019-10-08 00:00:00.000000000 Z
12
+ date: 2022-12-20 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rack
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
- - - ">"
18
+ - - ">="
19
19
  - !ruby/object:Gem::Version
20
- version: '1'
20
+ version: 2.2.4
21
21
  - - "<"
22
22
  - !ruby/object:Gem::Version
23
- version: '3'
23
+ version: '4'
24
24
  type: :runtime
25
25
  prerelease: false
26
26
  version_requirements: !ruby/object:Gem::Requirement
27
27
  requirements:
28
- - - ">"
28
+ - - ">="
29
29
  - !ruby/object:Gem::Version
30
- version: '1'
30
+ version: 2.2.4
31
31
  - - "<"
32
32
  - !ruby/object:Gem::Version
33
- version: '3'
33
+ version: '4'
34
34
  - !ruby/object:Gem::Dependency
35
35
  name: concurrent-ruby
36
36
  requirement: !ruby/object:Gem::Requirement
@@ -219,14 +219,14 @@ dependencies:
219
219
  requirements:
220
220
  - - "~>"
221
221
  - !ruby/object:Gem::Version
222
- version: '0.6'
222
+ version: 2.0.0
223
223
  type: :development
224
224
  prerelease: false
225
225
  version_requirements: !ruby/object:Gem::Requirement
226
226
  requirements:
227
227
  - - "~>"
228
228
  - !ruby/object:Gem::Version
229
- version: '0.6'
229
+ version: 2.0.0
230
230
  - !ruby/object:Gem::Dependency
231
231
  name: rake
232
232
  requirement: !ruby/object:Gem::Requirement
@@ -336,6 +336,7 @@ extensions: []
336
336
  extra_rdoc_files: []
337
337
  files:
338
338
  - CHANGELOG.md
339
+ - MIT-LICENSE
339
340
  - README.md
340
341
  - bin/sprockets
341
342
  - lib/rake/sprocketstask.rb
@@ -422,7 +423,7 @@ homepage: https://github.com/rails/sprockets
422
423
  licenses:
423
424
  - MIT
424
425
  metadata: {}
425
- post_install_message:
426
+ post_install_message:
426
427
  rdoc_options: []
427
428
  require_paths:
428
429
  - lib
@@ -437,8 +438,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
437
438
  - !ruby/object:Gem::Version
438
439
  version: '0'
439
440
  requirements: []
440
- rubygems_version: 3.0.3
441
- signing_key:
441
+ rubygems_version: 3.3.7
442
+ signing_key:
442
443
  specification_version: 4
443
444
  summary: Rack-based asset packaging system
444
445
  test_files: []