sprockets 3.7.5 → 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 -267
  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 +14 -13
  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 -322
  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: 8824196f3f212af5ad78b5109661583431f1c7e2c8616061992ad10b1f4ffbf7
4
- data.tar.gz: 29db43e310d5fb10852c1ab7e2d3408e04f6a829edc82da388ac8618af4789f8
3
+ metadata.gz: 6be8e97ff1bd7395fc078716cac0b775bacd30e1aad43153113df1b05b292164
4
+ data.tar.gz: e63069b6630898f92fe1853e51e7259714e126a44bd7b52442b9308533bee1d6
5
5
  SHA512:
6
- metadata.gz: 41b8112ac0d3d420e98b85749326089157c3090f93dcadd411d6304b035f5004fa622ef66ea222b40bbd3cde2400410b60efbd259fa70b2f90f23ee9062c4841
7
- data.tar.gz: 267728252c1d71c2b8f513950a52d793eea54c93636cae0e6de2007e7fd25d5552a70fe5650ade766bad72d141f2b283c2d544afdd986fe61dcd274d61054102
6
+ metadata.gz: 37b62ffb61ca730485fcdf0526085a3eaabf21ebcc61f27f98510d4c013e7f64a0d5910879677a4d364bec5506b3d58a044ec4708e076a8791b3bf462699fdcd
7
+ data.tar.gz: 8d1178cbe5d033538d85a8ee9fb106bacc3ee7194d40332d42212f86298b458c3c45945a3be52320795f4fc1c3295d8ba27a4a05b2acefae24a191ee04a38c0f
data/CHANGELOG.md CHANGED
@@ -1,308 +1,118 @@
1
- **3.7.5** (Spet 19, 2024)
1
+ **Master**
2
2
 
3
- * Fix `Sprockets::Base#unescape` #808.
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.4** (March 28, 2024)
5
+ ## 4.2.2
6
6
 
7
- * Fix deprecated calls to the `uri` gem.
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.3** (March 28, 2024)
11
+ ## 4.2.1
10
12
 
11
- * Various compatibility fixes for newer Ruby versions.
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.2** (June 19, 2018)
17
+ ## 4.2.0
14
18
 
15
- * Security release for [CVE-2018-3760](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-3760).
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.7.1** (December 19, 2016)
25
+ ## 4.1.1
18
26
 
19
- * Ruby 2.4 support for Sprockets 3.
27
+ - Fix `Sprockets::Server` to return response headers to be compatible with Rack::Lint 2.0.
20
28
 
21
- **3.7.0** (July 21, 2016)
29
+ ## 4.1.0
22
30
 
23
- * Deprecated interfaces now emit deprecation warnings #345
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)
24
38
 
25
- **3.6.3** (July 1, 2016)
39
+ ## 4.0.3
26
40
 
27
- * Faster asset lookup in large directories #336
28
- * Faster PathUtils.match_path_extname https://github.com/rails/sprockets/commit/697269cf81e5261fdd7072e32bd489403027fd7e
29
- * Fixed uglifier comment stripping #326
30
- * Error messages now show load path info #313
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.2** (June 21, 2016)
47
+ ## 4.0.2
33
48
 
34
- * More performance improvements.
49
+ - Fix `etag` and digest path compilation that were generating string with invalid digest since 4.0.1.
35
50
 
36
- **3.6.1** (June 17, 2016)
51
+ ## 4.0.1
37
52
 
38
- * Some performance improvements.
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.
39
56
 
40
- **3.6.0** (April 6, 2016)
57
+ ## 4.0.0
41
58
 
42
- * Add `Manifest#find_sources` to return the source of the compiled assets.
43
- * Fix the list of compressable mime types.
44
- * Improve performance of the `FileStore` cache.
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)
45
61
 
46
- **3.5.2** (December 8, 2015)
62
+ ## 4.0.0.beta10
47
63
 
48
- * Fix JRuby bug with concurrent-ruby.
49
- * Fix disabling gzip generation in cached environments.
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.5.1** (December 5, 2015)
66
+ ## 4.0.0.beta9
52
67
 
53
- * Fix gzip asset generation for assets already on disk.
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.5.0** (December 3, 2015)
72
+ ## 4.0.0.beta8
56
73
 
57
- * Reintroduce Gzip file generation for non-binary assets.
74
+ - Security release for [CVE-2018-3760](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-3760)
58
75
 
59
- **3.4.1** (November 25, 2015)
76
+ ## 4.0.0.beta7
60
77
 
61
- * PathUtils::Entries will no longer error on an empty directory.
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.4.0** (October 5, 2015)
82
+ ## 4.0.0.beta6
64
83
 
65
- * Expose method to override the sass cache in the SassProcessor.
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.5** (September 25, 2015)
87
+ ## 4.0.0.beta5
68
88
 
69
- * Fix bug related to absolute path being reintroduced into history cache #141.
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.4** (September 1, 2015)
94
+ ## 4.0.0.beta4
72
95
 
73
- * Relative cache contents now work with windows.
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.3** (August 21, 2015)
104
+ ## 4.0.0.beta3
76
105
 
77
- * Remove more absolute paths from cache contents.
106
+ - Source Map fixes [#255] [#367]
107
+ - Performance improvements
78
108
 
79
- **3.3.2** (August 19, 2015)
109
+ ## 4.0.0.beta2
80
110
 
81
- * Fix cache contents to use relative paths instead of absolute paths.
111
+ - Fix load_paths on Sass processors [#223]
82
112
 
83
- **3.3.1** (August 15, 2015)
84
113
 
85
- * Fix legacy Tilt integration when locals is required argument.
114
+ ## 4.0.0.beta1
86
115
 
87
- **3.3.0** (August 12, 2015)
116
+ - Initial release of Sprockets 4
88
117
 
89
- * Change internal cache key to use relative asset paths instead of absolute paths.
90
-
91
- **3.2.0** (June 2, 2015)
92
-
93
- * Updated SRI integrity to align with spec changes
94
- * Deprecated Manifest integrity attribute
95
- * Cleanup concatenating JS sources with newlines
96
-
97
- **3.1.0** (May 10, 2015)
98
-
99
- * Removed "index" logical path normalization. Asset#logical_path is always the
100
- full logical path to the index file.
101
- * Fixed static asset mtimes
102
- * Fix manifest cleanup by age
103
- * Removed redundant minifier level cache
104
- * Updated SRI format according to spec changes
105
-
106
- **3.0.3** (April 27, 2015)
107
-
108
- * Fix static asset mtime fallback
109
- * Only warn when specified asset version can not be loaded.
110
-
111
- **3.0.2** (April 22, 2015)
112
-
113
- * Ensure legacy Tilt handlers return String class data. Fixes issues with Haml
114
- Tilt handler.
115
- * Type check and improve error messages raised on bad processor returned results.
116
- * Improve error message for relative paths not under load path.
117
- * Changed HTML encoding fallback from ISO-8859-1 to default external.
118
- * Avoid falling back to 0 mtimes which may cause warnings with tar
119
-
120
- **3.0.1** (April 14, 2015)
121
-
122
- * Fixed `Context#depend_on` with paths outside the load path
123
-
124
- **3.0.0** (April 12, 2015)
125
-
126
- [Guide to upgrading from Sprockets 2.x to 3.x](https://github.com/rails/sprockets/blob/3.x/UPGRADING.md)
127
-
128
- * New processor API. Tilt interface is deprecated.
129
- * Improved file store caching backend.
130
- * MIME Types now accept charset custom charset detecters. Improves support for UTF-16/32 files.
131
- * Environment#version no longer affects asset digests. Only used for busting the asset cache.
132
- * Removed builtin support for LESS.
133
- * Removed `//= include` directive support.
134
- * Deprecated `BundledAsset#to_a`. Use `BundledAsset#included` to access debugging subcomponents.
135
- * Support circular dependencies. For parity with ES6 modules.
136
- * Manifest compilation will no longer generate .gz files by default. [Mixing
137
- Content-Encoding and ETags is just a bad
138
- idea](https://issues.apache.org/bugzilla/show_bug.cgi?id=39727)
139
- * Added linked or referenced assets. When an asset is compiled, any of its links will be compiled as well.
140
- * Introduce some limitations around enumerating all logical paths. 4.x will deprecate it and favor linked manifests for compliation.
141
- * Add Asset integrity attribute for Subresource Integrity
142
- * Default digest changed to SHA256. Configuring `digest_class` is deprecated.
143
- * Rename `Asset#digest` to `Asset#hexdigest`. `Asset#digest` is deprecated and will
144
- return a raw byte String in 4.x.
145
- * Added transitional compatibility flag to `Environment#resolve(path, compat: true)`. 2.x mode operates with `compat: true` and 4.x with `compat: false`
146
- * `manifest-abc123.json` renamed to `.sprockets-abc123.json`
147
-
148
- **2.12.3** (October 28, 2014)
149
-
150
- * Security: Fix directory traversal bug in development mode server.
151
-
152
- **2.12.2** (September 5, 2014)
153
-
154
- * Ensure internal asset lookups calls are still restricted to load paths within
155
- asset compiles. Though, you should not depend on internal asset resolves to be
156
- completely restricted for security reasons. Assets themselves should be
157
- considered full scripting environments with filesystem access.
158
-
159
- **2.12.1** (April 17, 2014)
160
-
161
- * Fix making manifest target directory when its different than the output directory.
162
-
163
- **2.12.0** (March 13, 2014)
164
-
165
- * Avoid context reference in SassImporter hack so its Marshallable. Fixes
166
- issues with Sass 3.3.x.
167
-
168
- **2.11.0** (February 19, 2014)
169
-
170
- * Cache store must now be an LRU implementation.
171
- * Default digest changed to SHA1. To continue using MD5.
172
- `env.digest_class = Digest::MD5`.
173
-
174
- **2.10.0** (May 24, 2013)
175
-
176
- * Support for `bower.json`
177
-
178
- **2.9.3** (April 20, 2013)
179
-
180
- * Fixed sass caching bug
181
-
182
- **2.9.2** (April 8, 2013)
183
-
184
- * Improve file freshness check performance
185
- * Directive processor encoding fixes
186
-
187
- **2.9.1** (April 6, 2013)
188
-
189
- * Support for Uglifier 2.x
190
-
191
- **2.9.0** (February 25, 2013)
192
-
193
- * Write out gzipped variants of bundled assets.
194
-
195
- **2.8.2** (December 10, 2012)
196
-
197
- * Fixed top level Sass constant references
198
- * Fixed manifest logger when environment is disabled
199
-
200
- **2.8.1** (October 31, 2012)
201
-
202
- * Fixed Sass importer bug
203
-
204
- **2.8.0** (October 16, 2012)
205
-
206
- * Allow manifest location to be separated from output directory
207
- * Pass logical path and absolute path to each_logical_path iterator
208
-
209
- **2.7.0** (October 10, 2012)
210
-
211
- * Added --css-compressor and --js-compressor command line flags
212
- * Added css/js compressor shorthand
213
- * Change default manifest.json filename to be a randomized manifest-16HEXBYTES.json
214
- * Allow nil environment to be passed to manifest
215
- * Allow manifest instance to be set on rake task
216
-
217
- **2.6.0** (September 19, 2012)
218
-
219
- * Added bower component.json require support
220
-
221
- **2.5.0** (September 4, 2012)
222
-
223
- * Fixed Ruby 2.0 RegExp warning
224
- * Provide stubbed implementation of context *_path helpers
225
- * Add SassCompressor
226
-
227
- **2.4.5** (July 10, 2012)
228
-
229
- * Tweaked some logger levels
230
-
231
- **2.4.4** (July 2, 2012)
232
-
233
- * Canonicalize logical path extensions
234
- * Check absolute paths passed to depend_on
235
-
236
- **2.4.3** (May 16, 2012)
237
-
238
- * Exposed :sprockets in sass options
239
- * Include dependency paths in asset mtime
240
-
241
- **2.4.2** (May 7, 2012)
242
-
243
- * Fixed MultiJson feature detect
244
-
245
- **2.4.1** (April 26, 2012)
246
-
247
- * Fixed MultiJson API change
248
- * Fixed gzip mtime
249
-
250
- **2.4.0** (March 27, 2012)
251
-
252
- * Added global path registry
253
- * Added global processor registry
254
-
255
- **2.3.2** (March 26, 2012)
256
-
257
- * Fix Context#logical_path with dots
258
-
259
- **2.3.1** (February 11, 2012)
260
-
261
- * Added bytesize to manifest
262
- * Added Asset#bytesize alias
263
- * Security: Check path for forbidden access after unescaping
264
-
265
- **2.3.0** (January 16, 2012)
266
-
267
- * Added special Sass importer that automatically tracks any `@import`ed files.
268
-
269
- **2.2.0** (January 10, 2012)
270
-
271
- * Added `sprockets` command line utility.
272
- * Added rake/sprocketstask.
273
- * Added json manifest log of compiled assets.
274
- * Added `stub` directive that allows you to exclude files from the bundle.
275
- * 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.
276
-
277
- **2.1.2** (November 20, 2011)
278
-
279
- * Disabled If-Modified-Since server checks. Fixes some browser caching issues when serving the asset body only. If-None-Match caching is sufficient.
280
-
281
- **2.1.1** (November 18, 2011)
282
-
283
- * Fix windows absolute path check bug.
284
-
285
- **2.1.0** (November 11, 2011)
286
-
287
- * Directive comment lines are now turned into empty lines instead of removed. This way line numbers in
288
- CoffeeScript syntax errors are correct.
289
- * Performance and caching bug fixes.
290
-
291
- **2.0.3** (October 17, 2011)
292
-
293
- * Detect format extensions from right to left.
294
- * Make JST namespace configurable.
295
-
296
- **2.0.2** (October 4, 2011)
297
-
298
- * Fixed loading stale cache from bundler gems.
299
-
300
- **2.0.1** (September 30, 2011)
301
-
302
- * Fixed bug with fingerprinting file names with multiple dots.
303
- * Decode URIs as default internal.
304
- * Fix symlinked asset directories.
305
-
306
- **2.0.0** (August 29, 2011)
307
-
308
- * 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