departure 6.7.0 → 6.8.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/.github/workflows/test.yml +3 -12
- data/.gitignore +1 -0
- data/.rubocop.yml +1 -1
- data/Appraisals +2 -22
- data/CHANGELOG.md +10 -0
- data/Gemfile +5 -1
- data/Gemfile.lock +31 -22
- data/README.md +8 -0
- data/Rakefile +8 -0
- data/bin/rails +24 -0
- data/departure.gemspec +2 -2
- data/gemfiles/rails_6_1.gemfile.lock +31 -29
- data/gemfiles/rails_7_0.gemfile.lock +31 -29
- data/gemfiles/rails_7_1.gemfile +1 -1
- data/gemfiles/rails_7_1.gemfile.lock +47 -47
- data/gemfiles/{rails_6_0.gemfile → rails_7_2.gemfile} +2 -2
- data/gemfiles/rails_7_2.gemfile.lock +276 -0
- data/lib/active_record/connection_adapters/patch_connection_handling.rb +18 -0
- data/lib/active_record/connection_adapters/percona_adapter.rb +1 -35
- data/lib/active_record/connection_adapters/rails_7_2_departure_adapter.rb +215 -0
- data/lib/departure/command.rb +6 -2
- data/lib/departure/configuration.rb +2 -1
- data/lib/departure/rails_adapter.rb +106 -0
- data/lib/departure/rails_patches/active_record_migrator_with_advisory_lock_patch.rb +25 -0
- data/lib/departure/runner.rb +16 -4
- data/lib/departure/version.rb +1 -1
- data/lib/departure.rb +2 -5
- data/lib/lhm/column_with_sql.rb +1 -8
- data/test_database.rb +2 -6
- metadata +14 -17
- data/gemfiles/rails_6_0.gemfile.lock +0 -238
- data/gemfiles/ruby_2.7_rails_6_0.gemfile +0 -11
- data/gemfiles/ruby_2.7_rails_6_0.gemfile.lock +0 -239
- data/gemfiles/ruby_2.7_rails_6_1.gemfile +0 -11
- data/gemfiles/ruby_2.7_rails_6_1.gemfile.lock +0 -242
- data/gemfiles/ruby_2.7_rails_7_0.gemfile +0 -11
- data/gemfiles/ruby_2.7_rails_7_0.gemfile.lock +0 -241
- data/gemfiles/ruby_2.7_rails_7_1.gemfile +0 -11
- data/gemfiles/ruby_2.7_rails_7_1.gemfile.lock +0 -275
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b991b602a5feeb6029d82822b62a5b2ca7227699b225c3ab8443fc7fdb5e2bcd
|
4
|
+
data.tar.gz: 43dee3946ee250402d17158ab5ca8c1e9e8ad92325917273454c049e473ddf2d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dda1f7c047249d7c74b5eecf45ed921fc738d73a789dd05a7b6b7f4ab5cac5ce6772f674b8c2072fb287fbaa3f1626f73884a19d7ded320728ca129e0ecb7b65
|
7
|
+
data.tar.gz: 9401df780b63d76dec3d1068ade5720871a0fba8d8c002e1fd03b91e58dd2a6f6251511fa918e15c224c6954e278c0acac3e3ce98602cc7a162b74836eb096ef
|
data/.github/workflows/test.yml
CHANGED
@@ -8,7 +8,6 @@ jobs:
|
|
8
8
|
fail-fast: false
|
9
9
|
matrix:
|
10
10
|
ruby:
|
11
|
-
- 3.0
|
12
11
|
- 3.1
|
13
12
|
- 3.2
|
14
13
|
- 3.3
|
@@ -16,15 +15,7 @@ jobs:
|
|
16
15
|
- gemfiles/rails_6_1.gemfile
|
17
16
|
- gemfiles/rails_7_0.gemfile
|
18
17
|
- gemfiles/rails_7_1.gemfile
|
19
|
-
|
20
|
-
- ruby: 2.7
|
21
|
-
gemfile: gemfiles/ruby_2.7_rails_6_0.gemfile
|
22
|
-
- ruby: 2.7
|
23
|
-
gemfile: gemfiles/ruby_2.7_rails_6_1.gemfile
|
24
|
-
- ruby: 2.7
|
25
|
-
gemfile: gemfiles/ruby_2.7_rails_7_0.gemfile
|
26
|
-
- ruby: 2.7
|
27
|
-
gemfile: gemfiles/ruby_2.7_rails_7_1.gemfile
|
18
|
+
- gemfiles/rails_7_2.gemfile
|
28
19
|
env:
|
29
20
|
PERCONA_DB_USER: root
|
30
21
|
PERCONA_DB_PASSWORD: root
|
@@ -52,12 +43,12 @@ jobs:
|
|
52
43
|
env:
|
53
44
|
PERCONA_DB_USER: root
|
54
45
|
PERCONA_DB_PASSWORD: root
|
55
|
-
BUNDLE_GEMFILE: gemfiles/
|
46
|
+
BUNDLE_GEMFILE: gemfiles/rails_7_1.gemfile
|
56
47
|
runs-on: ubuntu-latest
|
57
48
|
steps:
|
58
49
|
- uses: actions/checkout@v4
|
59
50
|
- uses: ruby/setup-ruby@v1
|
60
51
|
with:
|
61
|
-
ruby-version:
|
52
|
+
ruby-version: 3.3
|
62
53
|
bundler-cache: true
|
63
54
|
- run: bundle exec rubocop --parallel
|
data/.gitignore
CHANGED
data/.rubocop.yml
CHANGED
data/Appraisals
CHANGED
@@ -1,7 +1,3 @@
|
|
1
|
-
appraise 'rails-6-0' do
|
2
|
-
gem 'rails', '6.0.6.1'
|
3
|
-
end
|
4
|
-
|
5
1
|
appraise 'rails-6-1' do
|
6
2
|
gem 'rails', '6.1.7.6'
|
7
3
|
end
|
@@ -14,22 +10,6 @@ appraise 'rails-7-1' do
|
|
14
10
|
gem 'rails', '7.1.3'
|
15
11
|
end
|
16
12
|
|
17
|
-
appraise '
|
18
|
-
gem 'rails', '
|
19
|
-
gem 'nokogiri', '< 1.16'
|
20
|
-
end
|
21
|
-
|
22
|
-
appraise 'ruby-2.7-rails-6-1' do
|
23
|
-
gem 'rails', '6.1.7.6'
|
24
|
-
gem 'nokogiri', '< 1.16'
|
25
|
-
end
|
26
|
-
|
27
|
-
appraise 'ruby-2.7-rails-7-0' do
|
28
|
-
gem 'rails', '7.0.8'
|
29
|
-
gem 'nokogiri', '< 1.16'
|
30
|
-
end
|
31
|
-
|
32
|
-
appraise 'ruby-2.7-rails-7-1' do
|
33
|
-
gem 'rails', '7.1.3'
|
34
|
-
gem 'nokogiri', '< 1.16'
|
13
|
+
appraise 'rails-7-2' do
|
14
|
+
gem 'rails', '7.2.2.1'
|
35
15
|
end
|
data/CHANGELOG.md
CHANGED
@@ -6,6 +6,16 @@ Please follow the format in [Keep a Changelog](http://keepachangelog.com/)
|
|
6
6
|
|
7
7
|
## [Unreleased]
|
8
8
|
|
9
|
+
## [6.8.0] - 2025-03-31
|
10
|
+
|
11
|
+
- Drop Ruby 3.0 support in specs
|
12
|
+
- Create dummy application in specs, migrate fixtures to that application
|
13
|
+
- Create a `bin/rails` command that loads the database from the dummy application
|
14
|
+
- Create a RailsAdapter that will handle creating connections inside of different versions of rails
|
15
|
+
- Implement a Rails72DeparatureAdapater that handles the differences between Rails 7.2 and other rails versions
|
16
|
+
- Implement a ActiveRecordMigratorWithAdvisoryLock patch for ActiveRecord versions 7.1 and 7.2 to prevent ConcurrentMigrationErrors
|
17
|
+
- Implement a configuration option `disable_rails_advisory_lock_patch` to disable the ActiveRecordMigratorWithAdvisoryLock patch in our gem
|
18
|
+
|
9
19
|
## [6.7.0] - 2024-02-20
|
10
20
|
|
11
21
|
- Flex mysql2 dependency to < 0.6 and bump version to 0.5.6
|
data/Gemfile
CHANGED
@@ -2,6 +2,10 @@ source 'https://rubygems.org'
|
|
2
2
|
|
3
3
|
gemspec
|
4
4
|
|
5
|
+
gem 'base64'
|
5
6
|
gem 'codeclimate-test-reporter', '~> 1.0.3', group: :test, require: nil
|
6
|
-
gem '
|
7
|
+
gem 'lhm'
|
8
|
+
gem 'logger'
|
9
|
+
gem 'mutex_m', require: false
|
10
|
+
gem 'rubocop', '~> 1.74.0', require: false
|
7
11
|
gem 'rubocop-performance', '~> 1.20.2', require: false
|
data/Gemfile.lock
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
departure (6.
|
5
|
-
activerecord (>= 6.0.0, < 7.
|
4
|
+
departure (6.8.0)
|
5
|
+
activerecord (>= 6.0.0, < 7.3.0, != 7.0.0)
|
6
6
|
mysql2 (>= 0.4.0, < 0.6.0)
|
7
|
-
railties (>= 6.0.0, < 7.
|
7
|
+
railties (>= 6.0.0, < 7.3.0, != 7.0.0)
|
8
8
|
|
9
9
|
GEM
|
10
10
|
remote: https://rubygems.org/
|
@@ -69,8 +69,11 @@ GEM
|
|
69
69
|
irb (1.11.2)
|
70
70
|
rdoc
|
71
71
|
reline (>= 0.4.2)
|
72
|
-
json (2.
|
73
|
-
language_server-protocol (3.17.0.
|
72
|
+
json (2.10.2)
|
73
|
+
language_server-protocol (3.17.0.4)
|
74
|
+
lhm (2.2.0)
|
75
|
+
lint_roller (1.1.0)
|
76
|
+
logger (1.6.6)
|
74
77
|
loofah (2.22.0)
|
75
78
|
crass (~> 1.0.2)
|
76
79
|
nokogiri (>= 1.12.0)
|
@@ -78,12 +81,12 @@ GEM
|
|
78
81
|
minitest (5.22.2)
|
79
82
|
mutex_m (0.2.0)
|
80
83
|
mysql2 (0.5.6)
|
81
|
-
nokogiri (1.
|
84
|
+
nokogiri (1.18.3-arm64-darwin)
|
82
85
|
racc (~> 1.4)
|
83
|
-
nokogiri (1.
|
86
|
+
nokogiri (1.18.3-x86_64-linux-gnu)
|
84
87
|
racc (~> 1.4)
|
85
|
-
parallel (1.
|
86
|
-
parser (3.3.
|
88
|
+
parallel (1.26.3)
|
89
|
+
parser (3.3.7.1)
|
87
90
|
ast (~> 2.4.1)
|
88
91
|
racc
|
89
92
|
pry (0.14.2)
|
@@ -94,7 +97,7 @@ GEM
|
|
94
97
|
pry (>= 0.13, < 0.15)
|
95
98
|
psych (5.1.2)
|
96
99
|
stringio
|
97
|
-
racc (1.
|
100
|
+
racc (1.8.1)
|
98
101
|
rack (3.0.9)
|
99
102
|
rack-session (2.0.0)
|
100
103
|
rack (>= 3.0.0)
|
@@ -122,10 +125,9 @@ GEM
|
|
122
125
|
rake (13.1.0)
|
123
126
|
rdoc (6.6.2)
|
124
127
|
psych (>= 4.0.0)
|
125
|
-
regexp_parser (2.
|
128
|
+
regexp_parser (2.10.0)
|
126
129
|
reline (0.4.2)
|
127
130
|
io-console (~> 0.5)
|
128
|
-
rexml (3.2.6)
|
129
131
|
rspec (3.13.0)
|
130
132
|
rspec-core (~> 3.13.0)
|
131
133
|
rspec-expectations (~> 3.13.0)
|
@@ -142,19 +144,19 @@ GEM
|
|
142
144
|
diff-lcs (>= 1.2.0, < 2.0)
|
143
145
|
rspec-support (~> 3.13.0)
|
144
146
|
rspec-support (3.13.0)
|
145
|
-
rubocop (1.
|
147
|
+
rubocop (1.74.0)
|
146
148
|
json (~> 2.3)
|
147
|
-
language_server-protocol (
|
149
|
+
language_server-protocol (~> 3.17.0.2)
|
150
|
+
lint_roller (~> 1.1.0)
|
148
151
|
parallel (~> 1.10)
|
149
152
|
parser (>= 3.3.0.2)
|
150
153
|
rainbow (>= 2.2.2, < 4.0)
|
151
|
-
regexp_parser (>=
|
152
|
-
|
153
|
-
rubocop-ast (>= 1.30.0, < 2.0)
|
154
|
+
regexp_parser (>= 2.9.3, < 3.0)
|
155
|
+
rubocop-ast (>= 1.38.0, < 2.0)
|
154
156
|
ruby-progressbar (~> 1.7)
|
155
|
-
unicode-display_width (>= 2.4.0, <
|
156
|
-
rubocop-ast (1.
|
157
|
-
parser (>= 3.
|
157
|
+
unicode-display_width (>= 2.4.0, < 4.0)
|
158
|
+
rubocop-ast (1.39.0)
|
159
|
+
parser (>= 3.3.1.0)
|
158
160
|
rubocop-performance (1.20.2)
|
159
161
|
rubocop (>= 1.48.1, < 2.0)
|
160
162
|
rubocop-ast (>= 1.30.0, < 2.0)
|
@@ -170,7 +172,9 @@ GEM
|
|
170
172
|
timeout (0.4.1)
|
171
173
|
tzinfo (2.0.6)
|
172
174
|
concurrent-ruby (~> 1.0)
|
173
|
-
unicode-display_width (
|
175
|
+
unicode-display_width (3.1.4)
|
176
|
+
unicode-emoji (~> 4.0, >= 4.0.4)
|
177
|
+
unicode-emoji (4.0.4)
|
174
178
|
webrick (1.8.1)
|
175
179
|
zeitwerk (2.6.13)
|
176
180
|
|
@@ -178,18 +182,23 @@ PLATFORMS
|
|
178
182
|
arm64-darwin-21
|
179
183
|
arm64-darwin-22
|
180
184
|
arm64-darwin-23
|
185
|
+
arm64-darwin-24
|
181
186
|
x86_64-linux
|
182
187
|
|
183
188
|
DEPENDENCIES
|
184
189
|
appraisal (~> 2.4.1)
|
190
|
+
base64
|
185
191
|
climate_control (~> 0.0.3)
|
186
192
|
codeclimate-test-reporter (~> 1.0.3)
|
187
193
|
departure!
|
194
|
+
lhm
|
195
|
+
logger
|
196
|
+
mutex_m
|
188
197
|
pry-byebug
|
189
198
|
rake (>= 10.0)
|
190
199
|
rspec (~> 3.4, >= 3.4.0)
|
191
200
|
rspec-its (~> 1.2)
|
192
|
-
rubocop (~> 1.
|
201
|
+
rubocop (~> 1.74.0)
|
193
202
|
rubocop-performance (~> 1.20.2)
|
194
203
|
|
195
204
|
BUNDLED WITH
|
data/README.md
CHANGED
@@ -147,6 +147,14 @@ end
|
|
147
147
|
It's strongly recommended to name it after this gems name, such as
|
148
148
|
`config/initializers/departure.rb`
|
149
149
|
|
150
|
+
### Configuration Options
|
151
|
+
|
152
|
+
All configuration options are configurable from the `Departure.configure` block example below
|
153
|
+
|
154
|
+
|Option|Default|What it Controls|
|
155
|
+
|---|---|---|
|
156
|
+
|disable_rails_advisory_lock_patch|false|When truthy, disables a patch in at least rails 7.1 and 7.2 where rails throws ConcurrentMigrationErrors due to the inability to release the advisory lock in migrations|
|
157
|
+
|
150
158
|
### Disable on per-migration basis
|
151
159
|
|
152
160
|
Departure gem is enabled by default.
|
data/Rakefile
CHANGED
@@ -12,6 +12,14 @@ namespace :db do
|
|
12
12
|
desc 'Create the test database'
|
13
13
|
task :create do
|
14
14
|
config = Configuration.new
|
15
|
+
|
16
|
+
ActiveRecord::Base.establish_connection(
|
17
|
+
adapter: 'mysql2',
|
18
|
+
host: config['hostname'],
|
19
|
+
username: config['username'],
|
20
|
+
password: config['password']
|
21
|
+
)
|
22
|
+
|
15
23
|
TestDatabase.new(config).setup_test_database
|
16
24
|
end
|
17
25
|
end
|
data/bin/rails
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
ENV['RAILS_ENV'] ||= 'development'
|
4
|
+
|
5
|
+
APP_PATH = File.expand_path('../spec/dummy/config/application', __dir__)
|
6
|
+
require_relative '../spec/dummy/config/boot'
|
7
|
+
require 'rake'
|
8
|
+
require 'departure'
|
9
|
+
|
10
|
+
# Load the rails application
|
11
|
+
require APP_PATH
|
12
|
+
|
13
|
+
begin
|
14
|
+
Rails.application.load_tasks
|
15
|
+
Rake::Task['db:create'].invoke
|
16
|
+
|
17
|
+
ENV['SCHEMA'] = File.expand_path('../spec/dummy/db/base_schema.rb', __dir__)
|
18
|
+
Rake::Task['db:schema:load'].invoke
|
19
|
+
rescue StandardError => e
|
20
|
+
puts "there was an error creating your database #{e}"
|
21
|
+
exit 1
|
22
|
+
end
|
23
|
+
|
24
|
+
require 'rails/commands'
|
data/departure.gemspec
CHANGED
@@ -21,8 +21,8 @@ Gem::Specification.new do |spec|
|
|
21
21
|
|
22
22
|
spec.required_ruby_version = '>= 2.7.0'
|
23
23
|
|
24
|
-
spec.add_runtime_dependency 'railties', '>= 6.0.0', '!= 7.0.0', '< 7.
|
25
|
-
spec.add_runtime_dependency 'activerecord', '>= 6.0.0', '!= 7.0.0', '< 7.
|
24
|
+
spec.add_runtime_dependency 'railties', '>= 6.0.0', '!= 7.0.0', '< 7.3.0'
|
25
|
+
spec.add_runtime_dependency 'activerecord', '>= 6.0.0', '!= 7.0.0', '< 7.3.0'
|
26
26
|
spec.add_runtime_dependency 'mysql2', '>= 0.4.0', '< 0.6.0'
|
27
27
|
|
28
28
|
spec.add_development_dependency 'appraisal', '~> 2.4.1'
|
@@ -2,9 +2,9 @@ PATH
|
|
2
2
|
remote: ..
|
3
3
|
specs:
|
4
4
|
departure (6.7.0)
|
5
|
-
activerecord (>= 6.0.0, < 7.
|
5
|
+
activerecord (>= 6.0.0, < 7.3.0, != 7.0.0)
|
6
6
|
mysql2 (>= 0.4.0, < 0.6.0)
|
7
|
-
railties (>= 6.0.0, < 7.
|
7
|
+
railties (>= 6.0.0, < 7.3.0, != 7.0.0)
|
8
8
|
|
9
9
|
GEM
|
10
10
|
remote: https://rubygems.org/
|
@@ -73,24 +73,24 @@ GEM
|
|
73
73
|
rake
|
74
74
|
thor (>= 0.14.0)
|
75
75
|
ast (2.4.2)
|
76
|
-
builder (3.
|
76
|
+
builder (3.3.0)
|
77
77
|
byebug (11.1.3)
|
78
78
|
climate_control (0.0.4)
|
79
79
|
activesupport (>= 3.0)
|
80
80
|
codeclimate-test-reporter (1.0.9)
|
81
81
|
simplecov (<= 0.13)
|
82
82
|
coderay (1.1.3)
|
83
|
-
concurrent-ruby (1.
|
83
|
+
concurrent-ruby (1.3.3)
|
84
84
|
crass (1.0.6)
|
85
85
|
date (3.3.4)
|
86
86
|
diff-lcs (1.5.1)
|
87
87
|
docile (1.1.5)
|
88
|
-
erubi (1.
|
88
|
+
erubi (1.13.0)
|
89
89
|
globalid (1.2.1)
|
90
90
|
activesupport (>= 6.1)
|
91
|
-
i18n (1.14.
|
91
|
+
i18n (1.14.5)
|
92
92
|
concurrent-ruby (~> 1.0)
|
93
|
-
json (2.7.
|
93
|
+
json (2.7.2)
|
94
94
|
language_server-protocol (3.17.0.3)
|
95
95
|
loofah (2.22.0)
|
96
96
|
crass (~> 1.0.2)
|
@@ -100,27 +100,27 @@ GEM
|
|
100
100
|
net-imap
|
101
101
|
net-pop
|
102
102
|
net-smtp
|
103
|
-
marcel (1.0.
|
104
|
-
method_source (1.
|
103
|
+
marcel (1.0.4)
|
104
|
+
method_source (1.1.0)
|
105
105
|
mini_mime (1.1.5)
|
106
|
-
minitest (5.
|
106
|
+
minitest (5.24.1)
|
107
107
|
mysql2 (0.5.6)
|
108
|
-
net-imap (0.4.
|
108
|
+
net-imap (0.4.12)
|
109
109
|
date
|
110
110
|
net-protocol
|
111
111
|
net-pop (0.1.2)
|
112
112
|
net-protocol
|
113
113
|
net-protocol (0.2.2)
|
114
114
|
timeout
|
115
|
-
net-smtp (0.
|
115
|
+
net-smtp (0.5.0)
|
116
116
|
net-protocol
|
117
|
-
nio4r (2.7.
|
118
|
-
nokogiri (1.
|
117
|
+
nio4r (2.7.3)
|
118
|
+
nokogiri (1.18.3-arm64-darwin)
|
119
119
|
racc (~> 1.4)
|
120
|
-
nokogiri (1.
|
120
|
+
nokogiri (1.18.3-x86_64-linux-gnu)
|
121
121
|
racc (~> 1.4)
|
122
|
-
parallel (1.
|
123
|
-
parser (3.3.0
|
122
|
+
parallel (1.25.1)
|
123
|
+
parser (3.3.3.0)
|
124
124
|
ast (~> 2.4.1)
|
125
125
|
racc
|
126
126
|
pry (0.14.2)
|
@@ -129,8 +129,8 @@ GEM
|
|
129
129
|
pry-byebug (3.10.1)
|
130
130
|
byebug (~> 11.0)
|
131
131
|
pry (>= 0.13, < 0.15)
|
132
|
-
racc (1.
|
133
|
-
rack (2.2.
|
132
|
+
racc (1.8.0)
|
133
|
+
rack (2.2.9)
|
134
134
|
rack-test (2.1.0)
|
135
135
|
rack (>= 1.3)
|
136
136
|
rails (6.1.7.6)
|
@@ -162,25 +162,26 @@ GEM
|
|
162
162
|
rake (>= 12.2)
|
163
163
|
thor (~> 1.0)
|
164
164
|
rainbow (3.1.1)
|
165
|
-
rake (13.1
|
166
|
-
regexp_parser (2.9.
|
167
|
-
rexml (3.
|
165
|
+
rake (13.2.1)
|
166
|
+
regexp_parser (2.9.2)
|
167
|
+
rexml (3.3.0)
|
168
|
+
strscan
|
168
169
|
rspec (3.13.0)
|
169
170
|
rspec-core (~> 3.13.0)
|
170
171
|
rspec-expectations (~> 3.13.0)
|
171
172
|
rspec-mocks (~> 3.13.0)
|
172
173
|
rspec-core (3.13.0)
|
173
174
|
rspec-support (~> 3.13.0)
|
174
|
-
rspec-expectations (3.13.
|
175
|
+
rspec-expectations (3.13.1)
|
175
176
|
diff-lcs (>= 1.2.0, < 2.0)
|
176
177
|
rspec-support (~> 3.13.0)
|
177
178
|
rspec-its (1.3.0)
|
178
179
|
rspec-core (>= 3.0.0)
|
179
180
|
rspec-expectations (>= 3.0.0)
|
180
|
-
rspec-mocks (3.13.
|
181
|
+
rspec-mocks (3.13.1)
|
181
182
|
diff-lcs (>= 1.2.0, < 2.0)
|
182
183
|
rspec-support (~> 3.13.0)
|
183
|
-
rspec-support (3.13.
|
184
|
+
rspec-support (3.13.1)
|
184
185
|
rubocop (1.60.2)
|
185
186
|
json (~> 2.3)
|
186
187
|
language_server-protocol (>= 3.17.0)
|
@@ -192,8 +193,8 @@ GEM
|
|
192
193
|
rubocop-ast (>= 1.30.0, < 2.0)
|
193
194
|
ruby-progressbar (~> 1.7)
|
194
195
|
unicode-display_width (>= 2.4.0, < 3.0)
|
195
|
-
rubocop-ast (1.
|
196
|
-
parser (>= 3.
|
196
|
+
rubocop-ast (1.31.3)
|
197
|
+
parser (>= 3.3.1.0)
|
197
198
|
rubocop-performance (1.20.2)
|
198
199
|
rubocop (>= 1.48.1, < 2.0)
|
199
200
|
rubocop-ast (>= 1.30.0, < 2.0)
|
@@ -210,7 +211,8 @@ GEM
|
|
210
211
|
actionpack (>= 5.2)
|
211
212
|
activesupport (>= 5.2)
|
212
213
|
sprockets (>= 3.0.0)
|
213
|
-
|
214
|
+
strscan (3.1.0)
|
215
|
+
thor (1.3.1)
|
214
216
|
timeout (0.4.1)
|
215
217
|
tzinfo (2.0.6)
|
216
218
|
concurrent-ruby (~> 1.0)
|
@@ -218,7 +220,7 @@ GEM
|
|
218
220
|
websocket-driver (0.7.6)
|
219
221
|
websocket-extensions (>= 0.1.0)
|
220
222
|
websocket-extensions (0.1.5)
|
221
|
-
zeitwerk (2.6.
|
223
|
+
zeitwerk (2.6.16)
|
222
224
|
|
223
225
|
PLATFORMS
|
224
226
|
arm64-darwin-23
|
@@ -2,9 +2,9 @@ PATH
|
|
2
2
|
remote: ..
|
3
3
|
specs:
|
4
4
|
departure (6.7.0)
|
5
|
-
activerecord (>= 6.0.0, < 7.
|
5
|
+
activerecord (>= 6.0.0, < 7.3.0, != 7.0.0)
|
6
6
|
mysql2 (>= 0.4.0, < 0.6.0)
|
7
|
-
railties (>= 6.0.0, < 7.
|
7
|
+
railties (>= 6.0.0, < 7.3.0, != 7.0.0)
|
8
8
|
|
9
9
|
GEM
|
10
10
|
remote: https://rubygems.org/
|
@@ -79,24 +79,24 @@ GEM
|
|
79
79
|
rake
|
80
80
|
thor (>= 0.14.0)
|
81
81
|
ast (2.4.2)
|
82
|
-
builder (3.
|
82
|
+
builder (3.3.0)
|
83
83
|
byebug (11.1.3)
|
84
84
|
climate_control (0.0.4)
|
85
85
|
activesupport (>= 3.0)
|
86
86
|
codeclimate-test-reporter (1.0.9)
|
87
87
|
simplecov (<= 0.13)
|
88
88
|
coderay (1.1.3)
|
89
|
-
concurrent-ruby (1.
|
89
|
+
concurrent-ruby (1.3.3)
|
90
90
|
crass (1.0.6)
|
91
91
|
date (3.3.4)
|
92
92
|
diff-lcs (1.5.1)
|
93
93
|
docile (1.1.5)
|
94
|
-
erubi (1.
|
94
|
+
erubi (1.13.0)
|
95
95
|
globalid (1.2.1)
|
96
96
|
activesupport (>= 6.1)
|
97
|
-
i18n (1.14.
|
97
|
+
i18n (1.14.5)
|
98
98
|
concurrent-ruby (~> 1.0)
|
99
|
-
json (2.7.
|
99
|
+
json (2.7.2)
|
100
100
|
language_server-protocol (3.17.0.3)
|
101
101
|
loofah (2.22.0)
|
102
102
|
crass (~> 1.0.2)
|
@@ -106,27 +106,27 @@ GEM
|
|
106
106
|
net-imap
|
107
107
|
net-pop
|
108
108
|
net-smtp
|
109
|
-
marcel (1.0.
|
110
|
-
method_source (1.
|
109
|
+
marcel (1.0.4)
|
110
|
+
method_source (1.1.0)
|
111
111
|
mini_mime (1.1.5)
|
112
|
-
minitest (5.
|
112
|
+
minitest (5.24.1)
|
113
113
|
mysql2 (0.5.6)
|
114
|
-
net-imap (0.4.
|
114
|
+
net-imap (0.4.12)
|
115
115
|
date
|
116
116
|
net-protocol
|
117
117
|
net-pop (0.1.2)
|
118
118
|
net-protocol
|
119
119
|
net-protocol (0.2.2)
|
120
120
|
timeout
|
121
|
-
net-smtp (0.
|
121
|
+
net-smtp (0.5.0)
|
122
122
|
net-protocol
|
123
|
-
nio4r (2.7.
|
124
|
-
nokogiri (1.
|
123
|
+
nio4r (2.7.3)
|
124
|
+
nokogiri (1.18.3-arm64-darwin)
|
125
125
|
racc (~> 1.4)
|
126
|
-
nokogiri (1.
|
126
|
+
nokogiri (1.18.3-x86_64-linux-gnu)
|
127
127
|
racc (~> 1.4)
|
128
|
-
parallel (1.
|
129
|
-
parser (3.3.0
|
128
|
+
parallel (1.25.1)
|
129
|
+
parser (3.3.3.0)
|
130
130
|
ast (~> 2.4.1)
|
131
131
|
racc
|
132
132
|
pry (0.14.2)
|
@@ -135,8 +135,8 @@ GEM
|
|
135
135
|
pry-byebug (3.10.1)
|
136
136
|
byebug (~> 11.0)
|
137
137
|
pry (>= 0.13, < 0.15)
|
138
|
-
racc (1.
|
139
|
-
rack (2.2.
|
138
|
+
racc (1.8.0)
|
139
|
+
rack (2.2.9)
|
140
140
|
rack-test (2.1.0)
|
141
141
|
rack (>= 1.3)
|
142
142
|
rails (7.0.8)
|
@@ -168,25 +168,26 @@ GEM
|
|
168
168
|
thor (~> 1.0)
|
169
169
|
zeitwerk (~> 2.5)
|
170
170
|
rainbow (3.1.1)
|
171
|
-
rake (13.1
|
172
|
-
regexp_parser (2.9.
|
173
|
-
rexml (3.
|
171
|
+
rake (13.2.1)
|
172
|
+
regexp_parser (2.9.2)
|
173
|
+
rexml (3.3.0)
|
174
|
+
strscan
|
174
175
|
rspec (3.13.0)
|
175
176
|
rspec-core (~> 3.13.0)
|
176
177
|
rspec-expectations (~> 3.13.0)
|
177
178
|
rspec-mocks (~> 3.13.0)
|
178
179
|
rspec-core (3.13.0)
|
179
180
|
rspec-support (~> 3.13.0)
|
180
|
-
rspec-expectations (3.13.
|
181
|
+
rspec-expectations (3.13.1)
|
181
182
|
diff-lcs (>= 1.2.0, < 2.0)
|
182
183
|
rspec-support (~> 3.13.0)
|
183
184
|
rspec-its (1.3.0)
|
184
185
|
rspec-core (>= 3.0.0)
|
185
186
|
rspec-expectations (>= 3.0.0)
|
186
|
-
rspec-mocks (3.13.
|
187
|
+
rspec-mocks (3.13.1)
|
187
188
|
diff-lcs (>= 1.2.0, < 2.0)
|
188
189
|
rspec-support (~> 3.13.0)
|
189
|
-
rspec-support (3.13.
|
190
|
+
rspec-support (3.13.1)
|
190
191
|
rubocop (1.60.2)
|
191
192
|
json (~> 2.3)
|
192
193
|
language_server-protocol (>= 3.17.0)
|
@@ -198,8 +199,8 @@ GEM
|
|
198
199
|
rubocop-ast (>= 1.30.0, < 2.0)
|
199
200
|
ruby-progressbar (~> 1.7)
|
200
201
|
unicode-display_width (>= 2.4.0, < 3.0)
|
201
|
-
rubocop-ast (1.
|
202
|
-
parser (>= 3.
|
202
|
+
rubocop-ast (1.31.3)
|
203
|
+
parser (>= 3.3.1.0)
|
203
204
|
rubocop-performance (1.20.2)
|
204
205
|
rubocop (>= 1.48.1, < 2.0)
|
205
206
|
rubocop-ast (>= 1.30.0, < 2.0)
|
@@ -209,7 +210,8 @@ GEM
|
|
209
210
|
json (>= 1.8, < 3)
|
210
211
|
simplecov-html (~> 0.10.0)
|
211
212
|
simplecov-html (0.10.2)
|
212
|
-
|
213
|
+
strscan (3.1.0)
|
214
|
+
thor (1.3.1)
|
213
215
|
timeout (0.4.1)
|
214
216
|
tzinfo (2.0.6)
|
215
217
|
concurrent-ruby (~> 1.0)
|
@@ -217,7 +219,7 @@ GEM
|
|
217
219
|
websocket-driver (0.7.6)
|
218
220
|
websocket-extensions (>= 0.1.0)
|
219
221
|
websocket-extensions (0.1.5)
|
220
|
-
zeitwerk (2.6.
|
222
|
+
zeitwerk (2.6.16)
|
221
223
|
|
222
224
|
PLATFORMS
|
223
225
|
arm64-darwin-23
|
data/gemfiles/rails_7_1.gemfile
CHANGED
@@ -4,7 +4,7 @@ source 'https://rubygems.org'
|
|
4
4
|
|
5
5
|
gem 'codeclimate-test-reporter', '~> 1.0.3', group: :test, require: nil
|
6
6
|
gem 'rails', '7.1.3'
|
7
|
-
gem 'rubocop', '~> 1.
|
7
|
+
gem 'rubocop', '~> 1.74.0', require: false
|
8
8
|
gem 'rubocop-performance', '~> 1.20.2', require: false
|
9
9
|
|
10
10
|
gemspec path: '../'
|