activerecord-import 2.0.0 → 2.1.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.yaml +2 -0
- data/CHANGELOG.md +9 -0
- data/Rakefile +2 -0
- data/lib/activerecord-import/base.rb +2 -0
- data/lib/activerecord-import/version.rb +1 -1
- data/test/adapters/mysql2_proxy.rb +3 -0
- data/test/adapters/postgresql_proxy.rb +3 -0
- data/test/adapters/trilogy.rb +2 -0
- data/test/database.yml.sample +6 -0
- data/test/github/database.yml +6 -0
- data/test/mysql2_proxy/import_test.rb +6 -0
- data/test/postgresql_proxy/import_test.rb +6 -0
- data/test/test_helper.rb +2 -0
- metadata +10 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ed6151dcefbe456505980e5f6a89898da893ee6e25ae4aeddc28aa0b1efe0765
|
4
|
+
data.tar.gz: 381eb0b7b0910fc6900a73448728644e2e1d996e7744f9c8ff98d65ffefbaaf0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '08492e9de01d21c6c8b5a12c8cd35c01b92040d148a7abc72a098405b10d0f1ae971ed2eb4185b8a2415a9bdb578452746f90aff5f57f50b4568082227a9dad4'
|
7
|
+
data.tar.gz: 297a437db1f4098f716bc55c47b22346634677d3abf3706634ed7c2aecd74d959d356720d353f369e588bcba4b9f0c09db5ce444908b0e75c75353ebc74fa059
|
data/.github/workflows/test.yaml
CHANGED
@@ -125,11 +125,13 @@ jobs:
|
|
125
125
|
bundle exec rake test:mysql2
|
126
126
|
bundle exec rake test:mysql2_makara
|
127
127
|
bundle exec rake test:mysql2spatial
|
128
|
+
bundle exec rake test:mysql2_proxy
|
128
129
|
- name: Run tests with postgresql
|
129
130
|
run: |
|
130
131
|
bundle exec rake test:postgis
|
131
132
|
bundle exec rake test:postgresql
|
132
133
|
bundle exec rake test:postgresql_makara
|
134
|
+
bundle exec rake test:postgresql_proxy
|
133
135
|
- name: Run tests with seamless_database_pool
|
134
136
|
run: |
|
135
137
|
bundle exec rake test:seamless_database_pool
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,12 @@
|
|
1
|
+
## Changes in 2.1.0
|
2
|
+
|
3
|
+
### New Features
|
4
|
+
|
5
|
+
* Add Support for `active_record_proxy_adapters` gem thanks to @stingrayzboy via #\867.
|
6
|
+
Since Rails 7.1 makara no longer works and it is not currently maintained. The @nasdaq team
|
7
|
+
have written a gem called [active_record_proxy_adapters](https://rubygems.org/gems/active_record_proxy_adapters)
|
8
|
+
that implements some makara functionality.
|
9
|
+
|
1
10
|
## Changes in 2.0.0
|
2
11
|
|
3
12
|
### Breaking Changes
|
data/Rakefile
CHANGED
@@ -11,8 +11,10 @@ module ActiveRecord::Import
|
|
11
11
|
case adapter
|
12
12
|
when 'mysql2_makara' then 'mysql2'
|
13
13
|
when 'mysql2spatial' then 'mysql2'
|
14
|
+
when 'mysql2_proxy' then 'mysql2'
|
14
15
|
when 'spatialite' then 'sqlite3'
|
15
16
|
when 'postgresql_makara' then 'postgresql'
|
17
|
+
when 'postgresql_proxy' then 'postgresql'
|
16
18
|
when 'makara_postgis' then 'postgresql'
|
17
19
|
when 'postgis' then 'postgresql'
|
18
20
|
when 'cockroachdb' then 'postgresql'
|
data/test/adapters/trilogy.rb
CHANGED
data/test/database.yml.sample
CHANGED
@@ -16,6 +16,9 @@ mysql2spatial:
|
|
16
16
|
mysql2_makara:
|
17
17
|
<<: *mysql2
|
18
18
|
|
19
|
+
mysql2_proxy:
|
20
|
+
<<: *mysql2
|
21
|
+
|
19
22
|
postgresql: &postgresql
|
20
23
|
<<: *common
|
21
24
|
username: postgres
|
@@ -26,6 +29,9 @@ postgresql: &postgresql
|
|
26
29
|
postresql_makara:
|
27
30
|
<<: *postgresql
|
28
31
|
|
32
|
+
postresql_proxy:
|
33
|
+
<<: *postgresql
|
34
|
+
|
29
35
|
postgis:
|
30
36
|
<<: *postgresql
|
31
37
|
|
data/test/github/database.yml
CHANGED
@@ -30,6 +30,9 @@ mysql2spatial:
|
|
30
30
|
mysql2_makara:
|
31
31
|
<<: *mysql2
|
32
32
|
|
33
|
+
mysql2_proxy:
|
34
|
+
<<: *mysql2
|
35
|
+
|
33
36
|
oracle:
|
34
37
|
<<: *common
|
35
38
|
adapter: oracle
|
@@ -45,6 +48,9 @@ postgresql: &postgresql
|
|
45
48
|
postresql_makara:
|
46
49
|
<<: *postgresql
|
47
50
|
|
51
|
+
postresql_proxy:
|
52
|
+
<<: *postgresql
|
53
|
+
|
48
54
|
postgis:
|
49
55
|
<<: *postgresql
|
50
56
|
|
data/test/test_helper.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: activerecord-import
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Zach Dennis
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2025-02-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|
@@ -105,10 +105,12 @@ files:
|
|
105
105
|
- test/adapters/makara_postgis.rb
|
106
106
|
- test/adapters/mysql2.rb
|
107
107
|
- test/adapters/mysql2_makara.rb
|
108
|
+
- test/adapters/mysql2_proxy.rb
|
108
109
|
- test/adapters/mysql2spatial.rb
|
109
110
|
- test/adapters/postgis.rb
|
110
111
|
- test/adapters/postgresql.rb
|
111
112
|
- test/adapters/postgresql_makara.rb
|
113
|
+
- test/adapters/postgresql_proxy.rb
|
112
114
|
- test/adapters/seamless_database_pool.rb
|
113
115
|
- test/adapters/spatialite.rb
|
114
116
|
- test/adapters/sqlite3.rb
|
@@ -151,9 +153,11 @@ files:
|
|
151
153
|
- test/models/widget.rb
|
152
154
|
- test/mysql2/import_test.rb
|
153
155
|
- test/mysql2_makara/import_test.rb
|
156
|
+
- test/mysql2_proxy/import_test.rb
|
154
157
|
- test/mysqlspatial2/import_test.rb
|
155
158
|
- test/postgis/import_test.rb
|
156
159
|
- test/postgresql/import_test.rb
|
160
|
+
- test/postgresql_proxy/import_test.rb
|
157
161
|
- test/schema/generic_schema.rb
|
158
162
|
- test/schema/jdbcpostgresql_schema.rb
|
159
163
|
- test/schema/mysql2_schema.rb
|
@@ -208,10 +212,12 @@ test_files:
|
|
208
212
|
- test/adapters/makara_postgis.rb
|
209
213
|
- test/adapters/mysql2.rb
|
210
214
|
- test/adapters/mysql2_makara.rb
|
215
|
+
- test/adapters/mysql2_proxy.rb
|
211
216
|
- test/adapters/mysql2spatial.rb
|
212
217
|
- test/adapters/postgis.rb
|
213
218
|
- test/adapters/postgresql.rb
|
214
219
|
- test/adapters/postgresql_makara.rb
|
220
|
+
- test/adapters/postgresql_proxy.rb
|
215
221
|
- test/adapters/seamless_database_pool.rb
|
216
222
|
- test/adapters/spatialite.rb
|
217
223
|
- test/adapters/sqlite3.rb
|
@@ -254,9 +260,11 @@ test_files:
|
|
254
260
|
- test/models/widget.rb
|
255
261
|
- test/mysql2/import_test.rb
|
256
262
|
- test/mysql2_makara/import_test.rb
|
263
|
+
- test/mysql2_proxy/import_test.rb
|
257
264
|
- test/mysqlspatial2/import_test.rb
|
258
265
|
- test/postgis/import_test.rb
|
259
266
|
- test/postgresql/import_test.rb
|
267
|
+
- test/postgresql_proxy/import_test.rb
|
260
268
|
- test/schema/generic_schema.rb
|
261
269
|
- test/schema/jdbcpostgresql_schema.rb
|
262
270
|
- test/schema/mysql2_schema.rb
|