ridgepole 2.0.3 → 2.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Appraisals +4 -0
- data/CHANGELOG.md +12 -6
- data/README.md +1 -1
- data/gemfiles/activerecord_7.2.gemfile +7 -0
- data/lib/ridgepole/dumper.rb +5 -1
- data/lib/ridgepole/version.rb +1 -1
- data/ridgepole.gemspec +3 -2
- metadata +21 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d5a8448bb1e765b5413fdae6ad54336b6a79ab31de43e5c9767c8cdd6c53c681
|
4
|
+
data.tar.gz: 0c8b227c585e225133d947cbe5facbfaf3d4218f2b9ad37ec41141c2a7a7a191
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6f6efcdcba804e9699cbeb2c9c17d467c4a3bcf21013a5856d275bd2a56904c3202bfa123735002d23d7ea1eca8d95b894510d050d52b1213ac04a8d67ff23f3
|
7
|
+
data.tar.gz: 1769dc1a656bcaef84e491806078a95e722dc873c81e1e25c8e28bb6a426aced6c3a096eb6e4c133038fd5b370d426feeb381fb9c003a10f57343698b27c77b3
|
data/Appraisals
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,8 +1,18 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 2.1
|
4
|
+
|
5
|
+
### 2.1.1 (2024/09/12)
|
6
|
+
|
7
|
+
- Fix for `logger` gem [pull#502](https://github.com/ridgepole/ridgepole/pull/502)
|
8
|
+
|
9
|
+
### 2.1.0 (2024/08/11)
|
10
|
+
|
11
|
+
- Support Rails 7.2 [pull#490](https://github.com/ridgepole/ridgepole/pull/490)
|
12
|
+
|
3
13
|
## 2.0
|
4
14
|
|
5
|
-
### 2.0.
|
15
|
+
### 2.0.3 (2024/04/21)
|
6
16
|
|
7
17
|
- Add `--drop-table-only` option [pull#477](https://github.com/ridgepole/ridgepole/pull/477)
|
8
18
|
|
@@ -14,10 +24,6 @@
|
|
14
24
|
|
15
25
|
- Fix renamed_from bug [pull#453](https://github.com/ridgepole/ridgepole/pull/453)
|
16
26
|
|
17
|
-
### 2.0.1 (2023/11/22)
|
18
|
-
|
19
|
-
- Fix renamed_from bug [pull#453](https://github.com/ridgepole/ridgepole/pull/453)
|
20
|
-
|
21
27
|
### 2.0.0 (2023/11/10)
|
22
28
|
|
23
29
|
- Bump up version.
|
@@ -45,7 +51,7 @@
|
|
45
51
|
|
46
52
|
- Updated supported column types [pull#399](https://github.com/ridgepole/ridgepole/pull/399) [pull#400](https://github.com/ridgepole/ridgepole/pull/400)
|
47
53
|
- Support check constraint [pull#393](https://github.com/ridgepole/ridgepole/pull/393) [pull#397](https://github.com/ridgepole/ridgepole/pull/397)
|
48
|
-
- Drop
|
54
|
+
- Drop support Rails 5.x [pull#395](https://github.com/ridgepole/ridgepole/pull/395)
|
49
55
|
|
50
56
|
## 1.1
|
51
57
|
|
data/README.md
CHANGED
data/lib/ridgepole/dumper.rb
CHANGED
@@ -92,7 +92,11 @@ module Ridgepole
|
|
92
92
|
stream = StringIO.new
|
93
93
|
conn.without_table_options(@options[:dump_without_table_options]) do
|
94
94
|
ActiveRecord::SchemaDumper.with_default_fk_name(@options[:dump_with_default_fk_name]) do
|
95
|
-
ActiveRecord::
|
95
|
+
if ActiveRecord.gem_version < Gem::Version.new('7.2.0')
|
96
|
+
ActiveRecord::SchemaDumper.dump(conn, stream)
|
97
|
+
else
|
98
|
+
ActiveRecord::SchemaDumper.dump(conn.pool, stream)
|
99
|
+
end
|
96
100
|
end
|
97
101
|
end
|
98
102
|
stream
|
data/lib/ridgepole/version.rb
CHANGED
data/ridgepole.gemspec
CHANGED
@@ -24,8 +24,9 @@ Gem::Specification.new do |spec|
|
|
24
24
|
|
25
25
|
spec.required_ruby_version = Gem::Requirement.new('>= 2.7')
|
26
26
|
|
27
|
-
spec.add_dependency 'activerecord', '>= 6.1', '<
|
27
|
+
spec.add_dependency 'activerecord', '>= 6.1', '< 8.0'
|
28
28
|
spec.add_dependency 'diffy'
|
29
|
+
spec.add_dependency 'logger'
|
29
30
|
|
30
31
|
spec.add_development_dependency 'appraisal', '>= 2.2.0'
|
31
32
|
spec.add_development_dependency 'bigdecimal'
|
@@ -39,7 +40,7 @@ Gem::Specification.new do |spec|
|
|
39
40
|
spec.add_development_dependency 'rspec', '>= 3.0.0'
|
40
41
|
spec.add_development_dependency 'rspec-match_fuzzy', '>= 0.2.0'
|
41
42
|
spec.add_development_dependency 'rspec-match_ruby', '>= 0.1.3'
|
42
|
-
spec.add_development_dependency 'rubocop', '1.
|
43
|
+
spec.add_development_dependency 'rubocop', '1.66.1'
|
43
44
|
spec.add_development_dependency 'rubocop-rake', '>= 0.5.1'
|
44
45
|
spec.add_development_dependency 'rubocop-rspec', '>= 2.1.0'
|
45
46
|
spec.add_development_dependency 'simplecov'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ridgepole
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Genki Sugawara
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-09-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '6.1'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: '
|
22
|
+
version: '8.0'
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '6.1'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: '
|
32
|
+
version: '8.0'
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: diffy
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -44,6 +44,20 @@ dependencies:
|
|
44
44
|
- - ">="
|
45
45
|
- !ruby/object:Gem::Version
|
46
46
|
version: '0'
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: logger
|
49
|
+
requirement: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - ">="
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '0'
|
54
|
+
type: :runtime
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
requirements:
|
58
|
+
- - ">="
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: '0'
|
47
61
|
- !ruby/object:Gem::Dependency
|
48
62
|
name: appraisal
|
49
63
|
requirement: !ruby/object:Gem::Requirement
|
@@ -218,14 +232,14 @@ dependencies:
|
|
218
232
|
requirements:
|
219
233
|
- - '='
|
220
234
|
- !ruby/object:Gem::Version
|
221
|
-
version: 1.
|
235
|
+
version: 1.66.1
|
222
236
|
type: :development
|
223
237
|
prerelease: false
|
224
238
|
version_requirements: !ruby/object:Gem::Requirement
|
225
239
|
requirements:
|
226
240
|
- - '='
|
227
241
|
- !ruby/object:Gem::Version
|
228
|
-
version: 1.
|
242
|
+
version: 1.66.1
|
229
243
|
- !ruby/object:Gem::Dependency
|
230
244
|
name: rubocop-rake
|
231
245
|
requirement: !ruby/object:Gem::Requirement
|
@@ -319,6 +333,7 @@ files:
|
|
319
333
|
- gemfiles/activerecord_6.1.gemfile
|
320
334
|
- gemfiles/activerecord_7.0.gemfile
|
321
335
|
- gemfiles/activerecord_7.1.gemfile
|
336
|
+
- gemfiles/activerecord_7.2.gemfile
|
322
337
|
- lib/ridgepole.rb
|
323
338
|
- lib/ridgepole/cli/config.rb
|
324
339
|
- lib/ridgepole/client.rb
|