gemcompat 0.2.0 → 0.4.0
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.
- checksums.yaml +4 -4
- data/.gitignore +2 -0
- data/LICENSE +21 -0
- data/README.md +10 -3
- data/data/rails/5_0.yaml +355 -0
- data/data/rails/5_2.yaml +105 -0
- data/data/rails/7_0.yaml +113 -0
- data/lib/gemcompat/compatibility_checker.rb +1 -1
- data/lib/gemcompat/runner.rb +1 -1
- data/lib/gemcompat/version.rb +1 -1
- metadata +7 -3
- data/Gemfile.lock +0 -61
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 923bf7abd01800a36c9b1d046e5d448b1b8d8c7735e27537ef5e01cda2eb1160
|
4
|
+
data.tar.gz: 6ef2491c1776156b331d97a291fd03c85fe1cf03f49c8d5a4831f75c8a5b838e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a5b84972e94dc260510b5849e10f72f4c7f4a749b1b2119843f0e2998c0691130aff71058cef1f0a3ef8d5d194cf40cedf0c7ff5827546de84b8112ee4ed935f
|
7
|
+
data.tar.gz: baefb9b3d4162b88eb9ba2322ac5499ca7f9a17bf66421113126c886fdd40dc9f961e61b8bbd7ff4d79eef8102dfb0e2c29773e4caaff38413bdc7630d59fe62
|
data/.gitignore
ADDED
data/LICENSE
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
MIT License
|
2
|
+
|
3
|
+
Copyright (c) 2024 Infield, Inc.
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
SOFTWARE.
|
data/README.md
CHANGED
@@ -1,8 +1,8 @@
|
|
1
|
-
This project is maintained by the team at [Infield](https://infield.ai), you can reach us at
|
1
|
+
This project is maintained by the team at [Infield](https://infield.ai), you can reach us at founders@infield.ai.
|
2
2
|
|
3
3
|
# What this project does
|
4
4
|
|
5
|
-
## TLDR
|
5
|
+
## TLDR :shushing_face::gem:
|
6
6
|
Use this script to check whether your app relies on gems which are
|
7
7
|
silently incompatible with a package upgrade. For example, check if
|
8
8
|
you're compatible with Rails 7.1 like this:
|
@@ -18,7 +18,9 @@ gemcompat supports checking the following upgrades:
|
|
18
18
|
|package|target version|
|
19
19
|
|------|-------|
|
20
20
|
|rails|7.1|
|
21
|
+
|rails|7.0|
|
21
22
|
|rails|6.1|
|
23
|
+
|rails|5.2|
|
22
24
|
|
23
25
|
Please contribute to the database to support more packages and targets!
|
24
26
|
|
@@ -58,6 +60,11 @@ automatically check your project against the database.
|
|
58
60
|
We welcome contributions, both to the dataset and to the code itself.
|
59
61
|
|
60
62
|
## Adding an incompatibility
|
63
|
+
|
64
|
+
Please let us know if you come across an incompatibility that we don't
|
65
|
+
have in the dataset. You can open a Github issue describing the
|
66
|
+
incompatibility and we'll add it, or you can open a PR directly.
|
67
|
+
|
61
68
|
Incompatibilities are stored in the `data/` directory, with one folder
|
62
69
|
per package and one file per target version of that package.
|
63
70
|
|
@@ -76,7 +83,7 @@ version 1.5.0 in order to be compatible with Rails 7.1
|
|
76
83
|
|
77
84
|
## Development
|
78
85
|
|
79
|
-
Getting started should be easy. You'll need to have Ruby
|
86
|
+
Getting started should be easy. You'll need to have Ruby 2.7+ installed
|
80
87
|
and run bundle to install the developer dependencies. You can run specs with:
|
81
88
|
|
82
89
|
```
|
data/data/rails/5_0.yaml
ADDED
@@ -0,0 +1,355 @@
|
|
1
|
+
---
|
2
|
+
aasm:
|
3
|
+
:first_compatible_version: 5.0.4
|
4
|
+
note: Specify dynamoid version for Rails > 5
|
5
|
+
source: changelog
|
6
|
+
active_model_serializers:
|
7
|
+
:first_compatible_version: 0.10.1
|
8
|
+
note: Improve jsonapi mime type registration for Rails 5
|
9
|
+
source: changelog
|
10
|
+
active_record_upsert:
|
11
|
+
:first_compatible_version: 0.9.4
|
12
|
+
note: This release fixes regressions that were present at least in 0.9.2 and 0.9.3,
|
13
|
+
which caused this gem to be incompatible with Rails < 5.2.
|
14
|
+
source: changelog
|
15
|
+
activerecord-import:
|
16
|
+
:first_compatible_version: 0.18.0
|
17
|
+
note: Fix ActiveRecord 5 issue coercing boolean values when serializing for the
|
18
|
+
database
|
19
|
+
source: changelog
|
20
|
+
activerecord-nulldb-adapter:
|
21
|
+
:first_compatible_version: 0.3.6
|
22
|
+
note: Adds support for ActiveRecord 5.0
|
23
|
+
source: changelog
|
24
|
+
acts_as_list:
|
25
|
+
:first_compatible_version: 0.9.1
|
26
|
+
note: 'fixes #251 table_exists? deprecation warning with Rails 5.0'
|
27
|
+
source: changelog
|
28
|
+
ancestry:
|
29
|
+
:first_compatible_version: 2.2.1
|
30
|
+
note: Use like (vs ilike) for rails 5.0 (performance enhancement)
|
31
|
+
source: changelog
|
32
|
+
attr_encrypted:
|
33
|
+
:first_compatible_version: 3.1.0
|
34
|
+
note: Mark virtual attributes for Rails 5.x compatibility
|
35
|
+
source: changelog
|
36
|
+
authority:
|
37
|
+
:first_compatible_version: 3.2.2
|
38
|
+
note: Fix Rails 5 `after_filter` deprecation warning
|
39
|
+
source: changelog
|
40
|
+
blazer:
|
41
|
+
:first_compatible_version: 1.7.4
|
42
|
+
note: Fixed `send_failing_checks` for default Rails 5 ActiveJob adapter
|
43
|
+
source: changelog
|
44
|
+
bootstrap_form:
|
45
|
+
:first_compatible_version: 2.4.0
|
46
|
+
note: Fix `alias_method_chain` deprecation warnings when using Rails 5
|
47
|
+
source: changelog
|
48
|
+
bootstrap-sass:
|
49
|
+
:first_compatible_version: 3.3.6
|
50
|
+
note: Fixes a Rails 5 compatibility issue. [#965](https://github.com/twbs/bootstrap-sass/pull/965)
|
51
|
+
source: changelog
|
52
|
+
brakeman:
|
53
|
+
:first_compatible_version: 3.2.0
|
54
|
+
note: Skip Symbol DoS check on Rails 5
|
55
|
+
source: changelog
|
56
|
+
breadcrumbs_on_rails:
|
57
|
+
:first_compatible_version: 3.0.1
|
58
|
+
note: Fixed compatibility with Rails 5.0 and ActionController::API
|
59
|
+
source: changelog
|
60
|
+
bugsnag:
|
61
|
+
:first_compatible_version: 5.1.0
|
62
|
+
note: Fix behavior to not override Rails 5 `belongs_to` association
|
63
|
+
source: changelog
|
64
|
+
bullet:
|
65
|
+
:first_compatible_version: 5.8.0
|
66
|
+
note: Fix through reflection for rails 5.x
|
67
|
+
source: changelog
|
68
|
+
cancancan:
|
69
|
+
:first_compatible_version: 3.0.0
|
70
|
+
note: Removed automatic eager loading of associations for ActiveRecord >= 5.0.
|
71
|
+
source: changelog
|
72
|
+
ckeditor:
|
73
|
+
:first_compatible_version: 4.2.0
|
74
|
+
note: Rails 5 support
|
75
|
+
source: changelog
|
76
|
+
composite_primary_keys:
|
77
|
+
:first_compatible_version: 9.0.7
|
78
|
+
note: Specify version for sql server gem so it works with Rails 5.0
|
79
|
+
source: changelog
|
80
|
+
config:
|
81
|
+
:first_compatible_version: 2.1.0
|
82
|
+
note: Fix warnings when running tests in Rails 5 scope
|
83
|
+
source: changelog
|
84
|
+
dalli:
|
85
|
+
:first_compatible_version: 2.7.6
|
86
|
+
note: Rails 5.0.0.beta2 compatibility
|
87
|
+
source: changelog
|
88
|
+
data_migrate:
|
89
|
+
:first_compatible_version: 3.1.0
|
90
|
+
note: Rails 5.0 support thanks to jturkel and abreckner
|
91
|
+
source: changelog
|
92
|
+
database_cleaner:
|
93
|
+
:first_compatible_version: 1.8.2
|
94
|
+
note: Exclude ar_internal_metadata from truncation on Rails 5
|
95
|
+
source: changelog
|
96
|
+
ddtrace:
|
97
|
+
:first_compatible_version: 0.15.0
|
98
|
+
note: Rails 5.2 support
|
99
|
+
source: changelog
|
100
|
+
devise:
|
101
|
+
:first_compatible_version: 4.6.0
|
102
|
+
note: Fix Routes issue when devise engine is mounted in another engine on Rails
|
103
|
+
versions lower than 5.1
|
104
|
+
source: changelog
|
105
|
+
devise_invitable:
|
106
|
+
:first_compatible_version: 1.7.3
|
107
|
+
note: Generate migration template with version for rails >= 5
|
108
|
+
source: changelog
|
109
|
+
doorkeeper:
|
110
|
+
:first_compatible_version: 4.0.0
|
111
|
+
note: Support Rails 5
|
112
|
+
source: changelog
|
113
|
+
dotenv:
|
114
|
+
:first_compatible_version: 2.1.0
|
115
|
+
note: Relax dependency on `railties` to allow Rails 5.0 apps.
|
116
|
+
source: changelog
|
117
|
+
draper:
|
118
|
+
:first_compatible_version: 3.0.0
|
119
|
+
note: Added support for Rails 5, dropped 4.0 - 4.2
|
120
|
+
source: changelog
|
121
|
+
elasticsearch-model:
|
122
|
+
:first_compatible_version: 6.0.0
|
123
|
+
note: Added ActiveRecord 5 support to integration test configuration
|
124
|
+
source: changelog
|
125
|
+
elasticsearch-rails:
|
126
|
+
:first_compatible_version: 6.0.0
|
127
|
+
note: Added ActiveRecord 5 support to integration test configuration
|
128
|
+
source: changelog
|
129
|
+
faker:
|
130
|
+
:first_compatible_version: 1.7.2
|
131
|
+
note: 'Closed issues: Faker::Avatar error, Faker::Internet.email.match, Incorrect
|
132
|
+
HSL color format, Can we add the #Hacktoberfest label, Faker::Boolean.boolean
|
133
|
+
error, Faker::Food not found, Fix seed for random values, README alphabetical
|
134
|
+
order of Usage, At which point do we break off functionality?, Time zone abbreviation,
|
135
|
+
ruby 2.3.1 rails 5'
|
136
|
+
source: changelog
|
137
|
+
flipper-ui:
|
138
|
+
:first_compatible_version: 0.7.5
|
139
|
+
note: support for rails 5 beta/ rack 2 alpha
|
140
|
+
source: changelog
|
141
|
+
formtastic:
|
142
|
+
:first_compatible_version: 4.0.0
|
143
|
+
note: Added support for Rails 5 Attributes API
|
144
|
+
source: changelog
|
145
|
+
friendly_id:
|
146
|
+
:first_compatible_version: 5.2.4
|
147
|
+
note: Fix compatibility with Rails versions 4.0 -> 5.2
|
148
|
+
source: changelog
|
149
|
+
geocoder:
|
150
|
+
:first_compatible_version: 1.3.5
|
151
|
+
note: Fix Rails 5 ActionDispatch include issue
|
152
|
+
source: changelog
|
153
|
+
goldiloader:
|
154
|
+
:first_compatible_version: 2.1.1
|
155
|
+
note: Enable eager loading of associations with a `from` or `group` in Rails 5.0.x
|
156
|
+
>= 5.0.7 and Rails >= 5.1.5 because the underlying Rails bug has been fixed.
|
157
|
+
source: changelog
|
158
|
+
gon:
|
159
|
+
:first_compatible_version: 6.1.0
|
160
|
+
note: env is deprecated and will be removed from Rails 5.0
|
161
|
+
source: changelog
|
162
|
+
groupdate:
|
163
|
+
:first_compatible_version: 3.0.1
|
164
|
+
note: Fix for infinite loop in certain cases for Rails 5
|
165
|
+
source: changelog
|
166
|
+
honeybadger:
|
167
|
+
:first_compatible_version: 2.3.0
|
168
|
+
note: Rails 5 support
|
169
|
+
source: changelog
|
170
|
+
i18n-active_record:
|
171
|
+
:first_compatible_version: 0.3.0
|
172
|
+
note: Rename recommended initializer for Rails 5 compatibility
|
173
|
+
source: changelog
|
174
|
+
js-routes:
|
175
|
+
:first_compatible_version: 1.2.1
|
176
|
+
note: Fixes for Rails 5
|
177
|
+
source: changelog
|
178
|
+
kaminari:
|
179
|
+
:first_compatible_version: 0.17.0
|
180
|
+
note: Rails 5 ready!
|
181
|
+
source: changelog
|
182
|
+
kt-paperclip:
|
183
|
+
:first_compatible_version: 6.2.0
|
184
|
+
note: Fix test suite to run with Rails 5 and Rails 6
|
185
|
+
source: changelog
|
186
|
+
letter_opener_web:
|
187
|
+
:first_compatible_version: 1.3.1
|
188
|
+
note: Remove Rails 5 deprecation warnings
|
189
|
+
source: changelog
|
190
|
+
lograge:
|
191
|
+
:first_compatible_version: 0.4.0
|
192
|
+
note: Add support for Rails 5 beta 2
|
193
|
+
source: changelog
|
194
|
+
mandrill-rails:
|
195
|
+
:first_compatible_version: 1.5.0
|
196
|
+
note: 'Updated for Rails 5 compatibility, thanks to the efforts of @prosanelli @shanna
|
197
|
+
@PikachuEXE @Fuffi @spastorino @FLarra @tomdracz on #43 #42 #36 #46'
|
198
|
+
source: changelog
|
199
|
+
moneta:
|
200
|
+
:first_compatible_version: 1.1.0
|
201
|
+
note: Adapters::ActiveRecord - rewrite to use Arel directly; support for Rails 5
|
202
|
+
source: changelog
|
203
|
+
money-rails:
|
204
|
+
:first_compatible_version: 1.7.0
|
205
|
+
note: Rails 5 support
|
206
|
+
source: changelog
|
207
|
+
otr-activerecord:
|
208
|
+
:first_compatible_version: 1.2.1
|
209
|
+
note: 'Bugfix to db:test: Rake tasks for Rails 5'
|
210
|
+
source: changelog
|
211
|
+
pact:
|
212
|
+
:first_compatible_version: 1.18.0
|
213
|
+
note: 'feat: correct rack-test dependency for rails 5 support'
|
214
|
+
source: changelog
|
215
|
+
paper_trail:
|
216
|
+
:first_compatible_version: 5.0.0
|
217
|
+
note: Destroy callback default changed to :before to accommodate ActiveRecord 5
|
218
|
+
option `belongs_to_required_by_default` and new Rails 5 default.
|
219
|
+
source: changelog
|
220
|
+
paperclip:
|
221
|
+
:first_compatible_version: 5.3.0
|
222
|
+
note: 'Improvement: Rails 5 migration compatibility'
|
223
|
+
source: changelog
|
224
|
+
passenger:
|
225
|
+
:first_compatible_version: 5.1.1
|
226
|
+
note: Fixes support for Rails 5.0.1 Action Cable. Specifically, we now support the
|
227
|
+
`options` argument in the `write_nonblock` method in hijacked Rack IO sockets.
|
228
|
+
source: changelog
|
229
|
+
pg_lock:
|
230
|
+
:first_compatible_version: 0.1.2
|
231
|
+
note: Support Rails 5 and newer PG versions
|
232
|
+
source: changelog
|
233
|
+
pghero:
|
234
|
+
:first_compatible_version: 1.5.3
|
235
|
+
note: Fixed Rails 5 error with multiple databases
|
236
|
+
source: changelog
|
237
|
+
protected_attributes_continued:
|
238
|
+
:first_compatible_version: 1.6.0
|
239
|
+
note: Fix method redefined warning for HasManyThroughAssociation#options_for_through_association
|
240
|
+
for Rails <= 5.2
|
241
|
+
source: changelog
|
242
|
+
public_activity:
|
243
|
+
:first_compatible_version: 1.6.0
|
244
|
+
note: 'Fix Rspec tests failing in Rails 5 due to ViewHelpers (see #271, thanks to
|
245
|
+
[Janusz](https://github.com/januszm))'
|
246
|
+
source: changelog
|
247
|
+
puma:
|
248
|
+
:first_compatible_version: 3.8.1
|
249
|
+
note: Port from rack handler does not take precedence over config file in Rails
|
250
|
+
5.1.0.beta2+ and 5.0.1.rc3+
|
251
|
+
source: changelog
|
252
|
+
rabl:
|
253
|
+
:first_compatible_version: 0.14.1
|
254
|
+
note: Fix tests for Rails 5
|
255
|
+
source: changelog
|
256
|
+
rails-controller-testing:
|
257
|
+
:first_compatible_version: 1.0.2
|
258
|
+
note: Test against Rails 5.0
|
259
|
+
source: changelog
|
260
|
+
rails-settings-cached:
|
261
|
+
:first_compatible_version: 2.8.1
|
262
|
+
note: Fix for Rails 5, RequestStore cache not assign issue
|
263
|
+
source: changelog
|
264
|
+
ransack:
|
265
|
+
:first_compatible_version: 1.6.5
|
266
|
+
note: Stop relying on Active Record::relation#where_values which are deprecated
|
267
|
+
in Rails 5
|
268
|
+
source: changelog
|
269
|
+
react-rails:
|
270
|
+
:first_compatible_version: 1.7.1
|
271
|
+
note: Update `.to_prepare` for Rails 5
|
272
|
+
source: changelog
|
273
|
+
redis-rails:
|
274
|
+
:first_compatible_version: 5.0.0
|
275
|
+
note: Bump dependencies to support Rails 5
|
276
|
+
source: changelog
|
277
|
+
rolify:
|
278
|
+
:first_compatible_version: 5.1.0
|
279
|
+
note: Rails 5 Support
|
280
|
+
source: changelog
|
281
|
+
rollbar:
|
282
|
+
:first_compatible_version: 2.14.0
|
283
|
+
note: Fix validations plugin on Rails 5.0 with belong_to
|
284
|
+
source: changelog
|
285
|
+
rspec-rails:
|
286
|
+
:first_compatible_version: 3.5.1
|
287
|
+
note: Only attempt to load `ActionDispatch::IntegrationTest::Behavior` on Rails
|
288
|
+
5, and above
|
289
|
+
source: changelog
|
290
|
+
rspec-sidekiq:
|
291
|
+
:first_compatible_version: 3.1.0
|
292
|
+
note: Add support for latest ruby and Rails 5
|
293
|
+
source: changelog
|
294
|
+
rubocop-rails:
|
295
|
+
:first_compatible_version: 2.18.0
|
296
|
+
note: Fix `Rails/FreezeTime` running against Rails < 5.2 apps.
|
297
|
+
source: changelog
|
298
|
+
scenic:
|
299
|
+
:first_compatible_version: 1.4.1
|
300
|
+
note: View migrations created under Rails 5 and newer will use the current migration
|
301
|
+
version in the generated migration class rather than always using 5.0
|
302
|
+
source: changelog
|
303
|
+
secure_headers:
|
304
|
+
:first_compatible_version: 3.4.0
|
305
|
+
note: Loading view helpers in a way that Rails 5 did not like
|
306
|
+
source: changelog
|
307
|
+
sendgrid-ruby:
|
308
|
+
:first_compatible_version: 4.3.1
|
309
|
+
note: Fixes bundler dependency issues with rails >5.0 and rack 2.0
|
310
|
+
source: changelog
|
311
|
+
shoryuken:
|
312
|
+
:first_compatible_version: 3.2.3
|
313
|
+
note: Don't force eager load for Rails 5
|
314
|
+
source: changelog
|
315
|
+
sidekiq:
|
316
|
+
:first_compatible_version: 5.0.0
|
317
|
+
note: Job dispatch was refactored for safer integration with Rails 5
|
318
|
+
source: changelog
|
319
|
+
spring:
|
320
|
+
:first_compatible_version: 2.0.0
|
321
|
+
note: Add explicit support for Rails 5 (no changes were needed)
|
322
|
+
source: changelog
|
323
|
+
sprockets-rails:
|
324
|
+
:first_compatible_version: 2.2.3
|
325
|
+
note: Many, various improvements to tests including test support for rails 4.2,
|
326
|
+
5.0
|
327
|
+
source: changelog
|
328
|
+
statesman:
|
329
|
+
:first_compatible_version: 3.1.0
|
330
|
+
note: Add support for Rails 5.0.x and 5.1.x
|
331
|
+
source: changelog
|
332
|
+
stripe_event:
|
333
|
+
:first_compatible_version: 1.5.1
|
334
|
+
note: Better Rails 5 support. Prefer `before_action` over `before_filter`
|
335
|
+
source: changelog
|
336
|
+
strong_migrations:
|
337
|
+
:first_compatible_version: 0.7.0
|
338
|
+
note: Removed safety checks for `db` rake tasks (Rails 5+ handles this)
|
339
|
+
source: changelog
|
340
|
+
tapioca:
|
341
|
+
:first_compatible_version: 0.11.5
|
342
|
+
note: Fix running `tapioca dsl` for Rails 5.x based applications
|
343
|
+
source: changelog
|
344
|
+
web-console:
|
345
|
+
:first_compatible_version: 2.3.0
|
346
|
+
note: This is mainly a Rails 5 compatibility release
|
347
|
+
source: changelog
|
348
|
+
wicked:
|
349
|
+
:first_compatible_version: 1.3.0
|
350
|
+
note: Avoid Rails 5 deprecations
|
351
|
+
source: changelog
|
352
|
+
will_paginate:
|
353
|
+
:first_compatible_version: 3.1.5
|
354
|
+
note: Avoid Rails 5 deprecation warning about `original_exception`
|
355
|
+
source: changelog
|
data/data/rails/5_2.yaml
ADDED
@@ -0,0 +1,105 @@
|
|
1
|
+
---
|
2
|
+
geocoder:
|
3
|
+
:first_compatible_version: 1.4.6
|
4
|
+
note: "Update for Rails 5.2 compatibility"
|
5
|
+
source: "changelog"
|
6
|
+
acts-as-taggable-on:
|
7
|
+
:first_compatible_version: 6.0.0
|
8
|
+
note: "Support Rails 5.2"
|
9
|
+
source: "changelog"
|
10
|
+
inherited_resources:
|
11
|
+
:first_compatible_version: 1.9.0
|
12
|
+
note: "Support Rails 5.2.1"
|
13
|
+
source: "changelog"
|
14
|
+
blind_index:
|
15
|
+
:first_compatible_version: 0.1.1
|
16
|
+
note: "Added support for ActiveRecord 5.2"
|
17
|
+
source: "changelog"
|
18
|
+
friendly_id:
|
19
|
+
:first_compatible_version: 5.2.4
|
20
|
+
note: "Fix compatibility with Rails versions 4.0 -> 5.2"
|
21
|
+
source: "changelog"
|
22
|
+
composite_primary_keys:
|
23
|
+
:first_compatible_version: 11.1.0
|
24
|
+
note: "Support ActiveRecord 5.2.1"
|
25
|
+
source: "changelog"
|
26
|
+
active_record_upsert:
|
27
|
+
:first_compatible_version: 0.8.0
|
28
|
+
note: "Support Rails 5.2"
|
29
|
+
source: "changelog"
|
30
|
+
ransack:
|
31
|
+
:first_compatible_version: 1.8.7
|
32
|
+
note: "Rails 5.2 support"
|
33
|
+
source: "changelog"
|
34
|
+
ancestry:
|
35
|
+
:first_compatible_version: 3.0.2
|
36
|
+
note: "added Rails 5.2 support (thx @jjuliano)"
|
37
|
+
source: "changelog"
|
38
|
+
protected_attributes_continued:
|
39
|
+
:first_compatible_version: 1.4.0
|
40
|
+
note: "Add Rails 5.2 support"
|
41
|
+
source: "changelog"
|
42
|
+
dotenv:
|
43
|
+
:first_compatible_version: 2.2.2
|
44
|
+
note: "Support Rails 5.2"
|
45
|
+
source: "changelog"
|
46
|
+
stripe_event:
|
47
|
+
:first_compatible_version: 2.1.1
|
48
|
+
note: "Adds better support for Rails 5.2"
|
49
|
+
source: "changelog"
|
50
|
+
ddtrace:
|
51
|
+
:first_compatible_version: 0.15.0
|
52
|
+
note: "Rails 5.2 support"
|
53
|
+
source: "changelog"
|
54
|
+
dalli:
|
55
|
+
:first_compatible_version: 2.7.9
|
56
|
+
note: "Fix behavior for Rails 5.2+ cache_versioning (GriwMF)"
|
57
|
+
source: "changelog"
|
58
|
+
bullet:
|
59
|
+
:first_compatible_version: 5.7.0
|
60
|
+
note: "Support rails 5.2"
|
61
|
+
source: "changelog"
|
62
|
+
enumerize:
|
63
|
+
:first_compatible_version: 2.2.0
|
64
|
+
note: "Support ActiveModel::Attributes from Rails 5.2"
|
65
|
+
source: "changelog"
|
66
|
+
data_migrate:
|
67
|
+
:first_compatible_version: 4.0.0
|
68
|
+
note: "Support for Rails 5.2"
|
69
|
+
source: "changelog"
|
70
|
+
public_activity:
|
71
|
+
:first_compatible_version: 1.6.0
|
72
|
+
note: "Add support for Rails 5.2"
|
73
|
+
source: "changelog"
|
74
|
+
figaro:
|
75
|
+
:first_compatible_version: 1.2.0
|
76
|
+
note: "Add support for Rails 5.2 and 6.0"
|
77
|
+
source: "changelog"
|
78
|
+
shopify_api:
|
79
|
+
:first_compatible_version: 5.0.0
|
80
|
+
note: "Fixed session handling support for Rails 5.2.1"
|
81
|
+
source: "changelog"
|
82
|
+
react-rails:
|
83
|
+
:first_compatible_version: 2.4.5
|
84
|
+
note: "Explicitly support Rails 5.2"
|
85
|
+
source: "changelog"
|
86
|
+
cancancan:
|
87
|
+
:first_compatible_version: 2.2.0
|
88
|
+
note: "Support Rails 5.2"
|
89
|
+
source: "changelog"
|
90
|
+
active_record_upsert:
|
91
|
+
:first_compatible_version: 0.7.4
|
92
|
+
note: "#56 Rails 5.2 compatibility - thank you, Benedikt Deicke!"
|
93
|
+
source: "changelog"
|
94
|
+
activerecord-nulldb-adapter:
|
95
|
+
:first_compatible_version: 0.3.7
|
96
|
+
note: "Adds support for ActiveRecord 5.1/5.2"
|
97
|
+
source: "changelog"
|
98
|
+
ancestry:
|
99
|
+
:first_compatible_version: 3.0.3
|
100
|
+
note: "This branch (3.x) should still be compatible with rails 3 and 4. Rails 5.1 and 5.2 support were introduced in this version, but ongoing support has been moved to ancestry 4.0"
|
101
|
+
source: "changelog"
|
102
|
+
parallel_tests:
|
103
|
+
:first_compatible_version: 4.5.1
|
104
|
+
note: "Rails 5.2 and gherkin fixes"
|
105
|
+
source: "changelog"
|
data/data/rails/7_0.yaml
ADDED
@@ -0,0 +1,113 @@
|
|
1
|
+
---
|
2
|
+
activerecord-import:
|
3
|
+
:first_compatible_version: 1.3.0
|
4
|
+
administrate:
|
5
|
+
:first_compatible_version: 0.17.0
|
6
|
+
ancestry:
|
7
|
+
:first_compatible_version: 4.2.0
|
8
|
+
attr_encrypted:
|
9
|
+
:first_compatible_version: 4.0.0
|
10
|
+
aws-sdk-rails:
|
11
|
+
:first_compatible_version: 3.6.2
|
12
|
+
brakeman:
|
13
|
+
:first_compatible_version: 5.4.1
|
14
|
+
bullet:
|
15
|
+
:first_compatible_version: 7.0.0
|
16
|
+
business_time:
|
17
|
+
:first_compatible_version: 0.12.0
|
18
|
+
composite_primary_keys:
|
19
|
+
:first_compatible_version: 14.0.4
|
20
|
+
config:
|
21
|
+
:first_compatible_version: 5.1.0
|
22
|
+
data_migrate:
|
23
|
+
:first_compatible_version: 8.0.0
|
24
|
+
ddtrace:
|
25
|
+
:first_compatible_version: 1.14.0
|
26
|
+
deep_pluck:
|
27
|
+
:first_compatible_version: 1.3.1
|
28
|
+
delayed_job:
|
29
|
+
:first_compatible_version: 4.1.11
|
30
|
+
deprecation_toolkit:
|
31
|
+
:first_compatible_version: 2.0.0
|
32
|
+
devise:
|
33
|
+
:first_compatible_version: 4.9.0
|
34
|
+
doorkeeper:
|
35
|
+
:first_compatible_version: 5.5.3
|
36
|
+
elasticsearch-rails:
|
37
|
+
:first_compatible_version: 7.2.0
|
38
|
+
enumerize:
|
39
|
+
:first_compatible_version: 2.5.0
|
40
|
+
flipper-ui:
|
41
|
+
:first_compatible_version: 0.23.0
|
42
|
+
goldiloader:
|
43
|
+
:first_compatible_version: 4.2.0
|
44
|
+
grape:
|
45
|
+
:first_compatible_version: 1.6.1
|
46
|
+
graphql-batch:
|
47
|
+
:first_compatible_version: 0.5.0
|
48
|
+
groupdate:
|
49
|
+
:first_compatible_version: 5.2.3
|
50
|
+
has_scope:
|
51
|
+
:first_compatible_version: 0.8.1
|
52
|
+
honeybadger:
|
53
|
+
:first_compatible_version: 5.0.0
|
54
|
+
i18n:
|
55
|
+
:first_compatible_version: 1.9.0
|
56
|
+
i18n-tasks:
|
57
|
+
:first_compatible_version: 0.9.36
|
58
|
+
identity_cache:
|
59
|
+
:first_compatible_version: 1.1.0
|
60
|
+
kaminari:
|
61
|
+
:first_compatible_version: 1.2.2
|
62
|
+
kt-paperclip:
|
63
|
+
:first_compatible_version: 7.1.0
|
64
|
+
newrelic_rpm:
|
65
|
+
:first_compatible_version: 8.4.0
|
66
|
+
otr-activerecord:
|
67
|
+
:first_compatible_version: 2.1.1
|
68
|
+
paper_trail:
|
69
|
+
:first_compatible_version: 15.0.0
|
70
|
+
parallel_tests:
|
71
|
+
:first_compatible_version: 3.8.0
|
72
|
+
pghero:
|
73
|
+
:first_compatible_version: 2.8.2
|
74
|
+
public_activity:
|
75
|
+
:first_compatible_version: 2.0.0
|
76
|
+
rabl:
|
77
|
+
:first_compatible_version: 0.15.0
|
78
|
+
rails-i18n:
|
79
|
+
:first_compatible_version: 7.0.2
|
80
|
+
rails-settings-cached:
|
81
|
+
:first_compatible_version: 2.8.2
|
82
|
+
ransack:
|
83
|
+
:first_compatible_version: 2.5.0
|
84
|
+
responders:
|
85
|
+
:first_compatible_version: 3.1.0
|
86
|
+
rspec-rails:
|
87
|
+
:first_compatible_version: 6.0.0
|
88
|
+
scenic:
|
89
|
+
:first_compatible_version: 1.5.5
|
90
|
+
sequel:
|
91
|
+
:first_compatible_version: 5.52.0
|
92
|
+
shakapacker:
|
93
|
+
:first_compatible_version: 6.4.0
|
94
|
+
shoryuken:
|
95
|
+
:first_compatible_version: 6.1.0
|
96
|
+
shoulda-matchers:
|
97
|
+
:first_compatible_version: 5.2.0
|
98
|
+
simple_form:
|
99
|
+
:first_compatible_version: 5.2.0
|
100
|
+
sitemap_generator:
|
101
|
+
:first_compatible_version: 6.2.0
|
102
|
+
stripe_event:
|
103
|
+
:first_compatible_version: 2.4.0
|
104
|
+
strong_migrations:
|
105
|
+
:first_compatible_version: 0.8.0
|
106
|
+
turbo-rails:
|
107
|
+
:first_compatible_version: 1.5.0
|
108
|
+
view_component:
|
109
|
+
:first_compatible_version: 2.49.0
|
110
|
+
wicked_pdf:
|
111
|
+
:first_compatible_version: 2.6.0
|
112
|
+
will_paginate:
|
113
|
+
:first_compatible_version: 4.0.0
|
@@ -13,7 +13,7 @@ module Gemcompat
|
|
13
13
|
end
|
14
14
|
|
15
15
|
def welcome(package_name:, target_version:)
|
16
|
-
puts "Checking for undocumented incompatibilities with #{package_name} v#{target_version}\n\n"
|
16
|
+
puts "Checking for #{@package_incompatibilities.count} undocumented incompatibilities with #{package_name} v#{target_version}\n\n"
|
17
17
|
end
|
18
18
|
|
19
19
|
def package_version_to_path_part(version)
|
data/lib/gemcompat/runner.rb
CHANGED
@@ -21,7 +21,7 @@ module Gemcompat
|
|
21
21
|
|
22
22
|
argv << '-h' if argv.empty?
|
23
23
|
OptionParser.new do |opts|
|
24
|
-
opts.banner = 'Usage: gemcompat --package rails --version 7.0 --lockfile ~/path/to/Gemfile.lock'
|
24
|
+
opts.banner = 'Usage: gemcompat --package rails --target-version 7.0 --lockfile ~/path/to/Gemfile.lock'
|
25
25
|
|
26
26
|
opts.on('-p', '--package PACKAGE_NAME', 'Package to check compatibility for') do |pkg|
|
27
27
|
@options[:package_name] = pkg
|
data/lib/gemcompat/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gemcompat
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Steve Pike
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-05-14 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Not all gem incompatibilities get reported in gemspecs. This project
|
14
14
|
documents them so you can check ahead of an upgrade.
|
@@ -19,13 +19,17 @@ executables:
|
|
19
19
|
extensions: []
|
20
20
|
extra_rdoc_files: []
|
21
21
|
files:
|
22
|
+
- ".gitignore"
|
22
23
|
- ".rspec"
|
23
24
|
- ".rubocop.yml"
|
24
25
|
- ".ruby-version"
|
25
26
|
- Gemfile
|
26
|
-
-
|
27
|
+
- LICENSE
|
27
28
|
- README.md
|
29
|
+
- data/rails/5_0.yaml
|
30
|
+
- data/rails/5_2.yaml
|
28
31
|
- data/rails/6_1.yaml
|
32
|
+
- data/rails/7_0.yaml
|
29
33
|
- data/rails/7_1.yaml
|
30
34
|
- exe/gemcompat
|
31
35
|
- gemcompat.gemspec
|
data/Gemfile.lock
DELETED
@@ -1,61 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: .
|
3
|
-
specs:
|
4
|
-
gemcompat (0.2.0)
|
5
|
-
|
6
|
-
GEM
|
7
|
-
remote: https://rubygems.org/
|
8
|
-
specs:
|
9
|
-
ast (2.4.2)
|
10
|
-
diff-lcs (1.5.1)
|
11
|
-
json (2.7.1)
|
12
|
-
language_server-protocol (3.17.0.3)
|
13
|
-
parallel (1.24.0)
|
14
|
-
parser (3.3.0.5)
|
15
|
-
ast (~> 2.4.1)
|
16
|
-
racc
|
17
|
-
racc (1.7.3)
|
18
|
-
rainbow (3.1.1)
|
19
|
-
regexp_parser (2.9.0)
|
20
|
-
rexml (3.2.6)
|
21
|
-
rspec (3.13.0)
|
22
|
-
rspec-core (~> 3.13.0)
|
23
|
-
rspec-expectations (~> 3.13.0)
|
24
|
-
rspec-mocks (~> 3.13.0)
|
25
|
-
rspec-core (3.13.0)
|
26
|
-
rspec-support (~> 3.13.0)
|
27
|
-
rspec-expectations (3.13.0)
|
28
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
29
|
-
rspec-support (~> 3.13.0)
|
30
|
-
rspec-mocks (3.13.0)
|
31
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
32
|
-
rspec-support (~> 3.13.0)
|
33
|
-
rspec-support (3.13.1)
|
34
|
-
rubocop (1.62.1)
|
35
|
-
json (~> 2.3)
|
36
|
-
language_server-protocol (>= 3.17.0)
|
37
|
-
parallel (~> 1.10)
|
38
|
-
parser (>= 3.3.0.2)
|
39
|
-
rainbow (>= 2.2.2, < 4.0)
|
40
|
-
regexp_parser (>= 1.8, < 3.0)
|
41
|
-
rexml (>= 3.2.5, < 4.0)
|
42
|
-
rubocop-ast (>= 1.31.1, < 2.0)
|
43
|
-
ruby-progressbar (~> 1.7)
|
44
|
-
unicode-display_width (>= 2.4.0, < 3.0)
|
45
|
-
rubocop-ast (1.31.2)
|
46
|
-
parser (>= 3.3.0.4)
|
47
|
-
ruby-progressbar (1.13.0)
|
48
|
-
unicode-display_width (2.5.0)
|
49
|
-
|
50
|
-
PLATFORMS
|
51
|
-
ruby
|
52
|
-
x86_64-linux
|
53
|
-
|
54
|
-
DEPENDENCIES
|
55
|
-
bundler
|
56
|
-
gemcompat!
|
57
|
-
rspec
|
58
|
-
rubocop
|
59
|
-
|
60
|
-
BUNDLED WITH
|
61
|
-
2.4.22
|