sprockets 3.7.3 → 4.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (96) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +77 -259
  3. data/{LICENSE → MIT-LICENSE} +2 -2
  4. data/README.md +527 -320
  5. data/bin/sprockets +11 -7
  6. data/lib/rake/sprocketstask.rb +9 -4
  7. data/lib/sprockets/add_source_map_comment_to_asset_processor.rb +60 -0
  8. data/lib/sprockets/asset.rb +39 -27
  9. data/lib/sprockets/autoload/babel.rb +8 -0
  10. data/lib/sprockets/autoload/closure.rb +1 -0
  11. data/lib/sprockets/autoload/coffee_script.rb +1 -0
  12. data/lib/sprockets/autoload/eco.rb +1 -0
  13. data/lib/sprockets/autoload/ejs.rb +1 -0
  14. data/lib/sprockets/autoload/jsminc.rb +8 -0
  15. data/lib/sprockets/autoload/sass.rb +1 -0
  16. data/lib/sprockets/autoload/sassc.rb +8 -0
  17. data/lib/sprockets/autoload/uglifier.rb +1 -0
  18. data/lib/sprockets/autoload/yui.rb +1 -0
  19. data/lib/sprockets/autoload/zopfli.rb +7 -0
  20. data/lib/sprockets/autoload.rb +5 -0
  21. data/lib/sprockets/babel_processor.rb +66 -0
  22. data/lib/sprockets/base.rb +49 -12
  23. data/lib/sprockets/bower.rb +6 -3
  24. data/lib/sprockets/bundle.rb +41 -5
  25. data/lib/sprockets/cache/file_store.rb +25 -3
  26. data/lib/sprockets/cache/memory_store.rb +28 -10
  27. data/lib/sprockets/cache/null_store.rb +8 -0
  28. data/lib/sprockets/cache.rb +37 -2
  29. data/lib/sprockets/cached_environment.rb +15 -20
  30. data/lib/sprockets/closure_compressor.rb +1 -0
  31. data/lib/sprockets/coffee_script_processor.rb +19 -5
  32. data/lib/sprockets/compressing.rb +43 -3
  33. data/lib/sprockets/configuration.rb +5 -9
  34. data/lib/sprockets/context.rb +99 -25
  35. data/lib/sprockets/dependencies.rb +2 -1
  36. data/lib/sprockets/digest_utils.rb +35 -18
  37. data/lib/sprockets/directive_processor.rb +64 -38
  38. data/lib/sprockets/eco_processor.rb +2 -1
  39. data/lib/sprockets/ejs_processor.rb +2 -1
  40. data/lib/sprockets/encoding_utils.rb +2 -2
  41. data/lib/sprockets/environment.rb +9 -4
  42. data/lib/sprockets/erb_processor.rb +33 -32
  43. data/lib/sprockets/errors.rb +1 -0
  44. data/lib/sprockets/exporters/base.rb +71 -0
  45. data/lib/sprockets/exporters/file_exporter.rb +24 -0
  46. data/lib/sprockets/exporters/zlib_exporter.rb +33 -0
  47. data/lib/sprockets/exporters/zopfli_exporter.rb +14 -0
  48. data/lib/sprockets/exporting.rb +73 -0
  49. data/lib/sprockets/file_reader.rb +1 -0
  50. data/lib/sprockets/http_utils.rb +25 -7
  51. data/lib/sprockets/jsminc_compressor.rb +32 -0
  52. data/lib/sprockets/jst_processor.rb +11 -10
  53. data/lib/sprockets/loader.rb +91 -69
  54. data/lib/sprockets/manifest.rb +67 -64
  55. data/lib/sprockets/manifest_utils.rb +9 -6
  56. data/lib/sprockets/mime.rb +8 -62
  57. data/lib/sprockets/npm.rb +52 -0
  58. data/lib/sprockets/path_dependency_utils.rb +3 -11
  59. data/lib/sprockets/path_digest_utils.rb +2 -1
  60. data/lib/sprockets/path_utils.rb +88 -8
  61. data/lib/sprockets/paths.rb +1 -0
  62. data/lib/sprockets/preprocessors/default_source_map.rb +49 -0
  63. data/lib/sprockets/processing.rb +32 -62
  64. data/lib/sprockets/processor_utils.rb +28 -38
  65. data/lib/sprockets/resolve.rb +177 -93
  66. data/lib/sprockets/sass_cache_store.rb +2 -6
  67. data/lib/sprockets/sass_compressor.rb +13 -1
  68. data/lib/sprockets/sass_functions.rb +1 -0
  69. data/lib/sprockets/sass_importer.rb +1 -0
  70. data/lib/sprockets/sass_processor.rb +31 -10
  71. data/lib/sprockets/sassc_compressor.rb +56 -0
  72. data/lib/sprockets/sassc_processor.rb +297 -0
  73. data/lib/sprockets/server.rb +63 -40
  74. data/lib/sprockets/source_map_processor.rb +66 -0
  75. data/lib/sprockets/source_map_utils.rb +483 -0
  76. data/lib/sprockets/transformers.rb +63 -35
  77. data/lib/sprockets/uglifier_compressor.rb +21 -11
  78. data/lib/sprockets/unloaded_asset.rb +13 -11
  79. data/lib/sprockets/uri_tar.rb +1 -0
  80. data/lib/sprockets/uri_utils.rb +19 -16
  81. data/lib/sprockets/utils/gzip.rb +46 -14
  82. data/lib/sprockets/utils.rb +64 -90
  83. data/lib/sprockets/version.rb +2 -1
  84. data/lib/sprockets/yui_compressor.rb +1 -0
  85. data/lib/sprockets.rb +102 -39
  86. metadata +148 -45
  87. data/lib/sprockets/coffee_script_template.rb +0 -17
  88. data/lib/sprockets/deprecation.rb +0 -90
  89. data/lib/sprockets/eco_template.rb +0 -17
  90. data/lib/sprockets/ejs_template.rb +0 -17
  91. data/lib/sprockets/engines.rb +0 -92
  92. data/lib/sprockets/erb_template.rb +0 -11
  93. data/lib/sprockets/legacy.rb +0 -330
  94. data/lib/sprockets/legacy_proc_processor.rb +0 -35
  95. data/lib/sprockets/legacy_tilt_processor.rb +0 -29
  96. data/lib/sprockets/sass_template.rb +0 -19
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d8d2739c5e14edf6aa95989aef8057d65eeb1525b4fccda72ba6099a8fe94bd3
4
- data.tar.gz: 42fea69a2cf60adff7848fea3c8cd7fff222703611feda467aa8c5236aed9d84
3
+ metadata.gz: 6be8e97ff1bd7395fc078716cac0b775bacd30e1aad43153113df1b05b292164
4
+ data.tar.gz: e63069b6630898f92fe1853e51e7259714e126a44bd7b52442b9308533bee1d6
5
5
  SHA512:
6
- metadata.gz: 753ee6f089d3e281ba3eb81fe4fbd133d50065337f84c02891895de4544d2204bc884c1599781d632f290b1d407d684f473e101e5ba535f12afebc82a979cdd8
7
- data.tar.gz: 9c57173eb38957dc992617903bd15b922caf20468c5952c158ffa00472c52ce6e0029011495f8b2fcd9a9148cd7b4ce3525b1749b3c9b1a982038ca9afe0e737
6
+ metadata.gz: 37b62ffb61ca730485fcdf0526085a3eaabf21ebcc61f27f98510d4c013e7f64a0d5910879677a4d364bec5506b3d58a044ec4708e076a8791b3bf462699fdcd
7
+ data.tar.gz: 8d1178cbe5d033538d85a8ee9fb106bacc3ee7194d40332d42212f86298b458c3c45945a3be52320795f4fc1c3295d8ba27a4a05b2acefae24a191ee04a38c0f
data/CHANGELOG.md CHANGED
@@ -1,300 +1,118 @@
1
- **3.7.3** (March 28, 2024)
1
+ **Master**
2
2
 
3
- * Various compatibility fixes for newer Ruby versions.
3
+ Get upgrade notes from Sprockets 3.x to 4.x at https://github.com/rails/sprockets/blob/master/UPGRADING.md
4
4
 
5
- **3.7.2** (June 19, 2018)
5
+ ## 4.2.2
6
6
 
7
- * Security release for [CVE-2018-3760](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-3760).
7
+ - Added missing dependency on `logger`. [#813](https://github.com/rails/sprockets/pull/813)
8
+ - Fix `URI::RFC3986_PARSER` warnings. [#812](https://github.com/rails/sprockets/pull/812)
9
+ - Removed dependency on `base64`. [#810](https://github.com/rails/sprockets/pull/810)
8
10
 
9
- **3.7.1** (December 19, 2016)
11
+ ## 4.2.1
10
12
 
11
- * Ruby 2.4 support for Sprockets 3.
13
+ - Fix for precompile issues when multiple extensions map to the same MIME type (eg. `.jpeg` / `.jpg`). [#781](https://github.com/rails/sprockets/pull/781)
14
+ - Fix `application/css-sourcemap+json` charset [#764](https://github.com/rails/sprockets/pull/764)
15
+ - Fix compatibility with Rack 2 applications. [#790](https://github.com/rails/sprockets/pull/790)
12
16
 
13
- **3.7.0** (July 21, 2016)
17
+ ## 4.2.0
14
18
 
15
- * Deprecated interfaces now emit deprecation warnings #345
19
+ - Rack 3 compatibility. [#758](https://github.com/rails/sprockets/pull/758)
20
+ - Fix thread safety of `Sprockets::CachedEnvironment` and `Sprockets::Cache::MemoryStore`. [#771](https://github.com/rails/sprockets/pull/771)
21
+ - Add support for Rack 3.0. Headers set by sprockets will now be lower case. [#758](https://github.com/rails/sprockets/pull/758)
22
+ - Make `Sprockets::Utils.module_include` thread safe on JRuby. [#759](https://github.com/rails/sprockets/pull/759)
23
+ - Fix typo in `asset.rb` file. [#768](https://github.com/rails/sprockets/pull/768)
16
24
 
17
- **3.6.3** (July 1, 2016)
25
+ ## 4.1.1
18
26
 
19
- * Faster asset lookup in large directories #336
20
- * Faster PathUtils.match_path_extname https://github.com/rails/sprockets/commit/697269cf81e5261fdd7072e32bd489403027fd7e
21
- * Fixed uglifier comment stripping #326
22
- * Error messages now show load path info #313
27
+ - Fix `Sprockets::Server` to return response headers to be compatible with Rack::Lint 2.0.
23
28
 
24
- **3.6.2** (June 21, 2016)
29
+ ## 4.1.0
25
30
 
26
- * More performance improvements.
31
+ - Allow age to be altered in asset:clean rake task.
32
+ - Fix `Sprockets::Server` to return lower-cased response headers to comply with Rack::Lint 3.0. [#744](https://github.com/rails/sprockets/pull/744)
33
+ - Adding new directive `depend_on_directory` [#668](https://github.com/rails/sprockets/pull/668)
34
+ - Fix `application/js-sourcemap+json` charset [#669](https://github.com/rails/sprockets/pull/669)
35
+ - Fix `CachedEnvironment` caching nil values [#723](https://github.com/rails/sprockets/pull/723)
36
+ - Process `*.jst.ejs.erb` files with ERBProcessor [#674](https://github.com/rails/sprockets/pull/674)
37
+ - Fix cache key for coffee script processor to be dependent on the filename [#670](https://github.com/rails/sprockets/pull/670)
27
38
 
28
- **3.6.1** (June 17, 2016)
39
+ ## 4.0.3
29
40
 
30
- * Some performance improvements.
41
+ - Fix `Manifest#find` yielding from a Promise causing issue on Ruby 3.1.0-dev. [#720](https://github.com/rails/sprockets/pull/720)
42
+ - Better detect the ERB version to avoid deprecation warnings. [#719](https://github.com/rails/sprockets/pull/719)
43
+ - Allow assets already fingerprinted to be served through `Sprockets::Server`
44
+ - Do not fingerprint files that already contain a valid digest in their name
45
+ - Remove remaining support for Ruby < 2.4.[#672](https://github.com/rails/sprockets/pull/672)
31
46
 
32
- **3.6.0** (April 6, 2016)
47
+ ## 4.0.2
33
48
 
34
- * Add `Manifest#find_sources` to return the source of the compiled assets.
35
- * Fix the list of compressable mime types.
36
- * Improve performance of the `FileStore` cache.
49
+ - Fix `etag` and digest path compilation that were generating string with invalid digest since 4.0.1.
37
50
 
38
- **3.5.2** (December 8, 2015)
51
+ ## 4.0.1
39
52
 
40
- * Fix JRuby bug with concurrent-ruby.
41
- * Fix disabling gzip generation in cached environments.
53
+ - Fix for Ruby 2.7 keyword arguments warning in `base.rb`. [#660](https://github.com/rails/sprockets/pull/660)
54
+ - Fix for when `x_sprockets_linecount` is missing from a source map.
55
+ - Fix subresource integrity to match the digest of the asset.
42
56
 
43
- **3.5.1** (December 5, 2015)
57
+ ## 4.0.0
44
58
 
45
- * Fix gzip asset generation for assets already on disk.
59
+ - Fixes for Ruby 2.7 keyword arguments warnings [#625](https://github.com/rails/sprockets/pull/625)
60
+ - Manifest files are sorted alphabetically [#626](https://github.com/rails/sprockets/pull/626)
46
61
 
47
- **3.5.0** (December 3, 2015)
62
+ ## 4.0.0.beta10
48
63
 
49
- * Reintroduce Gzip file generation for non-binary assets.
64
+ - Fix YACB (Yet Another Caching Bug) [Fix broken expansion of asset link paths](https://github.com/rails/sprockets/pull/614)
50
65
 
51
- **3.4.1** (November 25, 2015)
66
+ ## 4.0.0.beta9
52
67
 
53
- * PathUtils::Entries will no longer error on an empty directory.
68
+ - Minimum Ruby version for Sprockets 4 is now 2.5+ which matches minimum ruby version of Rails [#604]
69
+ - Fix threading bug introduced in Sprockets 4 [#603]
70
+ - Warn when two potential manifest files exist. [#560]
54
71
 
55
- **3.4.0** (October 5, 2015)
72
+ ## 4.0.0.beta8
56
73
 
57
- * Expose method to override the sass cache in the SassProcessor.
74
+ - Security release for [CVE-2018-3760](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-3760)
58
75
 
59
- **3.3.5** (September 25, 2015)
76
+ ## 4.0.0.beta7
60
77
 
61
- * Fix bug related to absolute path being reintroduced into history cache #141.
78
+ - Fix a year long bug that caused `Sprockets::FileNotFound` errors when the asset was present [#547]
79
+ - Raise an error when two assets such as foo.js and foo.js.erb would produce the same output artifact (foo.js) [#549 #530]
80
+ - Process `*.jst.eco.erb` files with ERBProcessor
62
81
 
63
- **3.3.4** (September 1, 2015)
82
+ ## 4.0.0.beta6
64
83
 
65
- * Relative cache contents now work with windows.
84
+ - Fix source map line offsets [#515]
85
+ - Return a `400 Bad Request` when the path encoding is invalid. [#514]
66
86
 
67
- **3.3.3** (August 21, 2015)
87
+ ## 4.0.0.beta5
68
88
 
69
- * Remove more absolute paths from cache contents.
89
+ - Reduce string allocations
90
+ - Source map metadata uses compressed form specified by the [source map v3 spec](https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k). [#402] **[BREAKING]**
91
+ - Generate [index maps](https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k/edit#heading=h.535es3xeprgt) when decoding source maps isn't necessary. [#402]
92
+ - Remove fingerprints from source map files. [#402]
70
93
 
71
- **3.3.2** (August 19, 2015)
94
+ ## 4.0.0.beta4
72
95
 
73
- * Fix cache contents to use relative paths instead of absolute paths.
96
+ - Changing the version now busts the digest of all assets [#404]
97
+ - Exporter interface added [#386]
98
+ - Using ENV vars in templates will recompile templates when the env vars change. [#365]
99
+ - Source maps for imported sass files with sassc is now fixed [#391]
100
+ - Load paths now in error messages [#322]
101
+ - Cache key added to babel processor [#387]
102
+ - `Environment#find_asset!` can now be used to raise an exception when asset could not be found [#379]
74
103
 
75
- **3.3.1** (August 15, 2015)
104
+ ## 4.0.0.beta3
76
105
 
77
- * Fix legacy Tilt integration when locals is required argument.
106
+ - Source Map fixes [#255] [#367]
107
+ - Performance improvements
78
108
 
79
- **3.3.0** (August 12, 2015)
109
+ ## 4.0.0.beta2
80
110
 
81
- * Change internal cache key to use relative asset paths instead of absolute paths.
111
+ - Fix load_paths on Sass processors [#223]
82
112
 
83
- **3.2.0** (June 2, 2015)
84
113
 
85
- * Updated SRI integrity to align with spec changes
86
- * Deprecated Manifest integrity attribute
87
- * Cleanup concatenating JS sources with newlines
114
+ ## 4.0.0.beta1
88
115
 
89
- **3.1.0** (May 10, 2015)
116
+ - Initial release of Sprockets 4
90
117
 
91
- * Removed "index" logical path normalization. Asset#logical_path is always the
92
- full logical path to the index file.
93
- * Fixed static asset mtimes
94
- * Fix manifest cleanup by age
95
- * Removed redundant minifier level cache
96
- * Updated SRI format according to spec changes
97
-
98
- **3.0.3** (April 27, 2015)
99
-
100
- * Fix static asset mtime fallback
101
- * Only warn when specified asset version can not be loaded.
102
-
103
- **3.0.2** (April 22, 2015)
104
-
105
- * Ensure legacy Tilt handlers return String class data. Fixes issues with Haml
106
- Tilt handler.
107
- * Type check and improve error messages raised on bad processor returned results.
108
- * Improve error message for relative paths not under load path.
109
- * Changed HTML encoding fallback from ISO-8859-1 to default external.
110
- * Avoid falling back to 0 mtimes which may cause warnings with tar
111
-
112
- **3.0.1** (April 14, 2015)
113
-
114
- * Fixed `Context#depend_on` with paths outside the load path
115
-
116
- **3.0.0** (April 12, 2015)
117
-
118
- [Guide to upgrading from Sprockets 2.x to 3.x](https://github.com/rails/sprockets/blob/3.x/UPGRADING.md)
119
-
120
- * New processor API. Tilt interface is deprecated.
121
- * Improved file store caching backend.
122
- * MIME Types now accept charset custom charset detecters. Improves support for UTF-16/32 files.
123
- * Environment#version no longer affects asset digests. Only used for busting the asset cache.
124
- * Removed builtin support for LESS.
125
- * Removed `//= include` directive support.
126
- * Deprecated `BundledAsset#to_a`. Use `BundledAsset#included` to access debugging subcomponents.
127
- * Support circular dependencies. For parity with ES6 modules.
128
- * Manifest compilation will no longer generate .gz files by default. [Mixing
129
- Content-Encoding and ETags is just a bad
130
- idea](https://issues.apache.org/bugzilla/show_bug.cgi?id=39727)
131
- * Added linked or referenced assets. When an asset is compiled, any of its links will be compiled as well.
132
- * Introduce some limitations around enumerating all logical paths. 4.x will deprecate it and favor linked manifests for compliation.
133
- * Add Asset integrity attribute for Subresource Integrity
134
- * Default digest changed to SHA256. Configuring `digest_class` is deprecated.
135
- * Rename `Asset#digest` to `Asset#hexdigest`. `Asset#digest` is deprecated and will
136
- return a raw byte String in 4.x.
137
- * Added transitional compatibility flag to `Environment#resolve(path, compat: true)`. 2.x mode operates with `compat: true` and 4.x with `compat: false`
138
- * `manifest-abc123.json` renamed to `.sprockets-abc123.json`
139
-
140
- **2.12.3** (October 28, 2014)
141
-
142
- * Security: Fix directory traversal bug in development mode server.
143
-
144
- **2.12.2** (September 5, 2014)
145
-
146
- * Ensure internal asset lookups calls are still restricted to load paths within
147
- asset compiles. Though, you should not depend on internal asset resolves to be
148
- completely restricted for security reasons. Assets themselves should be
149
- considered full scripting environments with filesystem access.
150
-
151
- **2.12.1** (April 17, 2014)
152
-
153
- * Fix making manifest target directory when its different than the output directory.
154
-
155
- **2.12.0** (March 13, 2014)
156
-
157
- * Avoid context reference in SassImporter hack so its Marshallable. Fixes
158
- issues with Sass 3.3.x.
159
-
160
- **2.11.0** (February 19, 2014)
161
-
162
- * Cache store must now be an LRU implementation.
163
- * Default digest changed to SHA1. To continue using MD5.
164
- `env.digest_class = Digest::MD5`.
165
-
166
- **2.10.0** (May 24, 2013)
167
-
168
- * Support for `bower.json`
169
-
170
- **2.9.3** (April 20, 2013)
171
-
172
- * Fixed sass caching bug
173
-
174
- **2.9.2** (April 8, 2013)
175
-
176
- * Improve file freshness check performance
177
- * Directive processor encoding fixes
178
-
179
- **2.9.1** (April 6, 2013)
180
-
181
- * Support for Uglifier 2.x
182
-
183
- **2.9.0** (February 25, 2013)
184
-
185
- * Write out gzipped variants of bundled assets.
186
-
187
- **2.8.2** (December 10, 2012)
188
-
189
- * Fixed top level Sass constant references
190
- * Fixed manifest logger when environment is disabled
191
-
192
- **2.8.1** (October 31, 2012)
193
-
194
- * Fixed Sass importer bug
195
-
196
- **2.8.0** (October 16, 2012)
197
-
198
- * Allow manifest location to be separated from output directory
199
- * Pass logical path and absolute path to each_logical_path iterator
200
-
201
- **2.7.0** (October 10, 2012)
202
-
203
- * Added --css-compressor and --js-compressor command line flags
204
- * Added css/js compressor shorthand
205
- * Change default manifest.json filename to be a randomized manifest-16HEXBYTES.json
206
- * Allow nil environment to be passed to manifest
207
- * Allow manifest instance to be set on rake task
208
-
209
- **2.6.0** (September 19, 2012)
210
-
211
- * Added bower component.json require support
212
-
213
- **2.5.0** (September 4, 2012)
214
-
215
- * Fixed Ruby 2.0 RegExp warning
216
- * Provide stubbed implementation of context *_path helpers
217
- * Add SassCompressor
218
-
219
- **2.4.5** (July 10, 2012)
220
-
221
- * Tweaked some logger levels
222
-
223
- **2.4.4** (July 2, 2012)
224
-
225
- * Canonicalize logical path extensions
226
- * Check absolute paths passed to depend_on
227
-
228
- **2.4.3** (May 16, 2012)
229
-
230
- * Exposed :sprockets in sass options
231
- * Include dependency paths in asset mtime
232
-
233
- **2.4.2** (May 7, 2012)
234
-
235
- * Fixed MultiJson feature detect
236
-
237
- **2.4.1** (April 26, 2012)
238
-
239
- * Fixed MultiJson API change
240
- * Fixed gzip mtime
241
-
242
- **2.4.0** (March 27, 2012)
243
-
244
- * Added global path registry
245
- * Added global processor registry
246
-
247
- **2.3.2** (March 26, 2012)
248
-
249
- * Fix Context#logical_path with dots
250
-
251
- **2.3.1** (February 11, 2012)
252
-
253
- * Added bytesize to manifest
254
- * Added Asset#bytesize alias
255
- * Security: Check path for forbidden access after unescaping
256
-
257
- **2.3.0** (January 16, 2012)
258
-
259
- * Added special Sass importer that automatically tracks any `@import`ed files.
260
-
261
- **2.2.0** (January 10, 2012)
262
-
263
- * Added `sprockets` command line utility.
264
- * Added rake/sprocketstask.
265
- * Added json manifest log of compiled assets.
266
- * Added `stub` directive that allows you to exclude files from the bundle.
267
- * Added per environment external encoding (Environment#default_external_encoding). Defaults to UTF-8. Fixes issues where LANG is not set correctly and Rubys default external is set to ASCII.
268
-
269
- **2.1.2** (November 20, 2011)
270
-
271
- * Disabled If-Modified-Since server checks. Fixes some browser caching issues when serving the asset body only. If-None-Match caching is sufficient.
272
-
273
- **2.1.1** (November 18, 2011)
274
-
275
- * Fix windows absolute path check bug.
276
-
277
- **2.1.0** (November 11, 2011)
278
-
279
- * Directive comment lines are now turned into empty lines instead of removed. This way line numbers in
280
- CoffeeScript syntax errors are correct.
281
- * Performance and caching bug fixes.
282
-
283
- **2.0.3** (October 17, 2011)
284
-
285
- * Detect format extensions from right to left.
286
- * Make JST namespace configurable.
287
-
288
- **2.0.2** (October 4, 2011)
289
-
290
- * Fixed loading stale cache from bundler gems.
291
-
292
- **2.0.1** (September 30, 2011)
293
-
294
- * Fixed bug with fingerprinting file names with multiple dots.
295
- * Decode URIs as default internal.
296
- * Fix symlinked asset directories.
297
-
298
- **2.0.0** (August 29, 2011)
299
-
300
- * Initial public release.
118
+ Please upgrade to the latest Sprockets 3 version before upgrading to Sprockets 4. Check the 3.x branch for previous changes https://github.com/rails/sprockets/blob/3.x/CHANGELOG.md.
@@ -1,5 +1,5 @@
1
- Copyright (c) 2014 Sam Stephenson
2
- Copyright (c) 2014 Joshua Peek
1
+ Copyright (c) 2014-2019 Sam Stephenson
2
+ Copyright (c) 2014-2019 Joshua Peek
3
3
 
4
4
  Permission is hereby granted, free of charge, to any person obtaining
5
5
  a copy of this software and associated documentation files (the