schema_plus_core 3.1.0.beta.3 → 3.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e83e662240a2fb8ed6ac51990070859461834639acdc5a2234ab337a27994652
|
4
|
+
data.tar.gz: ade3a5b17dbe22a2c2a279aa0c4ff2caa6f3cc302322848c6196d4ce4cb42e74
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fec53de152f9e7c824db91a6160043c82a4bc2c5da15a5037e4c24d1653aabdeb969c4d2ad61fcf70ffd57931c9d78d277907cf84f24147290740cdfcd6e0244
|
7
|
+
data.tar.gz: 3f334eee1e5e2b606312e8a55773c2a33d446628eca83459f0cbe839f3d62435fec1d03daee87194e6a95652ec108a4396f7fbe8739849572513fad998c81401
|
data/README.md
CHANGED
@@ -451,29 +451,30 @@ SchemaPlus::Core provides a state object and of callbacks to various phases of t
|
|
451
451
|
|
452
452
|
## Release Notes
|
453
453
|
|
454
|
-
* 3.
|
455
|
-
*
|
456
|
-
* 2.2.
|
457
|
-
* 2.2.
|
458
|
-
* 2.2.
|
459
|
-
* 2.
|
460
|
-
* 2.1.
|
461
|
-
* 2.0.1
|
462
|
-
* 2.0.
|
463
|
-
*
|
464
|
-
* 1.0.
|
465
|
-
* 1.0.
|
466
|
-
* 0.
|
467
|
-
* 0.6.
|
468
|
-
* 0.6.
|
469
|
-
* 0.
|
470
|
-
* 0.5.
|
471
|
-
* 0.
|
472
|
-
* 0.
|
473
|
-
* 0.3.
|
474
|
-
* 0.
|
475
|
-
* 0.2.
|
476
|
-
* 0.
|
454
|
+
* **3.1.0** Add AR 6.1 and 7.0, add Ruby 3.1
|
455
|
+
* **3.0.0** Drop AR < 5.2 and add AR 6.0 support. Drop Ruby < 2.5 and add Ruby 3.0 support.
|
456
|
+
* **2.2.3** Fix dumping complex expression based indexes in AR 5.x
|
457
|
+
* **2.2.2** Fixed dumping tables in postgresql in AR 5.2 when the PK is not a bigint.
|
458
|
+
* **2.2.1** Fixed expression index handling in AR5.x.
|
459
|
+
* **2.2.0** Added AR5.2 support. Thanks to [@jeremyyap](https://github.com/jeremyyap)
|
460
|
+
* **2.1.1** Bug fix: Don't lose habtm options. Thanks to [@iagopiimenta ](https://github.com/iagopiimenta)
|
461
|
+
* **2.1.0** Added AR5.1 support. Thanks to [@iagopiimenta ](https://github.com/iagopiimenta)
|
462
|
+
* **2.0.1** Tighten up AR dependency. Thanks to [@myabc](https://github.com/myabc).
|
463
|
+
* **2.0.0** Added AR5 support, removed AR4.2 support. Thanks to [@boazy](https://github.com/boazy).
|
464
|
+
* **1.0.2** Missing require
|
465
|
+
* **1.0.1** Explicit gem dependencies
|
466
|
+
* **1.0.0** Clean up `SchemaDump::Table::Column` and `SchemaDump::Table::Index` API: `#options` is now a hash and `#comments` is now an array; no longer have `add_option` and `add_comment` methods.
|
467
|
+
* **0.6.2** Bug fix: don't choke on INHERITANCE in table definition (#7). Thanks to [@ADone](https://github.com/ADone).
|
468
|
+
* **0.6.1** Make sure to require pathname (#5)
|
469
|
+
* **0.6.0** Added `table.alt` to dumper; Bug fix: Don't crash when AR fails to dump a table. Thanks to [@stenver](https://github.com/stenver) for tracking it down
|
470
|
+
* **0.5.1** Bug fix: Don't choke on a quoted newline in a `CREATE TABLE` statement ([#3](https://github.com/SchemaPlus/schema_plus_core/pull/3)). Thanks to [@mikeauclair](https://github.com/mikeauclair)
|
471
|
+
* **0.5.0** Added `Migration::DropTable`
|
472
|
+
* **0.4.0** Added `implements_reference` to `Migration::Column` stack env
|
473
|
+
* **0.3.1** Pass along (undocumented) return values from association declarations ([#2](https://github.com/SchemaPlus/schema_plus_core/pull/2)). Thanks to [@lowjoel](https://github.com/lowjoel)
|
474
|
+
* **0.3.0** Added `Model::Association::Declaration` ([#1](https://github.com/SchemaPlus/schema_plus_core/pull/1)). Thanks to [@lowjoel](https://github.com/lowjoel).
|
475
|
+
* **0.2.1** Added `Migration::CreateTable` and `Schema::Define`; removed dependency on (defunct) `schema_monkey_rails` gem. [Oops, this should have been a minor version bump]
|
476
|
+
* **0.2.0** Added `Migration::DropTable`
|
477
|
+
* **0.1.0** Initial release
|
477
478
|
|
478
479
|
## Development & Testing
|
479
480
|
|
@@ -76,7 +76,7 @@ module SchemaPlus
|
|
76
76
|
end
|
77
77
|
end
|
78
78
|
else
|
79
|
-
# In AR 6.1+ quoted_columns_for_index has slightly different
|
79
|
+
# In AR 6.1+ quoted_columns_for_index has slightly different parameter style and a different return type
|
80
80
|
# Also SchemaCreation is no longer nested beneath AbstractAdapter
|
81
81
|
module ConnectionAdapters
|
82
82
|
module AbstractAdapter
|
data/schema_plus_core.gemspec
CHANGED
@@ -22,11 +22,11 @@ Gem::Specification.new do |gem|
|
|
22
22
|
gem.required_ruby_version = ">= 2.5.0"
|
23
23
|
|
24
24
|
gem.add_dependency "activerecord", ">= 5.2", "< 7.1"
|
25
|
-
gem.add_dependency "schema_monkey", "~> 3.0.2
|
25
|
+
gem.add_dependency "schema_monkey", "~> 3.0.2"
|
26
26
|
|
27
27
|
gem.add_development_dependency "bundler"
|
28
28
|
gem.add_development_dependency "rake", "~> 13.0.0"
|
29
29
|
gem.add_development_dependency "rspec", "~> 3.0"
|
30
30
|
gem.add_development_dependency "rspec-given"
|
31
|
-
gem.add_development_dependency "schema_dev", "~> 4.2.
|
31
|
+
gem.add_development_dependency "schema_dev", "~> 4.2.0"
|
32
32
|
end
|
data/spec/spec_helper.rb
CHANGED
@@ -12,17 +12,12 @@ require 'active_record'
|
|
12
12
|
require 'schema_plus/core'
|
13
13
|
require 'schema_dev/rspec'
|
14
14
|
|
15
|
-
Dir[File.dirname(__FILE__) + "/support/**/*.rb"].each {|f| require f}
|
15
|
+
Dir[File.dirname(__FILE__) + "/support/**/*.rb"].sort.each {|f| require f}
|
16
16
|
|
17
17
|
SchemaDev::Rspec.setup
|
18
18
|
|
19
19
|
RSpec.configure do |config|
|
20
20
|
|
21
|
-
config.filter_run_excluding rails: -> (v) {
|
22
|
-
rails_version = Gem::Version.new(ActiveRecord::VERSION::STRING)
|
23
|
-
test = Gem::Requirement.new(v)
|
24
|
-
!test.satisfied_by?(rails_version)
|
25
|
-
}
|
26
21
|
config.warnings = true
|
27
22
|
config.around(:each) do |example|
|
28
23
|
ActiveRecord::Migration.suppress_messages do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: schema_plus_core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.1.0
|
4
|
+
version: 3.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ronen barzel
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-05-
|
11
|
+
date: 2022-05-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|
@@ -36,14 +36,14 @@ dependencies:
|
|
36
36
|
requirements:
|
37
37
|
- - "~>"
|
38
38
|
- !ruby/object:Gem::Version
|
39
|
-
version: 3.0.2
|
39
|
+
version: 3.0.2
|
40
40
|
type: :runtime
|
41
41
|
prerelease: false
|
42
42
|
version_requirements: !ruby/object:Gem::Requirement
|
43
43
|
requirements:
|
44
44
|
- - "~>"
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version: 3.0.2
|
46
|
+
version: 3.0.2
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: bundler
|
49
49
|
requirement: !ruby/object:Gem::Requirement
|
@@ -106,14 +106,14 @@ dependencies:
|
|
106
106
|
requirements:
|
107
107
|
- - "~>"
|
108
108
|
- !ruby/object:Gem::Version
|
109
|
-
version: 4.2.
|
109
|
+
version: 4.2.0
|
110
110
|
type: :development
|
111
111
|
prerelease: false
|
112
112
|
version_requirements: !ruby/object:Gem::Requirement
|
113
113
|
requirements:
|
114
114
|
- - "~>"
|
115
115
|
- !ruby/object:Gem::Version
|
116
|
-
version: 4.2.
|
116
|
+
version: 4.2.0
|
117
117
|
description: Provides an internal extension API to ActiveRecord, in the form of middleware-style
|
118
118
|
callback stacks
|
119
119
|
email:
|
@@ -186,11 +186,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
186
186
|
version: 2.5.0
|
187
187
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
188
188
|
requirements:
|
189
|
-
- - "
|
189
|
+
- - ">="
|
190
190
|
- !ruby/object:Gem::Version
|
191
|
-
version:
|
191
|
+
version: '0'
|
192
192
|
requirements: []
|
193
|
-
rubygems_version: 3.
|
193
|
+
rubygems_version: 3.3.7
|
194
194
|
signing_key:
|
195
195
|
specification_version: 4
|
196
196
|
summary: Provides an internal extension API to ActiveRecord
|