schema_plus_compatibility 0.2.0 → 1.0.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
- SHA1:
3
- metadata.gz: e562ca76fbfc4b9802d6546d1d70dd59f5f19f9c
4
- data.tar.gz: d2dfef42ed2d63926e4e56341d41dcc205e0b287
2
+ SHA256:
3
+ metadata.gz: 90ee419a56178c15697a2c4ad7cf46059b1a2852e3d367a0eade7df584738fb0
4
+ data.tar.gz: 745f4d68b8155d081e63b98acd128c8b8484ee2115e657d187e90707bd4441d7
5
5
  SHA512:
6
- metadata.gz: 75f2becf7f5cccb910c3f6d3d9f0c2692f1344731778daa0f989929775c02a6ea2790a06fcca0aed2886435e275dd7fd692a87b02b05ddf180a3ea7f263ac7cd
7
- data.tar.gz: 812dee55b0f698949d8e20a5db998cafcf845a545589da133a88fbead38a07de2161dd6fd2f1290ba9666a6c3f2839ec0e08fc869fa1542e36d1f0e4c7f6ea6a
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
- File.exist?(gemfile_local = File.expand_path('../Gemfile.local', __FILE__)) and eval File.read(gemfile_local), binding, gemfile_local
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://secure.travis-ci.org/SchemaPlus/schema_plus_compatibility.svg)](http://travis-ci.org/SchemaPlus/schema_plus_compatibility)
3
- [![Coverage Status](https://coveralls.io/repos/github/SchemaPlus/schema_plus_compatibility/badge.svg?branch=master)](https://coveralls.io/github/SchemaPlus/schema_plus_compatibility?branch=master)
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,14 +45,23 @@ 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.3.1** with activerecord **4.2**, using **mysql2**, **sqlite3** or **postgresql**
49
- * ruby **2.3.1** with activerecord **5.0**, using **mysql2**, **sqlite3** or **postgresql**
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**
50
56
 
51
57
  <!-- SCHEMA_DEV: MATRIX - end -->
52
58
 
53
- ## History
59
+ ## Release Notes
54
60
 
55
- * 0.2.0 - replace the ill-defined `connection.tables_without_deprecation` with `connection.tables_only` which truly returns solely tables.
61
+ * 1.0.0 - Drop AR < 5.2 and add 6.0 and 6.1 support
62
+ * 0.4.0 - Allow AR 5.2
63
+ * 0.3.0 - Allow AR 5.1
64
+ * 0.2.0 - Replace the ill-defined `connection.tables_without_deprecation` with `connection.tables_only` which truly returns solely tables.
56
65
  * 0.1.0 - Initial release
57
66
 
58
67
  ## Development & Testing
@@ -68,7 +77,7 @@ Some things to know about to help you develop and test:
68
77
  * **schema_dev**: SchemaPlus::Compatibility uses [schema_dev](https://github.com/SchemaPlus/schema_dev) to
69
78
  facilitate running rspec tests on the matrix of ruby, activerecord, and database
70
79
  versions that the gem supports, both locally and on
71
- [travis-ci](http://travis-ci.org/SchemaPlus/schema_plus_compatibility)
80
+ [github actions](https://github.com/SchemaPlus/schema_plus_compatibility/actions)
72
81
 
73
82
  To to run rspec locally on the full matrix, do:
74
83
 
@@ -80,7 +89,6 @@ Some things to know about to help you develop and test:
80
89
  The matrix of configurations is specified in `schema_dev.yml` in
81
90
  the project root.
82
91
 
83
-
84
92
  <!-- SCHEMA_DEV: TEMPLATE USES SCHEMA_DEV - end -->
85
93
 
86
94
  <!-- SCHEMA_DEV: TEMPLATE USES SCHEMA_MONKEY - begin -->
@@ -1,4 +1,4 @@
1
1
  source 'https://rubygems.org'
2
- gemspec :path => File.expand_path('..', __FILE__)
2
+ gemspec path: File.expand_path('..', __FILE__)
3
3
 
4
4
  File.exist?(gemfile_local = File.expand_path('../Gemfile.local', __FILE__)) and eval File.read(gemfile_local), binding, gemfile_local
@@ -0,0 +1,4 @@
1
+ base_gemfile = File.expand_path('../../Gemfile.base', __FILE__)
2
+ eval File.read(base_gemfile)
3
+
4
+ gem "activerecord", ">= 5.2.0.beta0", "< 5.3"
@@ -0,0 +1,10 @@
1
+ base_gemfile = File.expand_path('../Gemfile.base', __FILE__)
2
+ eval File.read(base_gemfile), binding, base_gemfile
3
+
4
+ platform :ruby do
5
+ gem "mysql2"
6
+ end
7
+
8
+ platform :jruby do
9
+ gem 'activerecord-jdbcmysql-adapter'
10
+ end
@@ -0,0 +1,10 @@
1
+ base_gemfile = File.expand_path('../Gemfile.base', __FILE__)
2
+ eval File.read(base_gemfile), binding, base_gemfile
3
+
4
+ platform :ruby do
5
+ gem "pg"
6
+ end
7
+
8
+ platform :jruby do
9
+ gem 'activerecord-jdbcpostgresql-adapter'
10
+ end
@@ -1,5 +1,5 @@
1
- require "pathname"
2
- eval(Pathname.new(__FILE__).dirname.join("Gemfile.base").read, binding)
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
@@ -0,0 +1,4 @@
1
+ base_gemfile = File.expand_path('../../Gemfile.base', __FILE__)
2
+ eval File.read(base_gemfile)
3
+
4
+ gem "activerecord", ">= 6.0", "< 6.1"
@@ -0,0 +1,10 @@
1
+ base_gemfile = File.expand_path('../Gemfile.base', __FILE__)
2
+ eval File.read(base_gemfile), binding, base_gemfile
3
+
4
+ platform :ruby do
5
+ gem "mysql2"
6
+ end
7
+
8
+ platform :jruby do
9
+ gem 'activerecord-jdbcmysql-adapter'
10
+ end
@@ -0,0 +1,10 @@
1
+ base_gemfile = File.expand_path('../Gemfile.base', __FILE__)
2
+ eval File.read(base_gemfile), binding, base_gemfile
3
+
4
+ platform :ruby do
5
+ gem "pg"
6
+ end
7
+
8
+ platform :jruby do
9
+ gem 'activerecord-jdbcpostgresql-adapter'
10
+ end
@@ -1,5 +1,5 @@
1
- require "pathname"
2
- eval(Pathname.new(__FILE__).dirname.join("Gemfile.base").read, binding)
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
@@ -0,0 +1,4 @@
1
+ base_gemfile = File.expand_path('../../Gemfile.base', __FILE__)
2
+ eval File.read(base_gemfile)
3
+
4
+ gem "activerecord", ">= 6.1", "< 6.2"
@@ -0,0 +1,10 @@
1
+ base_gemfile = File.expand_path('../Gemfile.base', __FILE__)
2
+ eval File.read(base_gemfile), binding, base_gemfile
3
+
4
+ platform :ruby do
5
+ gem "mysql2"
6
+ end
7
+
8
+ platform :jruby do
9
+ gem 'activerecord-jdbcmysql-adapter'
10
+ end
@@ -0,0 +1,10 @@
1
+ base_gemfile = File.expand_path('../Gemfile.base', __FILE__)
2
+ eval File.read(base_gemfile), binding, base_gemfile
3
+
4
+ platform :ruby do
5
+ gem "pg"
6
+ end
7
+
8
+ platform :jruby do
9
+ gem 'activerecord-jdbcpostgresql-adapter'
10
+ end
@@ -0,0 +1,10 @@
1
+ base_gemfile = File.expand_path('../Gemfile.base', __FILE__)
2
+ eval File.read(base_gemfile), binding, base_gemfile
3
+
4
+ platform :ruby do
5
+ gem "sqlite3"
6
+ end
7
+
8
+ platform :jruby do
9
+ gem 'activerecord-jdbcsqlite3-adapter', '>=1.3.0.beta2'
10
+ end
@@ -1,5 +1,5 @@
1
1
  module SchemaPlus
2
2
  module Compatibility
3
- VERSION = "0.2.0"
3
+ VERSION = "1.0.0"
4
4
  end
5
5
  end
data/schema_dev.yml CHANGED
@@ -1,9 +1,12 @@
1
1
  ruby:
2
- - 2.3.1
2
+ - 2.5
3
+ - 2.7
4
+ - 3.0
3
5
  activerecord:
4
- - 4.2
5
- - 5.0
6
+ - 5.2
7
+ - 6.0
8
+ - 6.1
6
9
  db:
7
- - mysql2
8
- - sqlite3
9
- - postgresql
10
+ - mysql2
11
+ - sqlite3
12
+ - postgresql
@@ -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.add_dependency "activerecord", ">= 4.2", "< 5.1"
22
- gem.add_dependency "schema_monkey", "~> 2.1"
21
+ gem.required_ruby_version = ">= 2.5.0"
23
22
 
24
- gem.add_development_dependency "bundler", "~> 1.7"
25
- gem.add_development_dependency "rake", "~> 10.0"
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", "~> 3.5"
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
@@ -1,6 +1,5 @@
1
1
  require 'simplecov'
2
- require 'simplecov-gem-profile'
3
- SimpleCov.start "gem"
2
+ SimpleCov.start
4
3
 
5
4
  $LOAD_PATH.unshift(File.dirname(__FILE__))
6
5
  $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
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.2.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: 2016-09-11 00:00:00.000000000 Z
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: '4.2'
20
+ version: '5.2'
21
21
  - - "<"
22
22
  - !ruby/object:Gem::Version
23
- version: '5.1'
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: '4.2'
30
+ version: '5.2'
31
31
  - - "<"
32
32
  - !ruby/object:Gem::Version
33
- version: '5.1'
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: '2.1'
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: '2.1'
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: '1.7'
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: '1.7'
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: '10.0'
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: '10.0'
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: '3.5'
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: '3.5'
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,21 +109,26 @@ executables: []
137
109
  extensions: []
138
110
  extra_rdoc_files: []
139
111
  files:
112
+ - ".github/workflows/prs.yml"
140
113
  - ".gitignore"
141
- - ".travis.yml"
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
120
+ - gemfiles/activerecord-5.2/Gemfile.base
121
+ - gemfiles/activerecord-5.2/Gemfile.mysql2
122
+ - gemfiles/activerecord-5.2/Gemfile.postgresql
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
155
132
  - lib/schema_plus/compatibility.rb
156
133
  - lib/schema_plus/compatibility/active_record/connection_adapters/abstract_adapter.rb
157
134
  - lib/schema_plus/compatibility/active_record/connection_adapters/mysql2_adapter.rb
@@ -169,7 +146,7 @@ homepage: https://github.com/SchemaPlus/schema_plus_compatibility
169
146
  licenses:
170
147
  - MIT
171
148
  metadata: {}
172
- post_install_message:
149
+ post_install_message:
173
150
  rdoc_options: []
174
151
  require_paths:
175
152
  - lib
@@ -177,16 +154,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
177
154
  requirements:
178
155
  - - ">="
179
156
  - !ruby/object:Gem::Version
180
- version: '0'
157
+ version: 2.5.0
181
158
  required_rubygems_version: !ruby/object:Gem::Requirement
182
159
  requirements:
183
160
  - - ">="
184
161
  - !ruby/object:Gem::Version
185
162
  version: '0'
186
163
  requirements: []
187
- rubyforge_project:
188
- rubygems_version: 2.5.1
189
- signing_key:
164
+ rubygems_version: 3.0.8
165
+ signing_key:
190
166
  specification_version: 4
191
167
  summary: Compatibility helpers for the SchemaPlus family of gems
192
168
  test_files:
data/.travis.yml DELETED
@@ -1,21 +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
- env: POSTGRESQL_DB_USER=postgres MYSQL_DB_USER=travis
17
- addons:
18
- postgresql: '9.4'
19
- before_script: bundle exec rake create_databases
20
- after_script: bundle exec rake drop_databases
21
- script: bundle exec rake travis
@@ -1,3 +0,0 @@
1
- eval File.read File.expand_path('../../Gemfile.base', __FILE__)
2
-
3
- gem "activerecord", "~> 4.2.6"
@@ -1,10 +0,0 @@
1
- require "pathname"
2
- eval(Pathname.new(__FILE__).dirname.join("Gemfile.base").read, binding)
3
-
4
- platform :ruby do
5
- gem "mysql2", '>= 0.3.18', '< 0.5'
6
- end
7
-
8
- platform :jruby do
9
- gem 'activerecord-jdbcmysql-adapter'
10
- end
@@ -1,10 +0,0 @@
1
- require "pathname"
2
- eval(Pathname.new(__FILE__).dirname.join("Gemfile.base").read, binding)
3
-
4
- platform :ruby do
5
- gem "pg"
6
- end
7
-
8
- platform :jruby do
9
- gem 'activerecord-jdbcpostgresql-adapter'
10
- end
@@ -1,3 +0,0 @@
1
- eval File.read File.expand_path('../../Gemfile.base', __FILE__)
2
-
3
- gem "activerecord", "~> 5.0.0"
@@ -1,10 +0,0 @@
1
- require "pathname"
2
- eval(Pathname.new(__FILE__).dirname.join("Gemfile.base").read, binding)
3
-
4
- platform :ruby do
5
- gem "mysql2"
6
- end
7
-
8
- platform :jruby do
9
- gem 'activerecord-jdbcmysql-adapter'
10
- end
@@ -1,10 +0,0 @@
1
- require "pathname"
2
- eval(Pathname.new(__FILE__).dirname.join("Gemfile.base").read, binding)
3
-
4
- platform :ruby do
5
- gem "pg"
6
- end
7
-
8
- platform :jruby do
9
- gem 'activerecord-jdbcpostgresql-adapter'
10
- end