schema_plus_compatibility 0.4.0 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.github/workflows/prs.yml +147 -0
- data/.simplecov +18 -0
- data/Gemfile +2 -1
- data/README.md +12 -8
- data/gemfiles/Gemfile.base +1 -1
- data/gemfiles/activerecord-5.2/Gemfile.base +2 -1
- data/gemfiles/activerecord-5.2/Gemfile.mysql2 +2 -2
- data/gemfiles/activerecord-5.2/Gemfile.postgresql +2 -2
- data/gemfiles/activerecord-5.2/Gemfile.sqlite3 +3 -3
- data/gemfiles/activerecord-6.0/Gemfile.base +4 -0
- data/gemfiles/activerecord-6.0/Gemfile.mysql2 +10 -0
- data/gemfiles/activerecord-6.0/Gemfile.postgresql +10 -0
- data/gemfiles/{activerecord-4.2 → activerecord-6.0}/Gemfile.sqlite3 +3 -3
- data/gemfiles/activerecord-6.1/Gemfile.base +4 -0
- data/gemfiles/activerecord-6.1/Gemfile.mysql2 +10 -0
- data/gemfiles/activerecord-6.1/Gemfile.postgresql +10 -0
- data/gemfiles/{activerecord-5.1 → activerecord-6.1}/Gemfile.sqlite3 +3 -3
- data/lib/schema_plus/compatibility/version.rb +1 -1
- data/schema_dev.yml +9 -8
- data/schema_plus_compatibility.gemspec +7 -7
- data/spec/spec_helper.rb +1 -2
- metadata +31 -63
- data/.travis.yml +0 -27
- data/gemfiles/activerecord-4.2/Gemfile.base +0 -3
- data/gemfiles/activerecord-4.2/Gemfile.mysql2 +0 -10
- data/gemfiles/activerecord-4.2/Gemfile.postgresql +0 -10
- data/gemfiles/activerecord-5.0/Gemfile.base +0 -3
- data/gemfiles/activerecord-5.0/Gemfile.mysql2 +0 -10
- data/gemfiles/activerecord-5.0/Gemfile.postgresql +0 -10
- data/gemfiles/activerecord-5.0/Gemfile.sqlite3 +0 -10
- data/gemfiles/activerecord-5.1/Gemfile.base +0 -3
- data/gemfiles/activerecord-5.1/Gemfile.mysql2 +0 -10
- data/gemfiles/activerecord-5.1/Gemfile.postgresql +0 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 90ee419a56178c15697a2c4ad7cf46059b1a2852e3d367a0eade7df584738fb0
|
4
|
+
data.tar.gz: 745f4d68b8155d081e63b98acd128c8b8484ee2115e657d187e90707bd4441d7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ac62927b6acb33e0adc17f917d5a17e20036a679df72ec0b36b8954bd1e9fad7059a701ace69ee3ad28cefcc2bbebeaa1e1edcb2d0117145142e825d8123e33a
|
7
|
+
data.tar.gz: 1ca1b8fc02b71884c1163754d4db94bb2c3728f67470da0596fb4df35155d9f26c5c73f70ca2cbdda7a1ba2036d57a9496bc36957fc59fa670f6802efeefe44a
|
@@ -0,0 +1,147 @@
|
|
1
|
+
# This file was auto-generated by the schema_dev tool, based on the data in
|
2
|
+
# ./schema_dev.yml
|
3
|
+
# Please do not edit this file; any changes will be overwritten next time
|
4
|
+
# schema_dev gets run.
|
5
|
+
---
|
6
|
+
name: CI PR Builds
|
7
|
+
'on':
|
8
|
+
push:
|
9
|
+
branches:
|
10
|
+
- master
|
11
|
+
pull_request:
|
12
|
+
concurrency:
|
13
|
+
group: ci-${{ github.ref }}
|
14
|
+
cancel-in-progress: true
|
15
|
+
jobs:
|
16
|
+
test:
|
17
|
+
runs-on: ubuntu-latest
|
18
|
+
strategy:
|
19
|
+
fail-fast: false
|
20
|
+
matrix:
|
21
|
+
ruby:
|
22
|
+
- '2.5'
|
23
|
+
- '2.7'
|
24
|
+
- '3.0'
|
25
|
+
activerecord:
|
26
|
+
- '5.2'
|
27
|
+
- '6.0'
|
28
|
+
- '6.1'
|
29
|
+
db:
|
30
|
+
- mysql2
|
31
|
+
- sqlite3
|
32
|
+
- skip
|
33
|
+
dbversion:
|
34
|
+
- skip
|
35
|
+
exclude:
|
36
|
+
- ruby: '3.0'
|
37
|
+
activerecord: '5.2'
|
38
|
+
- db: skip
|
39
|
+
dbversion: skip
|
40
|
+
include:
|
41
|
+
- ruby: '2.5'
|
42
|
+
activerecord: '5.2'
|
43
|
+
db: postgresql
|
44
|
+
dbversion: '9.6'
|
45
|
+
- ruby: '2.5'
|
46
|
+
activerecord: '6.0'
|
47
|
+
db: postgresql
|
48
|
+
dbversion: '9.6'
|
49
|
+
- ruby: '2.5'
|
50
|
+
activerecord: '6.1'
|
51
|
+
db: postgresql
|
52
|
+
dbversion: '9.6'
|
53
|
+
- ruby: '2.7'
|
54
|
+
activerecord: '5.2'
|
55
|
+
db: postgresql
|
56
|
+
dbversion: '9.6'
|
57
|
+
- ruby: '2.7'
|
58
|
+
activerecord: '6.0'
|
59
|
+
db: postgresql
|
60
|
+
dbversion: '9.6'
|
61
|
+
- ruby: '2.7'
|
62
|
+
activerecord: '6.1'
|
63
|
+
db: postgresql
|
64
|
+
dbversion: '9.6'
|
65
|
+
- ruby: '3.0'
|
66
|
+
activerecord: '6.0'
|
67
|
+
db: postgresql
|
68
|
+
dbversion: '9.6'
|
69
|
+
- ruby: '3.0'
|
70
|
+
activerecord: '6.1'
|
71
|
+
db: postgresql
|
72
|
+
dbversion: '9.6'
|
73
|
+
env:
|
74
|
+
BUNDLE_GEMFILE: "${{ github.workspace }}/gemfiles/activerecord-${{ matrix.activerecord }}/Gemfile.${{ matrix.db }}"
|
75
|
+
MYSQL_DB_HOST: 127.0.0.1
|
76
|
+
MYSQL_DB_USER: root
|
77
|
+
MYSQL_DB_PASS: database
|
78
|
+
POSTGRESQL_DB_HOST: 127.0.0.1
|
79
|
+
POSTGRESQL_DB_USER: schema_plus_test
|
80
|
+
POSTGRESQL_DB_PASS: database
|
81
|
+
steps:
|
82
|
+
- uses: actions/checkout@v2
|
83
|
+
- name: Set up Ruby
|
84
|
+
uses: ruby/setup-ruby@v1
|
85
|
+
with:
|
86
|
+
ruby-version: "${{ matrix.ruby }}"
|
87
|
+
bundler-cache: true
|
88
|
+
- name: Run bundle update
|
89
|
+
run: bundle update
|
90
|
+
- name: Start Mysql
|
91
|
+
if: matrix.db == 'mysql2'
|
92
|
+
run: |
|
93
|
+
docker run --rm --detach \
|
94
|
+
-e MYSQL_ROOT_PASSWORD=$MYSQL_DB_PASS \
|
95
|
+
-p 3306:3306 \
|
96
|
+
--health-cmd "mysqladmin ping --host=127.0.0.1 --password=$MYSQL_DB_PASS --silent" \
|
97
|
+
--health-interval 5s \
|
98
|
+
--health-timeout 5s \
|
99
|
+
--health-retries 5 \
|
100
|
+
--name database mysql:5.6
|
101
|
+
- name: Start Postgresql
|
102
|
+
if: matrix.db == 'postgresql'
|
103
|
+
run: |
|
104
|
+
docker run --rm --detach \
|
105
|
+
-e POSTGRES_USER=$POSTGRESQL_DB_USER \
|
106
|
+
-e POSTGRES_PASSWORD=$POSTGRESQL_DB_PASS \
|
107
|
+
-p 5432:5432 \
|
108
|
+
--health-cmd "pg_isready -q" \
|
109
|
+
--health-interval 5s \
|
110
|
+
--health-timeout 5s \
|
111
|
+
--health-retries 5 \
|
112
|
+
--name database postgres:${{ matrix.dbversion }}
|
113
|
+
- name: Wait for database to start
|
114
|
+
if: "(matrix.db == 'postgresql' || matrix.db == 'mysql2')"
|
115
|
+
run: |
|
116
|
+
COUNT=0
|
117
|
+
ATTEMPTS=20
|
118
|
+
until [[ $COUNT -eq $ATTEMPTS ]]; do
|
119
|
+
[ "$(docker inspect -f {{.State.Health.Status}} database)" == "healthy" ] && break
|
120
|
+
echo $(( COUNT++ )) > /dev/null
|
121
|
+
sleep 2
|
122
|
+
done
|
123
|
+
- name: Create testing database
|
124
|
+
if: "(matrix.db == 'postgresql' || matrix.db == 'mysql2')"
|
125
|
+
run: bundle exec rake create_ci_database
|
126
|
+
- name: Run tests
|
127
|
+
run: bundle exec rake spec
|
128
|
+
- name: Shutdown database
|
129
|
+
if: always() && (matrix.db == 'postgresql' || matrix.db == 'mysql2')
|
130
|
+
run: docker stop database
|
131
|
+
- name: Coveralls Parallel
|
132
|
+
if: "${{ !env.ACT }}"
|
133
|
+
uses: coverallsapp/github-action@master
|
134
|
+
with:
|
135
|
+
github-token: "${{ secrets.GITHUB_TOKEN }}"
|
136
|
+
flag-name: run-${{ matrix.ruby }}-${{ matrix.activerecord }}-${{ matrix.db }}-${{ matrix.dbversion }}
|
137
|
+
parallel: true
|
138
|
+
finish:
|
139
|
+
needs: test
|
140
|
+
runs-on: ubuntu-latest
|
141
|
+
steps:
|
142
|
+
- name: Coveralls Finished
|
143
|
+
if: "${{ !env.ACT }}"
|
144
|
+
uses: coverallsapp/github-action@master
|
145
|
+
with:
|
146
|
+
github-token: "${{ secrets.GITHUB_TOKEN }}"
|
147
|
+
parallel-finished: true
|
data/.simplecov
ADDED
@@ -0,0 +1,18 @@
|
|
1
|
+
SimpleCov.configure do
|
2
|
+
enable_coverage :branch
|
3
|
+
add_filter '/spec/'
|
4
|
+
|
5
|
+
add_group 'Binaries', '/bin/'
|
6
|
+
add_group 'Libraries', '/lib/'
|
7
|
+
|
8
|
+
if ENV['CI']
|
9
|
+
require 'simplecov-lcov'
|
10
|
+
|
11
|
+
SimpleCov::Formatter::LcovFormatter.config do |c|
|
12
|
+
c.report_with_single_file = true
|
13
|
+
c.single_report_path = 'coverage/lcov.info'
|
14
|
+
end
|
15
|
+
|
16
|
+
formatter SimpleCov::Formatter::LcovFormatter
|
17
|
+
end
|
18
|
+
end
|
data/Gemfile
CHANGED
@@ -2,4 +2,5 @@ source "http://rubygems.org"
|
|
2
2
|
|
3
3
|
gemspec
|
4
4
|
|
5
|
-
|
5
|
+
gemfile_local = File.expand_path '../Gemfile.local', __FILE__
|
6
|
+
eval File.read(gemfile_local), binding, gemfile_local if File.exist? gemfile_local
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
[![Gem Version](https://badge.fury.io/rb/schema_plus_compatibility.svg)](http://badge.fury.io/rb/schema_plus_compatibility)
|
2
|
-
[![Build Status](https://
|
3
|
-
[![Coverage Status](https://coveralls.io/repos/github/SchemaPlus/schema_plus_compatibility/badge.svg
|
2
|
+
[![Build Status](https://github.com/SchemaPlus/schema_plus_compatibility/actions/workflows/prs.yml/badge.svg)](https://github.com/SchemaPlus/schema_plus_compatibility/actions)
|
3
|
+
[![Coverage Status](https://coveralls.io/repos/github/SchemaPlus/schema_plus_compatibility/badge.svg)](https://coveralls.io/github/SchemaPlus/schema_plus_compatibility)
|
4
4
|
|
5
5
|
# SchemaPlus::Compatibility
|
6
6
|
|
@@ -45,15 +45,20 @@ SchemaPlus::Compatibility is tested on:
|
|
45
45
|
|
46
46
|
<!-- SCHEMA_DEV: MATRIX - begin -->
|
47
47
|
<!-- These lines are auto-generated by schema_dev based on schema_dev.yml -->
|
48
|
-
* ruby **2.
|
49
|
-
* ruby **2.
|
50
|
-
* ruby **2.
|
51
|
-
* ruby **2.
|
48
|
+
* ruby **2.5** with activerecord **5.2**, using **mysql2**, **sqlite3** or **postgresql:9.6**
|
49
|
+
* ruby **2.5** with activerecord **6.0**, using **mysql2**, **sqlite3** or **postgresql:9.6**
|
50
|
+
* ruby **2.5** with activerecord **6.1**, using **mysql2**, **sqlite3** or **postgresql:9.6**
|
51
|
+
* ruby **2.7** with activerecord **5.2**, using **mysql2**, **sqlite3** or **postgresql:9.6**
|
52
|
+
* ruby **2.7** with activerecord **6.0**, using **mysql2**, **sqlite3** or **postgresql:9.6**
|
53
|
+
* ruby **2.7** with activerecord **6.1**, using **mysql2**, **sqlite3** or **postgresql:9.6**
|
54
|
+
* ruby **3.0** with activerecord **6.0**, using **mysql2**, **sqlite3** or **postgresql:9.6**
|
55
|
+
* ruby **3.0** with activerecord **6.1**, using **mysql2**, **sqlite3** or **postgresql:9.6**
|
52
56
|
|
53
57
|
<!-- SCHEMA_DEV: MATRIX - end -->
|
54
58
|
|
55
59
|
## Release Notes
|
56
60
|
|
61
|
+
* 1.0.0 - Drop AR < 5.2 and add 6.0 and 6.1 support
|
57
62
|
* 0.4.0 - Allow AR 5.2
|
58
63
|
* 0.3.0 - Allow AR 5.1
|
59
64
|
* 0.2.0 - Replace the ill-defined `connection.tables_without_deprecation` with `connection.tables_only` which truly returns solely tables.
|
@@ -72,7 +77,7 @@ Some things to know about to help you develop and test:
|
|
72
77
|
* **schema_dev**: SchemaPlus::Compatibility uses [schema_dev](https://github.com/SchemaPlus/schema_dev) to
|
73
78
|
facilitate running rspec tests on the matrix of ruby, activerecord, and database
|
74
79
|
versions that the gem supports, both locally and on
|
75
|
-
[
|
80
|
+
[github actions](https://github.com/SchemaPlus/schema_plus_compatibility/actions)
|
76
81
|
|
77
82
|
To to run rspec locally on the full matrix, do:
|
78
83
|
|
@@ -84,7 +89,6 @@ Some things to know about to help you develop and test:
|
|
84
89
|
The matrix of configurations is specified in `schema_dev.yml` in
|
85
90
|
the project root.
|
86
91
|
|
87
|
-
|
88
92
|
<!-- SCHEMA_DEV: TEMPLATE USES SCHEMA_DEV - end -->
|
89
93
|
|
90
94
|
<!-- SCHEMA_DEV: TEMPLATE USES SCHEMA_MONKEY - begin -->
|
data/gemfiles/Gemfile.base
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
|
2
|
-
eval
|
1
|
+
base_gemfile = File.expand_path('../Gemfile.base', __FILE__)
|
2
|
+
eval File.read(base_gemfile), binding, base_gemfile
|
3
3
|
|
4
4
|
platform :ruby do
|
5
5
|
gem "sqlite3"
|
@@ -7,4 +7,4 @@ end
|
|
7
7
|
|
8
8
|
platform :jruby do
|
9
9
|
gem 'activerecord-jdbcsqlite3-adapter', '>=1.3.0.beta2'
|
10
|
-
end
|
10
|
+
end
|
@@ -1,5 +1,5 @@
|
|
1
|
-
|
2
|
-
eval
|
1
|
+
base_gemfile = File.expand_path('../Gemfile.base', __FILE__)
|
2
|
+
eval File.read(base_gemfile), binding, base_gemfile
|
3
3
|
|
4
4
|
platform :ruby do
|
5
5
|
gem "sqlite3"
|
@@ -7,4 +7,4 @@ end
|
|
7
7
|
|
8
8
|
platform :jruby do
|
9
9
|
gem 'activerecord-jdbcsqlite3-adapter', '>=1.3.0.beta2'
|
10
|
-
end
|
10
|
+
end
|
@@ -1,5 +1,5 @@
|
|
1
|
-
|
2
|
-
eval
|
1
|
+
base_gemfile = File.expand_path('../Gemfile.base', __FILE__)
|
2
|
+
eval File.read(base_gemfile), binding, base_gemfile
|
3
3
|
|
4
4
|
platform :ruby do
|
5
5
|
gem "sqlite3"
|
@@ -7,4 +7,4 @@ end
|
|
7
7
|
|
8
8
|
platform :jruby do
|
9
9
|
gem 'activerecord-jdbcsqlite3-adapter', '>=1.3.0.beta2'
|
10
|
-
end
|
10
|
+
end
|
data/schema_dev.yml
CHANGED
@@ -18,13 +18,13 @@ Gem::Specification.new do |gem|
|
|
18
18
|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
19
19
|
gem.require_paths = ["lib"]
|
20
20
|
|
21
|
-
gem.
|
22
|
-
gem.add_dependency "schema_monkey", "~> 2.1"
|
21
|
+
gem.required_ruby_version = ">= 2.5.0"
|
23
22
|
|
24
|
-
gem.
|
25
|
-
gem.
|
23
|
+
gem.add_dependency "activerecord", ">= 5.2", "< 7.0"
|
24
|
+
gem.add_dependency "schema_monkey", "~> 3.0"
|
25
|
+
|
26
|
+
gem.add_development_dependency "bundler"
|
27
|
+
gem.add_development_dependency "rake", "~> 13.0"
|
26
28
|
gem.add_development_dependency "rspec", "~> 3.0"
|
27
|
-
gem.add_development_dependency "schema_dev", "~>
|
28
|
-
gem.add_development_dependency "simplecov"
|
29
|
-
gem.add_development_dependency "simplecov-gem-profile"
|
29
|
+
gem.add_development_dependency "schema_dev", "~> 4.1"
|
30
30
|
end
|
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: schema_plus_compatibility
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ronen barzel
|
8
8
|
- boaz yaniv
|
9
|
-
autorequire:
|
9
|
+
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2022-04-15 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activerecord
|
@@ -17,62 +17,62 @@ dependencies:
|
|
17
17
|
requirements:
|
18
18
|
- - ">="
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version: '
|
20
|
+
version: '5.2'
|
21
21
|
- - "<"
|
22
22
|
- !ruby/object:Gem::Version
|
23
|
-
version: '
|
23
|
+
version: '7.0'
|
24
24
|
type: :runtime
|
25
25
|
prerelease: false
|
26
26
|
version_requirements: !ruby/object:Gem::Requirement
|
27
27
|
requirements:
|
28
28
|
- - ">="
|
29
29
|
- !ruby/object:Gem::Version
|
30
|
-
version: '
|
30
|
+
version: '5.2'
|
31
31
|
- - "<"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '7.0'
|
34
34
|
- !ruby/object:Gem::Dependency
|
35
35
|
name: schema_monkey
|
36
36
|
requirement: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
40
|
+
version: '3.0'
|
41
41
|
type: :runtime
|
42
42
|
prerelease: false
|
43
43
|
version_requirements: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
47
|
+
version: '3.0'
|
48
48
|
- !ruby/object:Gem::Dependency
|
49
49
|
name: bundler
|
50
50
|
requirement: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- - "
|
52
|
+
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
54
|
+
version: '0'
|
55
55
|
type: :development
|
56
56
|
prerelease: false
|
57
57
|
version_requirements: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - "
|
59
|
+
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '
|
61
|
+
version: '0'
|
62
62
|
- !ruby/object:Gem::Dependency
|
63
63
|
name: rake
|
64
64
|
requirement: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '
|
68
|
+
version: '13.0'
|
69
69
|
type: :development
|
70
70
|
prerelease: false
|
71
71
|
version_requirements: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: '
|
75
|
+
version: '13.0'
|
76
76
|
- !ruby/object:Gem::Dependency
|
77
77
|
name: rspec
|
78
78
|
requirement: !ruby/object:Gem::Requirement
|
@@ -93,42 +93,14 @@ dependencies:
|
|
93
93
|
requirements:
|
94
94
|
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: '
|
96
|
+
version: '4.1'
|
97
97
|
type: :development
|
98
98
|
prerelease: false
|
99
99
|
version_requirements: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
101
|
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version: '
|
104
|
-
- !ruby/object:Gem::Dependency
|
105
|
-
name: simplecov
|
106
|
-
requirement: !ruby/object:Gem::Requirement
|
107
|
-
requirements:
|
108
|
-
- - ">="
|
109
|
-
- !ruby/object:Gem::Version
|
110
|
-
version: '0'
|
111
|
-
type: :development
|
112
|
-
prerelease: false
|
113
|
-
version_requirements: !ruby/object:Gem::Requirement
|
114
|
-
requirements:
|
115
|
-
- - ">="
|
116
|
-
- !ruby/object:Gem::Version
|
117
|
-
version: '0'
|
118
|
-
- !ruby/object:Gem::Dependency
|
119
|
-
name: simplecov-gem-profile
|
120
|
-
requirement: !ruby/object:Gem::Requirement
|
121
|
-
requirements:
|
122
|
-
- - ">="
|
123
|
-
- !ruby/object:Gem::Version
|
124
|
-
version: '0'
|
125
|
-
type: :development
|
126
|
-
prerelease: false
|
127
|
-
version_requirements: !ruby/object:Gem::Requirement
|
128
|
-
requirements:
|
129
|
-
- - ">="
|
130
|
-
- !ruby/object:Gem::Version
|
131
|
-
version: '0'
|
103
|
+
version: '4.1'
|
132
104
|
description: Compatibility helpers for the SchemaPlus family of gems
|
133
105
|
email:
|
134
106
|
- ronen@barzel.org
|
@@ -137,29 +109,26 @@ executables: []
|
|
137
109
|
extensions: []
|
138
110
|
extra_rdoc_files: []
|
139
111
|
files:
|
112
|
+
- ".github/workflows/prs.yml"
|
140
113
|
- ".gitignore"
|
141
|
-
- ".
|
114
|
+
- ".simplecov"
|
142
115
|
- Gemfile
|
143
116
|
- LICENSE.txt
|
144
117
|
- README.md
|
145
118
|
- Rakefile
|
146
119
|
- gemfiles/Gemfile.base
|
147
|
-
- gemfiles/activerecord-4.2/Gemfile.base
|
148
|
-
- gemfiles/activerecord-4.2/Gemfile.mysql2
|
149
|
-
- gemfiles/activerecord-4.2/Gemfile.postgresql
|
150
|
-
- gemfiles/activerecord-4.2/Gemfile.sqlite3
|
151
|
-
- gemfiles/activerecord-5.0/Gemfile.base
|
152
|
-
- gemfiles/activerecord-5.0/Gemfile.mysql2
|
153
|
-
- gemfiles/activerecord-5.0/Gemfile.postgresql
|
154
|
-
- gemfiles/activerecord-5.0/Gemfile.sqlite3
|
155
|
-
- gemfiles/activerecord-5.1/Gemfile.base
|
156
|
-
- gemfiles/activerecord-5.1/Gemfile.mysql2
|
157
|
-
- gemfiles/activerecord-5.1/Gemfile.postgresql
|
158
|
-
- gemfiles/activerecord-5.1/Gemfile.sqlite3
|
159
120
|
- gemfiles/activerecord-5.2/Gemfile.base
|
160
121
|
- gemfiles/activerecord-5.2/Gemfile.mysql2
|
161
122
|
- gemfiles/activerecord-5.2/Gemfile.postgresql
|
162
123
|
- gemfiles/activerecord-5.2/Gemfile.sqlite3
|
124
|
+
- gemfiles/activerecord-6.0/Gemfile.base
|
125
|
+
- gemfiles/activerecord-6.0/Gemfile.mysql2
|
126
|
+
- gemfiles/activerecord-6.0/Gemfile.postgresql
|
127
|
+
- gemfiles/activerecord-6.0/Gemfile.sqlite3
|
128
|
+
- gemfiles/activerecord-6.1/Gemfile.base
|
129
|
+
- gemfiles/activerecord-6.1/Gemfile.mysql2
|
130
|
+
- gemfiles/activerecord-6.1/Gemfile.postgresql
|
131
|
+
- gemfiles/activerecord-6.1/Gemfile.sqlite3
|
163
132
|
- lib/schema_plus/compatibility.rb
|
164
133
|
- lib/schema_plus/compatibility/active_record/connection_adapters/abstract_adapter.rb
|
165
134
|
- lib/schema_plus/compatibility/active_record/connection_adapters/mysql2_adapter.rb
|
@@ -177,7 +146,7 @@ homepage: https://github.com/SchemaPlus/schema_plus_compatibility
|
|
177
146
|
licenses:
|
178
147
|
- MIT
|
179
148
|
metadata: {}
|
180
|
-
post_install_message:
|
149
|
+
post_install_message:
|
181
150
|
rdoc_options: []
|
182
151
|
require_paths:
|
183
152
|
- lib
|
@@ -185,16 +154,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
185
154
|
requirements:
|
186
155
|
- - ">="
|
187
156
|
- !ruby/object:Gem::Version
|
188
|
-
version:
|
157
|
+
version: 2.5.0
|
189
158
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
190
159
|
requirements:
|
191
160
|
- - ">="
|
192
161
|
- !ruby/object:Gem::Version
|
193
162
|
version: '0'
|
194
163
|
requirements: []
|
195
|
-
|
196
|
-
|
197
|
-
signing_key:
|
164
|
+
rubygems_version: 3.0.8
|
165
|
+
signing_key:
|
198
166
|
specification_version: 4
|
199
167
|
summary: Compatibility helpers for the SchemaPlus family of gems
|
200
168
|
test_files:
|
data/.travis.yml
DELETED
@@ -1,27 +0,0 @@
|
|
1
|
-
# This file was auto-generated by the schema_dev tool, based on the data in
|
2
|
-
# ./schema_dev.yml
|
3
|
-
# Please do not edit this file; any changes will be overwritten next time
|
4
|
-
# schema_dev gets run.
|
5
|
-
---
|
6
|
-
sudo: false
|
7
|
-
rvm:
|
8
|
-
- 2.3.1
|
9
|
-
gemfile:
|
10
|
-
- gemfiles/activerecord-4.2/Gemfile.mysql2
|
11
|
-
- gemfiles/activerecord-4.2/Gemfile.postgresql
|
12
|
-
- gemfiles/activerecord-4.2/Gemfile.sqlite3
|
13
|
-
- gemfiles/activerecord-5.0/Gemfile.mysql2
|
14
|
-
- gemfiles/activerecord-5.0/Gemfile.postgresql
|
15
|
-
- gemfiles/activerecord-5.0/Gemfile.sqlite3
|
16
|
-
- gemfiles/activerecord-5.1/Gemfile.mysql2
|
17
|
-
- gemfiles/activerecord-5.1/Gemfile.postgresql
|
18
|
-
- gemfiles/activerecord-5.1/Gemfile.sqlite3
|
19
|
-
- gemfiles/activerecord-5.2/Gemfile.mysql2
|
20
|
-
- gemfiles/activerecord-5.2/Gemfile.postgresql
|
21
|
-
- gemfiles/activerecord-5.2/Gemfile.sqlite3
|
22
|
-
env: POSTGRESQL_DB_USER=postgres MYSQL_DB_USER=travis
|
23
|
-
addons:
|
24
|
-
postgresql: '9.4'
|
25
|
-
before_script: bundle exec rake create_databases
|
26
|
-
after_script: bundle exec rake drop_databases
|
27
|
-
script: bundle exec rake travis
|