data_migrate 11.0.0.rc → 11.0.0.rc3

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: 48ee408a432e7b193a5244355a42c8b9850d3712fa03650150ba75d764d4f9cb
4
+ data.tar.gz: 9f2e3e3b896598afe9e560f063fc74816346fb6032f90008f0caa8d50380f753
5
5
  SHA512:
6
- metadata.gz: 925d15e79b0cb6d2cedddb691db6e0adc699b67eb1c744c3db98149ffd44024b87781017863e19a9982eb0e5874bc298473938fe8dc86e727a601cc6d9b00eee
7
- data.tar.gz: 9695aeb945e467f00c1da4605642c8511a0f5048873288208ac4b396364fe6f00247b23460aa4175ac12e2a22f66e1376fa6111de2a84c7747a8f4a3d651a3b8
6
+ metadata.gz: 4b209a7dc5fd808b0aa4b7ced806d82f7d4d971b68c79e9df3b71f3500dd25906417a91a73b1ee31d67b2ce49cf7cbe2d84d8c887ceef7ac958d294f0d50a1cd
7
+ data.tar.gz: 739b8946e4a1318c0063345c2e84f3a1e6bd336547c8d763dfa5588a6f4a1b2b704298c23026f8b21e6670a350edc39a910ad9cdb43af00ee729f5be2d1ee720
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.rc3)
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)
@@ -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.rc3)
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.rc3)
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.rc3)
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.rc3)
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.rc3".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.rc3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew J Vargo