departure 6.8.0 → 7.0.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 +2 -2
- data/.rubocop.yml +1 -1
- data/Appraisals +4 -4
- data/CHANGELOG.md +5 -1
- data/Gemfile +1 -0
- data/Gemfile.lock +86 -73
- data/Rakefile +1 -0
- data/departure.gemspec +3 -3
- data/gemfiles/rails_7_0.gemfile +8 -2
- data/gemfiles/rails_7_0.gemfile.lock +178 -129
- data/gemfiles/rails_7_1.gemfile +6 -1
- data/gemfiles/rails_7_1.gemfile.lock +136 -120
- data/gemfiles/rails_7_2.gemfile +5 -0
- data/gemfiles/rails_7_2.gemfile.lock +33 -21
- data/gemfiles/{rails_6_1.gemfile → rails_8_0.gemfile} +6 -2
- data/gemfiles/rails_8_0.gemfile.lock +285 -0
- data/lib/active_record/connection_adapters/for_alter.rb +4 -17
- data/lib/active_record/connection_adapters/percona_adapter.rb +8 -21
- data/lib/active_record/connection_adapters/rails_8_0_departure_adapter.rb +293 -0
- data/lib/departure/migration.rb +1 -5
- data/lib/departure/rails_adapter.rb +42 -2
- data/lib/departure/rails_patches/active_record_migrator_with_advisory_lock_patch.rb +2 -2
- data/lib/departure/runner.rb +8 -0
- data/lib/departure/version.rb +1 -1
- metadata +11 -37
- data/gemfiles/rails_6_1.gemfile.lock +0 -243
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c90b332f5ca8002ae23bedaab9b368f2aa89c103ab287aa593f5563901e9bb10
|
4
|
+
data.tar.gz: 46c52d6ce29dda0c0358cca5da19bfd5ebbe327e626c3c4c332fa7189df17759
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dd21cf4f7b78ea979a92424540dde3a0e8bad9d1acf891f334352e5e6f9cc372d0c4fa897d9afb88d1cb282504a65895c00a87b467a52f6ca2423501c7f68af0
|
7
|
+
data.tar.gz: 4b9b1112c42fd3b823eeb613bbde33ec596da1a7b2e1371ef2f87960b60a4c40a21a7d43bd2222269b2a8e71bd00c91bfa5d044ff5c2dce489cc299473b73a22
|
data/.github/workflows/test.yml
CHANGED
@@ -8,14 +8,14 @@ jobs:
|
|
8
8
|
fail-fast: false
|
9
9
|
matrix:
|
10
10
|
ruby:
|
11
|
-
- 3.1
|
12
11
|
- 3.2
|
13
12
|
- 3.3
|
13
|
+
- 3.4
|
14
14
|
gemfile:
|
15
|
-
- gemfiles/rails_6_1.gemfile
|
16
15
|
- gemfiles/rails_7_0.gemfile
|
17
16
|
- gemfiles/rails_7_1.gemfile
|
18
17
|
- gemfiles/rails_7_2.gemfile
|
18
|
+
- gemfiles/rails_8_0.gemfile
|
19
19
|
env:
|
20
20
|
PERCONA_DB_USER: root
|
21
21
|
PERCONA_DB_PASSWORD: root
|
data/.rubocop.yml
CHANGED
data/Appraisals
CHANGED
@@ -1,7 +1,3 @@
|
|
1
|
-
appraise 'rails-6-1' do
|
2
|
-
gem 'rails', '6.1.7.6'
|
3
|
-
end
|
4
|
-
|
5
1
|
appraise 'rails-7-0' do
|
6
2
|
gem 'rails', '7.0.8'
|
7
3
|
end
|
@@ -13,3 +9,7 @@ end
|
|
13
9
|
appraise 'rails-7-2' do
|
14
10
|
gem 'rails', '7.2.2.1'
|
15
11
|
end
|
12
|
+
|
13
|
+
appraise 'rails-8-0' do
|
14
|
+
gem 'rails', '8.0.2.1'
|
15
|
+
end
|
data/CHANGELOG.md
CHANGED
@@ -4,7 +4,11 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
|
4
4
|
|
5
5
|
Please follow the format in [Keep a Changelog](http://keepachangelog.com/)
|
6
6
|
|
7
|
-
## [
|
7
|
+
## [7.0.0] - 2025-08-21
|
8
|
+
|
9
|
+
- Drop Ruby 3.1 support. Add >= 3.2 ruby support in gemspec. EOL for 3.1.0 was 2025-03-31
|
10
|
+
- Drop Rails 6.1 support. Add >= 6.2 rails support in gemspec. EOL for 6.1.0 was 2024-10-01
|
11
|
+
- Add Rails 8.0 support
|
8
12
|
|
9
13
|
## [6.8.0] - 2025-03-31
|
10
14
|
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,149 +1,159 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
departure (
|
5
|
-
activerecord (>=
|
4
|
+
departure (7.0.0)
|
5
|
+
activerecord (>= 7.0.1)
|
6
6
|
mysql2 (>= 0.4.0, < 0.6.0)
|
7
|
-
railties (>=
|
7
|
+
railties (>= 7.0.1)
|
8
8
|
|
9
9
|
GEM
|
10
10
|
remote: https://rubygems.org/
|
11
11
|
specs:
|
12
|
-
actionpack (
|
13
|
-
actionview (=
|
14
|
-
activesupport (=
|
12
|
+
actionpack (8.0.2.1)
|
13
|
+
actionview (= 8.0.2.1)
|
14
|
+
activesupport (= 8.0.2.1)
|
15
15
|
nokogiri (>= 1.8.5)
|
16
|
-
racc
|
17
16
|
rack (>= 2.2.4)
|
18
17
|
rack-session (>= 1.0.1)
|
19
18
|
rack-test (>= 0.6.3)
|
20
19
|
rails-dom-testing (~> 2.2)
|
21
20
|
rails-html-sanitizer (~> 1.6)
|
22
|
-
|
23
|
-
|
21
|
+
useragent (~> 0.16)
|
22
|
+
actionview (8.0.2.1)
|
23
|
+
activesupport (= 8.0.2.1)
|
24
24
|
builder (~> 3.1)
|
25
25
|
erubi (~> 1.11)
|
26
26
|
rails-dom-testing (~> 2.2)
|
27
27
|
rails-html-sanitizer (~> 1.6)
|
28
|
-
activemodel (
|
29
|
-
activesupport (=
|
30
|
-
activerecord (
|
31
|
-
activemodel (=
|
32
|
-
activesupport (=
|
28
|
+
activemodel (8.0.2.1)
|
29
|
+
activesupport (= 8.0.2.1)
|
30
|
+
activerecord (8.0.2.1)
|
31
|
+
activemodel (= 8.0.2.1)
|
32
|
+
activesupport (= 8.0.2.1)
|
33
33
|
timeout (>= 0.4.0)
|
34
|
-
activesupport (
|
34
|
+
activesupport (8.0.2.1)
|
35
35
|
base64
|
36
|
+
benchmark (>= 0.3)
|
36
37
|
bigdecimal
|
37
|
-
concurrent-ruby (~> 1.0, >= 1.
|
38
|
+
concurrent-ruby (~> 1.0, >= 1.3.1)
|
38
39
|
connection_pool (>= 2.2.5)
|
39
40
|
drb
|
40
41
|
i18n (>= 1.6, < 2)
|
42
|
+
logger (>= 1.4.2)
|
41
43
|
minitest (>= 5.1)
|
42
|
-
|
43
|
-
tzinfo (~> 2.0)
|
44
|
+
securerandom (>= 0.3)
|
45
|
+
tzinfo (~> 2.0, >= 2.0.5)
|
46
|
+
uri (>= 0.13.1)
|
44
47
|
appraisal (2.4.1)
|
45
48
|
bundler
|
46
49
|
rake
|
47
50
|
thor (>= 0.14.0)
|
48
|
-
ast (2.4.
|
51
|
+
ast (2.4.3)
|
49
52
|
base64 (0.2.0)
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
+
benchmark (0.4.0)
|
54
|
+
bigdecimal (3.1.9)
|
55
|
+
builder (3.3.0)
|
56
|
+
byebug (12.0.0)
|
53
57
|
climate_control (0.0.4)
|
54
58
|
activesupport (>= 3.0)
|
55
59
|
codeclimate-test-reporter (1.0.9)
|
56
60
|
simplecov (<= 0.13)
|
57
61
|
coderay (1.1.3)
|
58
|
-
concurrent-ruby (1.
|
59
|
-
connection_pool (2.
|
62
|
+
concurrent-ruby (1.3.5)
|
63
|
+
connection_pool (2.5.0)
|
60
64
|
crass (1.0.6)
|
61
|
-
|
65
|
+
date (3.4.1)
|
66
|
+
diff-lcs (1.6.1)
|
62
67
|
docile (1.1.5)
|
63
|
-
drb (2.2.
|
64
|
-
|
65
|
-
|
66
|
-
i18n (1.14.1)
|
68
|
+
drb (2.2.1)
|
69
|
+
erubi (1.13.1)
|
70
|
+
i18n (1.14.7)
|
67
71
|
concurrent-ruby (~> 1.0)
|
68
|
-
io-console (0.
|
69
|
-
irb (1.
|
70
|
-
|
72
|
+
io-console (0.8.0)
|
73
|
+
irb (1.15.1)
|
74
|
+
pp (>= 0.6.0)
|
75
|
+
rdoc (>= 4.0.0)
|
71
76
|
reline (>= 0.4.2)
|
72
77
|
json (2.10.2)
|
73
78
|
language_server-protocol (3.17.0.4)
|
74
79
|
lhm (2.2.0)
|
75
80
|
lint_roller (1.1.0)
|
76
|
-
logger (1.
|
77
|
-
loofah (2.
|
81
|
+
logger (1.7.0)
|
82
|
+
loofah (2.24.0)
|
78
83
|
crass (~> 1.0.2)
|
79
84
|
nokogiri (>= 1.12.0)
|
80
|
-
method_source (1.
|
81
|
-
minitest (5.
|
82
|
-
mutex_m (0.
|
85
|
+
method_source (1.1.0)
|
86
|
+
minitest (5.25.5)
|
87
|
+
mutex_m (0.3.0)
|
83
88
|
mysql2 (0.5.6)
|
84
|
-
nokogiri (1.18.
|
89
|
+
nokogiri (1.18.7-arm64-darwin)
|
85
90
|
racc (~> 1.4)
|
86
|
-
nokogiri (1.18.
|
91
|
+
nokogiri (1.18.7-x86_64-linux-gnu)
|
87
92
|
racc (~> 1.4)
|
88
93
|
parallel (1.26.3)
|
89
|
-
parser (3.3.7.
|
94
|
+
parser (3.3.7.4)
|
90
95
|
ast (~> 2.4.1)
|
91
96
|
racc
|
92
|
-
|
97
|
+
pp (0.6.2)
|
98
|
+
prettyprint
|
99
|
+
prettyprint (0.2.0)
|
100
|
+
prism (1.4.0)
|
101
|
+
pry (0.15.2)
|
93
102
|
coderay (~> 1.1)
|
94
103
|
method_source (~> 1.0)
|
95
|
-
pry-byebug (3.
|
96
|
-
byebug (~>
|
97
|
-
pry (>= 0.13, < 0.
|
98
|
-
psych (5.
|
104
|
+
pry-byebug (3.11.0)
|
105
|
+
byebug (~> 12.0)
|
106
|
+
pry (>= 0.13, < 0.16)
|
107
|
+
psych (5.2.3)
|
108
|
+
date
|
99
109
|
stringio
|
100
110
|
racc (1.8.1)
|
101
|
-
rack (3.
|
102
|
-
rack-session (2.
|
111
|
+
rack (3.1.12)
|
112
|
+
rack-session (2.1.0)
|
113
|
+
base64 (>= 0.1.0)
|
103
114
|
rack (>= 3.0.0)
|
104
|
-
rack-test (2.
|
115
|
+
rack-test (2.2.0)
|
105
116
|
rack (>= 1.3)
|
106
|
-
rackup (2.1
|
117
|
+
rackup (2.2.1)
|
107
118
|
rack (>= 3)
|
108
|
-
webrick (~> 1.8)
|
109
119
|
rails-dom-testing (2.2.0)
|
110
120
|
activesupport (>= 5.0.0)
|
111
121
|
minitest
|
112
122
|
nokogiri (>= 1.6)
|
113
|
-
rails-html-sanitizer (1.6.
|
123
|
+
rails-html-sanitizer (1.6.2)
|
114
124
|
loofah (~> 2.21)
|
115
|
-
nokogiri (
|
116
|
-
railties (
|
117
|
-
actionpack (=
|
118
|
-
activesupport (=
|
119
|
-
irb
|
125
|
+
nokogiri (>= 1.15.7, != 1.16.7, != 1.16.6, != 1.16.5, != 1.16.4, != 1.16.3, != 1.16.2, != 1.16.1, != 1.16.0.rc1, != 1.16.0)
|
126
|
+
railties (8.0.2.1)
|
127
|
+
actionpack (= 8.0.2.1)
|
128
|
+
activesupport (= 8.0.2.1)
|
129
|
+
irb (~> 1.13)
|
120
130
|
rackup (>= 1.0.0)
|
121
131
|
rake (>= 12.2)
|
122
132
|
thor (~> 1.0, >= 1.2.2)
|
123
133
|
zeitwerk (~> 2.6)
|
124
134
|
rainbow (3.1.1)
|
125
|
-
rake (13.1
|
126
|
-
rdoc (6.
|
135
|
+
rake (13.2.1)
|
136
|
+
rdoc (6.13.1)
|
127
137
|
psych (>= 4.0.0)
|
128
138
|
regexp_parser (2.10.0)
|
129
|
-
reline (0.
|
139
|
+
reline (0.6.0)
|
130
140
|
io-console (~> 0.5)
|
131
141
|
rspec (3.13.0)
|
132
142
|
rspec-core (~> 3.13.0)
|
133
143
|
rspec-expectations (~> 3.13.0)
|
134
144
|
rspec-mocks (~> 3.13.0)
|
135
|
-
rspec-core (3.13.
|
145
|
+
rspec-core (3.13.3)
|
136
146
|
rspec-support (~> 3.13.0)
|
137
|
-
rspec-expectations (3.13.
|
147
|
+
rspec-expectations (3.13.3)
|
138
148
|
diff-lcs (>= 1.2.0, < 2.0)
|
139
149
|
rspec-support (~> 3.13.0)
|
140
|
-
rspec-its (1.3.
|
150
|
+
rspec-its (1.3.1)
|
141
151
|
rspec-core (>= 3.0.0)
|
142
152
|
rspec-expectations (>= 3.0.0)
|
143
|
-
rspec-mocks (3.13.
|
153
|
+
rspec-mocks (3.13.2)
|
144
154
|
diff-lcs (>= 1.2.0, < 2.0)
|
145
155
|
rspec-support (~> 3.13.0)
|
146
|
-
rspec-support (3.13.
|
156
|
+
rspec-support (3.13.2)
|
147
157
|
rubocop (1.74.0)
|
148
158
|
json (~> 2.3)
|
149
159
|
language_server-protocol (~> 3.17.0.2)
|
@@ -155,28 +165,30 @@ GEM
|
|
155
165
|
rubocop-ast (>= 1.38.0, < 2.0)
|
156
166
|
ruby-progressbar (~> 1.7)
|
157
167
|
unicode-display_width (>= 2.4.0, < 4.0)
|
158
|
-
rubocop-ast (1.
|
159
|
-
parser (>= 3.3.
|
168
|
+
rubocop-ast (1.43.0)
|
169
|
+
parser (>= 3.3.7.2)
|
170
|
+
prism (~> 1.4)
|
160
171
|
rubocop-performance (1.20.2)
|
161
172
|
rubocop (>= 1.48.1, < 2.0)
|
162
173
|
rubocop-ast (>= 1.30.0, < 2.0)
|
163
174
|
ruby-progressbar (1.13.0)
|
164
|
-
|
175
|
+
securerandom (0.4.1)
|
165
176
|
simplecov (0.13.0)
|
166
177
|
docile (~> 1.1.0)
|
167
178
|
json (>= 1.8, < 3)
|
168
179
|
simplecov-html (~> 0.10.0)
|
169
180
|
simplecov-html (0.10.2)
|
170
|
-
stringio (3.1.
|
171
|
-
thor (1.3.
|
172
|
-
timeout (0.4.
|
181
|
+
stringio (3.1.6)
|
182
|
+
thor (1.3.2)
|
183
|
+
timeout (0.4.3)
|
173
184
|
tzinfo (2.0.6)
|
174
185
|
concurrent-ruby (~> 1.0)
|
175
186
|
unicode-display_width (3.1.4)
|
176
187
|
unicode-emoji (~> 4.0, >= 4.0.4)
|
177
188
|
unicode-emoji (4.0.4)
|
178
|
-
|
179
|
-
|
189
|
+
uri (1.0.3)
|
190
|
+
useragent (0.16.11)
|
191
|
+
zeitwerk (2.6.18)
|
180
192
|
|
181
193
|
PLATFORMS
|
182
194
|
arm64-darwin-21
|
@@ -200,6 +212,7 @@ DEPENDENCIES
|
|
200
212
|
rspec-its (~> 1.2)
|
201
213
|
rubocop (~> 1.74.0)
|
202
214
|
rubocop-performance (~> 1.20.2)
|
215
|
+
zeitwerk (< 2.7.0)
|
203
216
|
|
204
217
|
BUNDLED WITH
|
205
|
-
2.
|
218
|
+
2.6.6
|
data/Rakefile
CHANGED
data/departure.gemspec
CHANGED
@@ -19,10 +19,10 @@ Gem::Specification.new do |spec|
|
|
19
19
|
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
20
20
|
spec.require_paths = ['lib']
|
21
21
|
|
22
|
-
spec.required_ruby_version = '>= 2.
|
22
|
+
spec.required_ruby_version = '>= 3.2.0'
|
23
23
|
|
24
|
-
spec.add_runtime_dependency 'railties', '>=
|
25
|
-
spec.add_runtime_dependency 'activerecord', '>=
|
24
|
+
spec.add_runtime_dependency 'railties', '>= 7.0.1'
|
25
|
+
spec.add_runtime_dependency 'activerecord', '>= 7.0.1'
|
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'
|
data/gemfiles/rails_7_0.gemfile
CHANGED
@@ -2,9 +2,15 @@
|
|
2
2
|
|
3
3
|
source 'https://rubygems.org'
|
4
4
|
|
5
|
+
gem 'base64'
|
6
|
+
gem 'bigdecimal'
|
5
7
|
gem 'codeclimate-test-reporter', '~> 1.0.3', group: :test, require: nil
|
6
|
-
gem '
|
7
|
-
gem '
|
8
|
+
gem 'lhm'
|
9
|
+
gem 'logger'
|
10
|
+
gem 'mutex_m', require: false
|
11
|
+
gem 'rails', '> 7.0.8'
|
12
|
+
gem 'rubocop', '~> 1.74.0', require: false
|
8
13
|
gem 'rubocop-performance', '~> 1.20.2', require: false
|
14
|
+
gem 'zeitwerk', '< 2.7.0'
|
9
15
|
|
10
16
|
gemspec path: '../'
|