shakapacker 6.3.0.pre.rc.1 → 6.4.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 862dd1243830eb271661d0a7be8ad35b4837ab8aaabfa2a39cc9a65e5c6d01f3
4
- data.tar.gz: a9b58deb1b8038aecbac2df1ca3516d59c03dfd2cc5a6a71e06edf480ba3443c
3
+ metadata.gz: c2ce3fcf970a230e5d52a78be7e8acd7b7bd11338a33a24f1d1ad55b6636ff3c
4
+ data.tar.gz: 239818a24f0db0e7239a2d114f387b0e3990127350b3e900ee8c2e358fa800dc
5
5
  SHA512:
6
- metadata.gz: c03da71f446adc4f470acdca8de67487ff7934650abca9278a4e26c854329432d6a94b02368f5825cca0214f1fb878399711114b67c5f8e1dbb9d27620cf22b9
7
- data.tar.gz: 900fdb88440208f4860c7255b5ca71ba316d6ba69223f720a67b4564663f633eb11e31403b41247c94e5755488804dd9f6745b9ddbfb6c82c5f928ec360abdd5
6
+ metadata.gz: b587960642b7351b54a429dcff2230d0fc08aba1cd8c48d9460c19c981d29262d6e1010d07ebaddaf96f7b1f0154de7b9b99c5263b75f7207c1ee9c647b9941c
7
+ data.tar.gz: 2574d2356fc023d4a7747c3e4f594042c85553d7c8b429fda2a6fe76e0a87e67fdb8bb478ed5c4267541dfb38b599c0af6c760b417df44b7f4ae6a6337ec7c66
data/CHANGELOG.md CHANGED
@@ -6,9 +6,39 @@
6
6
  ## [Unreleased]
7
7
  Changes since last non-beta release.
8
8
 
9
- *Please add entries here for your pull requests that are not yet released.*
9
+ _Please add entries here for your pull requests that are not yet released._
10
10
 
11
- ## [v6.3.0-rc.1] - April 24, 2024
11
+ ## [v6.4.1] - June 5, 2022
12
+ ### Fixed
13
+ - Restores automatic installation of yarn packages removed in [#131](https://github.com/shakacode/shakapacker/pull/131), with added deprecation notice. [PR 140](https://github.com/shakacode/shakapacker/pull/140) by [tomdracz](https://github.com/tomdracz).
14
+
15
+ This will be again removed in Shakapacker v7 so you need to ensure you are installing yarn packages explicitly before the asset compilation, rather than relying on this behaviour through `asset:precompile` task (e.g. Capistrano deployment).
16
+
17
+ - Disable Spring being used by `rails-erb-loader`. [PR 141](https://github.com/shakacode/shakapacker/pull/141) by [tomdracz](https://github.com/tomdracz).
18
+
19
+ ## [v6.4.0] - June 2, 2022
20
+ ### Fixed
21
+ - Fixed [Issue 123: Rails 7.0.3 - Webpacker configuration file not found when running rails webpacker:install (shakapacker v6.3)](https://github.com/shakacode/shakapacker/issues/123) in [PR 136: Don't enhance precompile if no config #136](https://github.com/shakacode/shakapacker/pull/136) by [justin808](https://github.com/justin808).
22
+
23
+ ### Added
24
+ - Configuration boolean option `nested_entries` to use nested entries. This was the default prior to v6.0. Because entries maybe generated, it's useful to allow a `generated` subdirectory. [PR 121](https://github.com/shakacode/shakapacker/pull/121) by [justin808](https://github.com/justin808).
25
+
26
+ ### Improved
27
+ - Allow v10 of `compression-webpack-plugin` as a peer dependency. [PR 117](https://github.com/shakacode/shakapacker/pull/117) by [aried3r](https://github.com/aried3r).
28
+
29
+ - [Remove assets:precompile task enhancement #131](https://github.com/shakacode/shakapacker/pull/131) by [James Herdman](https://github.com/jherdman): Removed the `yarn:install` Rake task, and no longer enhance `assets:precompile` with said task. These tasks were used to ensure required NPM packages were installed before asset precompilation. Going forward you will need to ensure these packages are already installed yourself. Should you wish to restore this behaviour you'll need to [reimplement the task](https://github.com/shakacode/shakapacker/blob/bee661422f2c902aa8ac9cf8fa1f7ccb8142c914/lib/tasks/yarn.rake) in your own application.
30
+
31
+ ## [v6.3.0] - May 19, 2022
32
+
33
+ ### Improved
34
+ - Add ability to configure usage of either last modified timestamp and digest strategies when checking asset freshness. [PR 112](https://github.com/shakacode/shakapacker/pull/112) by [tomdracz](https://github.com/tomdracz).
35
+
36
+ ### Fixed
37
+ - On Windows CSS urls no longer contain backslashes resulting in 404 errors. [PR 115](https://github.com/shakacode/shakapacker/pull/115) by [daniel-rikowski](https://github.com/daniel-rikowski).
38
+
39
+ ## [v6.3.0-rc.1] - April 24, 2022
40
+
41
+ Note: [Rubygem is 6.3.0.pre.rc.1](https://rubygems.org/gems/shakapacker/versions/6.3.0.pre.rc.1) and [NPM is 6.3.0-rc.1](https://www.npmjs.com/package/shakapacker/v/6.3.0-rc.1).
12
42
 
13
43
  ### Changed
14
44
  - Remove Loose mode from the default @babel-preset/env configuration. [PR 107](https://github.com/shakacode/shakapacker/pull/107) by [Jeremy Liberman](https://github.com/MrLeebo).
@@ -24,7 +54,7 @@ Changes since last non-beta release.
24
54
  ### Improved
25
55
  - Use last modified timestamps rather than file digest to determine compiler freshness. [PR 97](https://github.com/shakacode/shakapacker/pull/97) by [tomdracz](https://github.com/tomdracz).
26
56
 
27
- Rather than calculating SHA digest of all the files in the paths watched by the compiler, we are now comparing the modified time of the `manifest.json` file versues the latest modified timestamp of files and directories in watched paths. Unlike calculating digest, which only looked at the files, the new calculation also considers directory timestamps, including the parent ones (i.e. `config.source_path` folder timestamp will be checked together will timestamps of all files and directories inside of it).
57
+ Rather than calculating SHA digest of all the files in the paths watched by the compiler, we are now comparing the modified time of the `manifest.json` file versus the latest modified timestamp of files and directories in watched paths. Unlike calculating digest, which only looked at the files, the new calculation also considers directory timestamps, including the parent ones (i.e. `config.source_path` folder timestamp will be checked together will timestamps of all files and directories inside of it).
28
58
 
29
59
  This change should result in improved compiler checks performance but might be breaking for certain setups and edge cases. If you encounter any issues, please report them at https://github.com/shakacode/shakapacker/issues.
30
60
 
@@ -115,8 +145,10 @@ Changes since last non-beta release.
115
145
  ## v5.4.3 and prior changes from rails/webpacker
116
146
  See [CHANGELOG.md in rails/webpacker (up to v5.4.3)](https://github.com/rails/webpacker/blob/master/CHANGELOG.md)
117
147
 
118
- [Unreleased]: https://github.com/shakacode/shakapacker/compare/v6.3.0-rc.1...master
119
- [v6.3.0-rc.0]: https://github.com/shakacode/shakapacker/compare/v6.2.1...v6.3.0-rc.1
148
+ [Unreleased]: https://github.com/shakacode/shakapacker/compare/v6.4.1...master
149
+ [v6.4.1]: https://github.com/shakacode/shakapacker/compare/v6.4.0...v6.4.1
150
+ [v6.4.0]: https://github.com/shakacode/shakapacker/compare/v6.3.0...v6.4.0
151
+ [v6.3.0]: https://github.com/shakacode/shakapacker/compare/v6.2.1...v6.3.0
120
152
  [v6.2.1]: https://github.com/shakacode/shakapacker/compare/v6.2.0...v6.2.1
121
153
  [v6.2.0]: https://github.com/shakacode/shakapacker/compare/v6.1.1...v6.2.0
122
154
  [v6.1.1]: https://github.com/shakacode/shakapacker/compare/v6.1.0...v6.1.1
data/Gemfile CHANGED
@@ -2,10 +2,11 @@ source "https://rubygems.org"
2
2
 
3
3
  gemspec
4
4
 
5
- gem "rails"
5
+ gem "rails", ">= 6.1.6"
6
6
  gem "rake", ">= 11.1"
7
7
  gem "rack-proxy", require: false
8
8
  gem "semantic_range", require: false
9
+ gem "nokogiri", "~> 1.13", ">= 1.13.6"
9
10
 
10
11
  group :test do
11
12
  gem "minitest", "~> 5.0"
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- shakapacker (6.2.1)
4
+ shakapacker (6.4.0)
5
5
  activesupport (>= 5.2)
6
6
  rack-proxy (>= 0.6.1)
7
7
  railties (>= 5.2)
@@ -10,60 +10,60 @@ PATH
10
10
  GEM
11
11
  remote: https://rubygems.org/
12
12
  specs:
13
- actioncable (6.1.4.1)
14
- actionpack (= 6.1.4.1)
15
- activesupport (= 6.1.4.1)
13
+ actioncable (6.1.6)
14
+ actionpack (= 6.1.6)
15
+ activesupport (= 6.1.6)
16
16
  nio4r (~> 2.0)
17
17
  websocket-driver (>= 0.6.1)
18
- actionmailbox (6.1.4.1)
19
- actionpack (= 6.1.4.1)
20
- activejob (= 6.1.4.1)
21
- activerecord (= 6.1.4.1)
22
- activestorage (= 6.1.4.1)
23
- activesupport (= 6.1.4.1)
18
+ actionmailbox (6.1.6)
19
+ actionpack (= 6.1.6)
20
+ activejob (= 6.1.6)
21
+ activerecord (= 6.1.6)
22
+ activestorage (= 6.1.6)
23
+ activesupport (= 6.1.6)
24
24
  mail (>= 2.7.1)
25
- actionmailer (6.1.4.1)
26
- actionpack (= 6.1.4.1)
27
- actionview (= 6.1.4.1)
28
- activejob (= 6.1.4.1)
29
- activesupport (= 6.1.4.1)
25
+ actionmailer (6.1.6)
26
+ actionpack (= 6.1.6)
27
+ actionview (= 6.1.6)
28
+ activejob (= 6.1.6)
29
+ activesupport (= 6.1.6)
30
30
  mail (~> 2.5, >= 2.5.4)
31
31
  rails-dom-testing (~> 2.0)
32
- actionpack (6.1.4.1)
33
- actionview (= 6.1.4.1)
34
- activesupport (= 6.1.4.1)
32
+ actionpack (6.1.6)
33
+ actionview (= 6.1.6)
34
+ activesupport (= 6.1.6)
35
35
  rack (~> 2.0, >= 2.0.9)
36
36
  rack-test (>= 0.6.3)
37
37
  rails-dom-testing (~> 2.0)
38
38
  rails-html-sanitizer (~> 1.0, >= 1.2.0)
39
- actiontext (6.1.4.1)
40
- actionpack (= 6.1.4.1)
41
- activerecord (= 6.1.4.1)
42
- activestorage (= 6.1.4.1)
43
- activesupport (= 6.1.4.1)
39
+ actiontext (6.1.6)
40
+ actionpack (= 6.1.6)
41
+ activerecord (= 6.1.6)
42
+ activestorage (= 6.1.6)
43
+ activesupport (= 6.1.6)
44
44
  nokogiri (>= 1.8.5)
45
- actionview (6.1.4.1)
46
- activesupport (= 6.1.4.1)
45
+ actionview (6.1.6)
46
+ activesupport (= 6.1.6)
47
47
  builder (~> 3.1)
48
48
  erubi (~> 1.4)
49
49
  rails-dom-testing (~> 2.0)
50
50
  rails-html-sanitizer (~> 1.1, >= 1.2.0)
51
- activejob (6.1.4.1)
52
- activesupport (= 6.1.4.1)
51
+ activejob (6.1.6)
52
+ activesupport (= 6.1.6)
53
53
  globalid (>= 0.3.6)
54
- activemodel (6.1.4.1)
55
- activesupport (= 6.1.4.1)
56
- activerecord (6.1.4.1)
57
- activemodel (= 6.1.4.1)
58
- activesupport (= 6.1.4.1)
59
- activestorage (6.1.4.1)
60
- actionpack (= 6.1.4.1)
61
- activejob (= 6.1.4.1)
62
- activerecord (= 6.1.4.1)
63
- activesupport (= 6.1.4.1)
64
- marcel (~> 1.0.0)
54
+ activemodel (6.1.6)
55
+ activesupport (= 6.1.6)
56
+ activerecord (6.1.6)
57
+ activemodel (= 6.1.6)
58
+ activesupport (= 6.1.6)
59
+ activestorage (6.1.6)
60
+ actionpack (= 6.1.6)
61
+ activejob (= 6.1.6)
62
+ activerecord (= 6.1.6)
63
+ activesupport (= 6.1.6)
64
+ marcel (~> 1.0)
65
65
  mini_mime (>= 1.1.0)
66
- activesupport (6.1.4.1)
66
+ activesupport (6.1.6)
67
67
  concurrent-ruby (~> 1.0, >= 1.0.2)
68
68
  i18n (>= 1.6, < 2)
69
69
  minitest (>= 5.1)
@@ -72,107 +72,117 @@ GEM
72
72
  ast (2.4.2)
73
73
  builder (3.2.4)
74
74
  byebug (11.1.3)
75
- concurrent-ruby (1.1.9)
75
+ concurrent-ruby (1.1.10)
76
76
  crass (1.0.6)
77
77
  erubi (1.10.0)
78
- globalid (0.5.2)
78
+ globalid (1.0.0)
79
79
  activesupport (>= 5.0)
80
- i18n (1.8.10)
80
+ i18n (1.10.0)
81
81
  concurrent-ruby (~> 1.0)
82
- loofah (2.12.0)
82
+ loofah (2.18.0)
83
83
  crass (~> 1.0.2)
84
84
  nokogiri (>= 1.5.9)
85
85
  mail (2.7.1)
86
86
  mini_mime (>= 0.1.1)
87
87
  marcel (1.0.2)
88
88
  method_source (1.0.0)
89
- mini_mime (1.1.1)
90
- mini_portile2 (2.6.1)
91
- minitest (5.14.4)
89
+ mini_mime (1.1.2)
90
+ mini_portile2 (2.8.0)
91
+ minitest (5.15.0)
92
92
  nio4r (2.5.8)
93
- nokogiri (1.12.4)
94
- mini_portile2 (~> 2.6.1)
93
+ nokogiri (1.13.6)
94
+ mini_portile2 (~> 2.8.0)
95
95
  racc (~> 1.4)
96
- parallel (1.21.0)
97
- parser (3.0.2.0)
96
+ nokogiri (1.13.6-arm64-darwin)
97
+ racc (~> 1.4)
98
+ nokogiri (1.13.6-x86_64-darwin)
99
+ racc (~> 1.4)
100
+ nokogiri (1.13.6-x86_64-linux)
101
+ racc (~> 1.4)
102
+ parallel (1.22.1)
103
+ parser (3.1.2.0)
98
104
  ast (~> 2.4.1)
99
- racc (1.5.2)
100
- rack (2.2.3)
105
+ racc (1.6.0)
106
+ rack (2.2.3.1)
101
107
  rack-proxy (0.7.0)
102
108
  rack
103
109
  rack-test (1.1.0)
104
110
  rack (>= 1.0, < 3)
105
- rails (6.1.4.1)
106
- actioncable (= 6.1.4.1)
107
- actionmailbox (= 6.1.4.1)
108
- actionmailer (= 6.1.4.1)
109
- actionpack (= 6.1.4.1)
110
- actiontext (= 6.1.4.1)
111
- actionview (= 6.1.4.1)
112
- activejob (= 6.1.4.1)
113
- activemodel (= 6.1.4.1)
114
- activerecord (= 6.1.4.1)
115
- activestorage (= 6.1.4.1)
116
- activesupport (= 6.1.4.1)
111
+ rails (6.1.6)
112
+ actioncable (= 6.1.6)
113
+ actionmailbox (= 6.1.6)
114
+ actionmailer (= 6.1.6)
115
+ actionpack (= 6.1.6)
116
+ actiontext (= 6.1.6)
117
+ actionview (= 6.1.6)
118
+ activejob (= 6.1.6)
119
+ activemodel (= 6.1.6)
120
+ activerecord (= 6.1.6)
121
+ activestorage (= 6.1.6)
122
+ activesupport (= 6.1.6)
117
123
  bundler (>= 1.15.0)
118
- railties (= 6.1.4.1)
124
+ railties (= 6.1.6)
119
125
  sprockets-rails (>= 2.0.0)
120
126
  rails-dom-testing (2.0.3)
121
127
  activesupport (>= 4.2.0)
122
128
  nokogiri (>= 1.6)
123
129
  rails-html-sanitizer (1.4.2)
124
130
  loofah (~> 2.3)
125
- railties (6.1.4.1)
126
- actionpack (= 6.1.4.1)
127
- activesupport (= 6.1.4.1)
131
+ railties (6.1.6)
132
+ actionpack (= 6.1.6)
133
+ activesupport (= 6.1.6)
128
134
  method_source
129
- rake (>= 0.13)
135
+ rake (>= 12.2)
130
136
  thor (~> 1.0)
131
- rainbow (3.0.0)
137
+ rainbow (3.1.1)
132
138
  rake (13.0.6)
133
- regexp_parser (2.1.1)
139
+ regexp_parser (2.5.0)
134
140
  rexml (3.2.5)
135
- rubocop (1.21.0)
141
+ rubocop (1.30.0)
136
142
  parallel (~> 1.10)
137
- parser (>= 3.0.0.0)
143
+ parser (>= 3.1.0.0)
138
144
  rainbow (>= 2.2.2, < 4.0)
139
145
  regexp_parser (>= 1.8, < 3.0)
140
- rexml
141
- rubocop-ast (>= 1.9.1, < 2.0)
146
+ rexml (>= 3.2.5, < 4.0)
147
+ rubocop-ast (>= 1.18.0, < 2.0)
142
148
  ruby-progressbar (~> 1.7)
143
149
  unicode-display_width (>= 1.4.0, < 3.0)
144
- rubocop-ast (1.11.0)
145
- parser (>= 3.0.1.1)
150
+ rubocop-ast (1.18.0)
151
+ parser (>= 3.1.1.0)
146
152
  rubocop-performance (1.11.5)
147
153
  rubocop (>= 1.7.0, < 2.0)
148
154
  rubocop-ast (>= 0.4.0)
149
155
  ruby-progressbar (1.11.0)
150
156
  semantic_range (3.0.0)
151
- sprockets (4.0.2)
157
+ sprockets (4.0.3)
152
158
  concurrent-ruby (~> 1.0)
153
159
  rack (> 1, < 3)
154
- sprockets-rails (3.2.2)
155
- actionpack (>= 4.0)
156
- activesupport (>= 4.0)
160
+ sprockets-rails (3.4.2)
161
+ actionpack (>= 5.2)
162
+ activesupport (>= 5.2)
157
163
  sprockets (>= 3.0.0)
158
- thor (1.1.0)
164
+ thor (1.2.1)
159
165
  tzinfo (2.0.4)
160
166
  concurrent-ruby (~> 1.0)
161
167
  unicode-display_width (2.1.0)
162
168
  websocket-driver (0.7.5)
163
169
  websocket-extensions (>= 0.1.0)
164
170
  websocket-extensions (0.1.5)
165
- zeitwerk (2.4.2)
171
+ zeitwerk (2.5.4)
166
172
 
167
173
  PLATFORMS
174
+ arm64-darwin-20
168
175
  ruby
176
+ x86_64-darwin-20
177
+ x86_64-linux
169
178
 
170
179
  DEPENDENCIES
171
180
  bundler (>= 1.3.0)
172
181
  byebug
173
182
  minitest (~> 5.0)
183
+ nokogiri (~> 1.13, >= 1.13.6)
174
184
  rack-proxy
175
- rails
185
+ rails (>= 6.1.6)
176
186
  rake (>= 11.1)
177
187
  rubocop
178
188
  rubocop-performance