data_migrate 11.0.0.rc → 11.0.0

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: 185a0888ccb82ee2eeb5315024707fb5917a9da92a692951ea0df1ffb9f8f550
4
- data.tar.gz: 28b67173a6eb4a201c1c9bb7d2753f42715b459ab92901a708b68485a7338b78
3
+ metadata.gz: f4cb85674ca4d30151e8398c7459c398cb966db2340569465c891680b46a27f4
4
+ data.tar.gz: a76f23e9e73e3f1be609d982d98788871343e27375aa917d05c69c5f244b31a5
5
5
  SHA512:
6
- metadata.gz: 925d15e79b0cb6d2cedddb691db6e0adc699b67eb1c744c3db98149ffd44024b87781017863e19a9982eb0e5874bc298473938fe8dc86e727a601cc6d9b00eee
7
- data.tar.gz: 9695aeb945e467f00c1da4605642c8511a0f5048873288208ac4b396364fe6f00247b23460aa4175ac12e2a22f66e1376fa6111de2a84c7747a8f4a3d651a3b8
6
+ metadata.gz: 9c7a5fc972ff75b6232c83166f647788bf0ccc20fdb876e20e1e8635155b03e35ec8e8e06a3d266f1725a95f26cc34cb8016235e9d39ebee93275180309a212d
7
+ data.tar.gz: d54ab0386a5b4c926b3979faafedf6b9eb9a7c1a29b1ce16c5c985255195194092600740ffafe9ef6fb974936a0d381eaaec5f60c9ca76b16948d078e33445a5
@@ -9,7 +9,7 @@ jobs:
9
9
  strategy:
10
10
  fail-fast: false
11
11
  matrix:
12
- os: [ "ubuntu-20.04" ]
12
+ os: [ "ubuntu-24.04" ]
13
13
  ruby:
14
14
  - '3.1'
15
15
  - '3.2'
@@ -25,7 +25,7 @@ jobs:
25
25
  RAILS_ENV: test
26
26
  steps:
27
27
  - name: Checkout code
28
- uses: actions/checkout@v3
28
+ uses: actions/checkout@v4
29
29
  - name: Set up Ruby
30
30
  uses: ruby/setup-ruby@v1
31
31
  with:
data/Changelog.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ # 11.0.0
4
+
5
+ - [Update rexml to 3.3.6](https://github.com/ilyakatz/data-migrate/pull/329)
6
+ - Fixes a bug which ignored migrations on [Rails 7.1 and higher](https://github.com/ilyakatz/data-migrate/pull/326)
7
+
3
8
  # 11.0.0rc
4
9
  - Remove Ruby 3.0 from build matrix
5
10
  - Support Rails 7.2.0 https://github.com/ilyakatz/data-migrate/pull/312
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- data_migrate (11.0.0.rc)
4
+ data_migrate (11.0.0)
5
5
  activerecord (>= 6.1)
6
6
  railties (>= 6.1)
7
7
 
@@ -75,6 +75,8 @@ GEM
75
75
  racc (~> 1.4)
76
76
  nokogiri (1.16.2-arm64-darwin)
77
77
  racc (~> 1.4)
78
+ nokogiri (1.16.2-x86_64-darwin)
79
+ racc (~> 1.4)
78
80
  nokogiri (1.16.2-x86_64-linux)
79
81
  racc (~> 1.4)
80
82
  overcommit (0.63.0)
@@ -122,7 +124,7 @@ GEM
122
124
  regexp_parser (2.9.0)
123
125
  reline (0.4.3)
124
126
  io-console (~> 0.5)
125
- rexml (3.3.3)
127
+ rexml (3.3.6)
126
128
  strscan
127
129
  rspec (3.13.0)
128
130
  rspec-core (~> 3.13.0)
@@ -153,6 +155,7 @@ GEM
153
155
  ruby-progressbar (1.13.0)
154
156
  sqlite3 (1.7.2-aarch64-linux)
155
157
  sqlite3 (1.7.2-arm64-darwin)
158
+ sqlite3 (1.7.2-x86_64-darwin)
156
159
  sqlite3 (1.7.2-x86_64-linux)
157
160
  stringio (3.1.0)
158
161
  strscan (3.1.0)
@@ -169,6 +172,7 @@ PLATFORMS
169
172
  aarch64-linux
170
173
  arm64-darwin-22
171
174
  arm64-darwin-23
175
+ x86_64-darwin-22
172
176
  x86_64-linux
173
177
 
174
178
  DEPENDENCIES
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- data_migrate (11.0.0.rc)
4
+ data_migrate (11.0.0)
5
5
  activerecord (>= 6.1)
6
6
  railties (>= 6.1)
7
7
 
@@ -112,6 +112,8 @@ GEM
112
112
  racc (~> 1.4)
113
113
  nokogiri (1.16.7-arm64-darwin)
114
114
  racc (~> 1.4)
115
+ nokogiri (1.16.7-x86_64-darwin)
116
+ racc (~> 1.4)
115
117
  nokogiri (1.16.7-x86_64-linux)
116
118
  racc (~> 1.4)
117
119
  overcommit (0.60.0)
@@ -197,6 +199,7 @@ GEM
197
199
  sprockets (>= 3.0.0)
198
200
  sqlite3 (1.7.2-aarch64-linux)
199
201
  sqlite3 (1.7.2-arm64-darwin)
202
+ sqlite3 (1.7.2-x86_64-darwin)
200
203
  sqlite3 (1.7.2-x86_64-linux)
201
204
  thor (1.3.1)
202
205
  timecop (0.9.6)
@@ -213,6 +216,7 @@ PLATFORMS
213
216
  aarch64-linux
214
217
  arm64-darwin-22
215
218
  arm64-darwin-23
219
+ x86_64-darwin-22
216
220
  x86_64-linux
217
221
 
218
222
  DEPENDENCIES
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- data_migrate (11.0.0.rc)
4
+ data_migrate (11.0.0)
5
5
  activerecord (>= 6.1)
6
6
  railties (>= 6.1)
7
7
 
@@ -119,6 +119,8 @@ GEM
119
119
  racc (~> 1.4)
120
120
  nokogiri (1.16.7-arm64-darwin)
121
121
  racc (~> 1.4)
122
+ nokogiri (1.16.7-x86_64-darwin)
123
+ racc (~> 1.4)
122
124
  nokogiri (1.16.7-x86_64-linux)
123
125
  racc (~> 1.4)
124
126
  overcommit (0.60.0)
@@ -198,6 +200,7 @@ GEM
198
200
  ruby-progressbar (1.13.0)
199
201
  sqlite3 (1.7.2-aarch64-linux)
200
202
  sqlite3 (1.7.2-arm64-darwin)
203
+ sqlite3 (1.7.2-x86_64-darwin)
201
204
  sqlite3 (1.7.2-x86_64-linux)
202
205
  thor (1.3.1)
203
206
  timecop (0.9.6)
@@ -214,6 +217,7 @@ PLATFORMS
214
217
  aarch64-linux
215
218
  arm64-darwin-22
216
219
  arm64-darwin-23
220
+ x86_64-darwin-22
217
221
  x86_64-linux
218
222
 
219
223
  DEPENDENCIES
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- data_migrate (11.0.0.rc)
4
+ data_migrate (11.0.0)
5
5
  activerecord (>= 6.1)
6
6
  railties (>= 6.1)
7
7
 
@@ -137,6 +137,8 @@ GEM
137
137
  racc (~> 1.4)
138
138
  nokogiri (1.16.7-arm64-darwin)
139
139
  racc (~> 1.4)
140
+ nokogiri (1.16.7-x86_64-darwin)
141
+ racc (~> 1.4)
140
142
  nokogiri (1.16.7-x86_64-linux)
141
143
  racc (~> 1.4)
142
144
  overcommit (0.60.0)
@@ -228,6 +230,7 @@ GEM
228
230
  ruby-progressbar (1.13.0)
229
231
  sqlite3 (1.7.2-aarch64-linux)
230
232
  sqlite3 (1.7.2-arm64-darwin)
233
+ sqlite3 (1.7.2-x86_64-darwin)
231
234
  sqlite3 (1.7.2-x86_64-linux)
232
235
  stringio (3.1.1)
233
236
  thor (1.3.1)
@@ -246,6 +249,7 @@ PLATFORMS
246
249
  aarch64-linux
247
250
  arm64-darwin-22
248
251
  arm64-darwin-23
252
+ x86_64-darwin-22
249
253
  x86_64-linux
250
254
 
251
255
  DEPENDENCIES
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- data_migrate (11.0.0.rc)
4
+ data_migrate (11.0.0)
5
5
  activerecord (>= 6.1)
6
6
  railties (>= 6.1)
7
7
 
@@ -133,6 +133,8 @@ GEM
133
133
  racc (~> 1.4)
134
134
  nokogiri (1.16.7-arm64-darwin)
135
135
  racc (~> 1.4)
136
+ nokogiri (1.16.7-x86_64-darwin)
137
+ racc (~> 1.4)
136
138
  nokogiri (1.16.7-x86_64-linux)
137
139
  racc (~> 1.4)
138
140
  overcommit (0.63.0)
@@ -226,6 +228,7 @@ GEM
226
228
  securerandom (0.3.1)
227
229
  sqlite3 (2.0.2-aarch64-linux-gnu)
228
230
  sqlite3 (2.0.2-arm64-darwin)
231
+ sqlite3 (2.0.2-x86_64-darwin)
229
232
  sqlite3 (2.0.2-x86_64-linux-gnu)
230
233
  stringio (3.1.1)
231
234
  strscan (3.1.0)
@@ -245,6 +248,7 @@ GEM
245
248
  PLATFORMS
246
249
  aarch64-linux
247
250
  arm64-darwin-23
251
+ x86_64-darwin-22
248
252
  x86_64-linux
249
253
 
250
254
  DEPENDENCIES
@@ -179,9 +179,14 @@ module DataMigrate
179
179
 
180
180
  ActiveRecord::Migration.verbose = ENV["VERBOSE"] ? ENV["VERBOSE"] == "true" : true
181
181
 
182
- db_configs = ActiveRecord::Base.configurations.configs_for(env_name: ActiveRecord::Tasks::DatabaseTasks.env)
182
+ schema_mapped_versions = if DataMigrate::RailsHelper.rails_version_equal_to_or_higher_than_7_1
183
+ ActiveRecord::Tasks::DatabaseTasks.db_configs_with_versions
184
+ else
185
+ db_configs = ActiveRecord::Base.configurations.configs_for(env_name: ActiveRecord::Tasks::DatabaseTasks.env)
186
+
187
+ ActiveRecord::Tasks::DatabaseTasks.db_configs_with_versions(db_configs)
188
+ end
183
189
 
184
- schema_mapped_versions = ActiveRecord::Tasks::DatabaseTasks.db_configs_with_versions(db_configs)
185
190
  data_mapped_versions = DataMigrate::DatabaseTasks.db_configs_with_versions
186
191
 
187
192
  mapped_versions = schema_mapped_versions.merge(data_mapped_versions) do |_key, schema_db_configs, data_db_configs|
@@ -1,3 +1,3 @@
1
1
  module DataMigrate
2
- VERSION = "11.0.0.rc".freeze
2
+ VERSION = "11.0.0".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: data_migrate
3
3
  version: !ruby/object:Gem::Version
4
- version: 11.0.0.rc
4
+ version: 11.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew J Vargo
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2024-08-20 00:00:00.000000000 Z
13
+ date: 2024-09-04 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: activerecord
@@ -276,9 +276,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
276
276
  version: '0'
277
277
  required_rubygems_version: !ruby/object:Gem::Requirement
278
278
  requirements:
279
- - - ">"
279
+ - - ">="
280
280
  - !ruby/object:Gem::Version
281
- version: 1.3.1
281
+ version: '0'
282
282
  requirements: []
283
283
  rubygems_version: 3.4.19
284
284
  signing_key: