ridgepole 2.0.3 → 2.1.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: 2e28849a4ffd0e89057ec0aca0d8144a7c627f6947efe49a0c0ebcb3a5bf8d91
4
- data.tar.gz: cff35f1be11654d25a0aa954d2d1af85ee8b7c5aa649ce2425227637ca340b10
3
+ metadata.gz: 5d65bef68e3d3fa568e43156be30e15f30535fb86e011b67170421d0e70c5724
4
+ data.tar.gz: a3ad7daa1a22b20f2c129f596b0fdc6d97e7ad37eb636e70538467101921d4d4
5
5
  SHA512:
6
- metadata.gz: 893204d453f9d96468e6a43e5843d5c1f8b2407f3b14bc4572836022ca240b4eaf3f8a39163ee2dcd753168640bce8b721fde35da5a713ce7941056c2e71a747
7
- data.tar.gz: 33366d9df07035e062ad42a534292200076358c60242c17f14c05d6ba63c98443e35cf15ab21af097feb303e8257efc10f253c89c379daf0264a17a3b56d8bb8
6
+ metadata.gz: cecb8da2a635ed1ef07957b3cff60d5589a949ec0744b7322335f09e1dc52ed40e1deaca86866608644421e628b4dba0c724370018f79616d4c4878f649ed07e
7
+ data.tar.gz: 259fbf99721f371c98cb485eea834f862a69d67d405bfb7c637c3a6247bce3ddb8c672f9204785e5fec102f53168f0a73c1cf72f4da315bdcfe170903a75ffb4
data/Appraisals CHANGED
@@ -11,3 +11,7 @@ end
11
11
  appraise 'activerecord-7.1' do
12
12
  gem 'activerecord', '~> 7.1.0'
13
13
  end
14
+
15
+ appraise 'activerecord-7.2' do
16
+ gem 'activerecord', '~> 7.2.0'
17
+ end
data/CHANGELOG.md CHANGED
@@ -2,7 +2,11 @@
2
2
 
3
3
  ## 2.0
4
4
 
5
- ### 2.0.2 (2024/04/21)
5
+ ### 2.1.0 (2024/08/11)
6
+
7
+ - Support Rails 7.2 [pull#490](https://github.com/ridgepole/ridgepole/pull/490)
8
+
9
+ ### 2.0.3 (2024/04/21)
6
10
 
7
11
  - Add `--drop-table-only` option [pull#477](https://github.com/ridgepole/ridgepole/pull/477)
8
12
 
@@ -14,10 +18,6 @@
14
18
 
15
19
  - Fix renamed_from bug [pull#453](https://github.com/ridgepole/ridgepole/pull/453)
16
20
 
17
- ### 2.0.1 (2023/11/22)
18
-
19
- - Fix renamed_from bug [pull#453](https://github.com/ridgepole/ridgepole/pull/453)
20
-
21
21
  ### 2.0.0 (2023/11/10)
22
22
 
23
23
  - Bump up version.
@@ -45,7 +45,7 @@
45
45
 
46
46
  - Updated supported column types [pull#399](https://github.com/ridgepole/ridgepole/pull/399) [pull#400](https://github.com/ridgepole/ridgepole/pull/400)
47
47
  - Support check constraint [pull#393](https://github.com/ridgepole/ridgepole/pull/393) [pull#397](https://github.com/ridgepole/ridgepole/pull/397)
48
- - Drop suport Rails 5.x [pull#395](https://github.com/ridgepole/ridgepole/pull/395)
48
+ - Drop support Rails 5.x [pull#395](https://github.com/ridgepole/ridgepole/pull/395)
49
49
 
50
50
  ## 1.1
51
51
 
data/README.md CHANGED
@@ -40,7 +40,7 @@ Add this line to your application's Gemfile:
40
40
 
41
41
  And then execute:
42
42
 
43
- $ bundle
43
+ $ bundle install
44
44
 
45
45
  Or install it yourself as:
46
46
 
@@ -0,0 +1,7 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "activerecord", "~> 7.2.0"
6
+
7
+ gemspec path: "../"
@@ -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::SchemaDumper.dump(conn, stream)
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Ridgepole
4
- VERSION = '2.0.3'
4
+ VERSION = '2.1.0'
5
5
  end
data/ridgepole.gemspec CHANGED
@@ -24,7 +24,7 @@ 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', '< 7.2'
27
+ spec.add_dependency 'activerecord', '>= 6.1', '< 8.0'
28
28
  spec.add_dependency 'diffy'
29
29
 
30
30
  spec.add_development_dependency 'appraisal', '>= 2.2.0'
@@ -39,7 +39,7 @@ Gem::Specification.new do |spec|
39
39
  spec.add_development_dependency 'rspec', '>= 3.0.0'
40
40
  spec.add_development_dependency 'rspec-match_fuzzy', '>= 0.2.0'
41
41
  spec.add_development_dependency 'rspec-match_ruby', '>= 0.1.3'
42
- spec.add_development_dependency 'rubocop', '1.63.1'
42
+ spec.add_development_dependency 'rubocop', '1.65.1'
43
43
  spec.add_development_dependency 'rubocop-rake', '>= 0.5.1'
44
44
  spec.add_development_dependency 'rubocop-rspec', '>= 2.1.0'
45
45
  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.0.3
4
+ version: 2.1.0
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-04-21 00:00:00.000000000 Z
11
+ date: 2024-08-11 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: '7.2'
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: '7.2'
32
+ version: '8.0'
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: diffy
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -218,14 +218,14 @@ dependencies:
218
218
  requirements:
219
219
  - - '='
220
220
  - !ruby/object:Gem::Version
221
- version: 1.63.1
221
+ version: 1.65.1
222
222
  type: :development
223
223
  prerelease: false
224
224
  version_requirements: !ruby/object:Gem::Requirement
225
225
  requirements:
226
226
  - - '='
227
227
  - !ruby/object:Gem::Version
228
- version: 1.63.1
228
+ version: 1.65.1
229
229
  - !ruby/object:Gem::Dependency
230
230
  name: rubocop-rake
231
231
  requirement: !ruby/object:Gem::Requirement
@@ -319,6 +319,7 @@ files:
319
319
  - gemfiles/activerecord_6.1.gemfile
320
320
  - gemfiles/activerecord_7.0.gemfile
321
321
  - gemfiles/activerecord_7.1.gemfile
322
+ - gemfiles/activerecord_7.2.gemfile
322
323
  - lib/ridgepole.rb
323
324
  - lib/ridgepole/cli/config.rb
324
325
  - lib/ridgepole/client.rb