schema_plus_triggers 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 +4 -4
- data/.github/workflows/prs.yml +178 -0
- data/.gitignore +1 -0
- data/.simplecov +20 -0
- data/README.md +9 -6
- data/gemfiles/Gemfile.base +1 -1
- data/gemfiles/activerecord-5.2/Gemfile.base +2 -1
- data/gemfiles/activerecord-5.2/Gemfile.postgresql +2 -2
- data/gemfiles/activerecord-6.0/Gemfile.base +4 -0
- data/gemfiles/activerecord-6.0/Gemfile.postgresql +10 -0
- data/lib/schema_plus/triggers/version.rb +1 -1
- data/schema_dev.yml +5 -2
- data/schema_plus_triggers.gemspec +6 -7
- data/spec/spec_helper.rb +3 -5
- metadata +15 -60
- data/.travis.yml +0 -38
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8b822817500c789159442e33f7300af39e76520111b0133c8e5a79dca1cf7e16
|
4
|
+
data.tar.gz: 7aa5ca8e5887060e3fad878ff5a6e6778d389074e3a93265549e1c4861452de8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1cb5a03e6e3adada34bd1bee0d97755c20f7a3cbf4eeeb655cca1e492ada7da2d709cda144d0c77fa2a93a06b9fbfbb2e570a18604fabda6d3cf0c8ee22a4e83
|
7
|
+
data.tar.gz: 70a76f583ff7b41e8ae697dcbf254d6c22e0a55cb57955728a53877e6f6b357c234c271075565ee12f5e66d37357dbba24d819ef958a52bbbf70c4f9aee51fbe
|
@@ -0,0 +1,178 @@
|
|
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
|
+
db:
|
29
|
+
- skip
|
30
|
+
dbversion:
|
31
|
+
- skip
|
32
|
+
exclude:
|
33
|
+
- ruby: '3.0'
|
34
|
+
activerecord: '5.2'
|
35
|
+
- db: skip
|
36
|
+
dbversion: skip
|
37
|
+
include:
|
38
|
+
- ruby: '2.5'
|
39
|
+
activerecord: '5.2'
|
40
|
+
db: postgresql
|
41
|
+
dbversion: '9.6'
|
42
|
+
- ruby: '2.5'
|
43
|
+
activerecord: '5.2'
|
44
|
+
db: postgresql
|
45
|
+
dbversion: '10'
|
46
|
+
- ruby: '2.5'
|
47
|
+
activerecord: '5.2'
|
48
|
+
db: postgresql
|
49
|
+
dbversion: '11'
|
50
|
+
- ruby: '2.5'
|
51
|
+
activerecord: '5.2'
|
52
|
+
db: postgresql
|
53
|
+
dbversion: '12'
|
54
|
+
- ruby: '2.5'
|
55
|
+
activerecord: '6.0'
|
56
|
+
db: postgresql
|
57
|
+
dbversion: '9.6'
|
58
|
+
- ruby: '2.5'
|
59
|
+
activerecord: '6.0'
|
60
|
+
db: postgresql
|
61
|
+
dbversion: '10'
|
62
|
+
- ruby: '2.5'
|
63
|
+
activerecord: '6.0'
|
64
|
+
db: postgresql
|
65
|
+
dbversion: '11'
|
66
|
+
- ruby: '2.5'
|
67
|
+
activerecord: '6.0'
|
68
|
+
db: postgresql
|
69
|
+
dbversion: '12'
|
70
|
+
- ruby: '2.7'
|
71
|
+
activerecord: '5.2'
|
72
|
+
db: postgresql
|
73
|
+
dbversion: '9.6'
|
74
|
+
- ruby: '2.7'
|
75
|
+
activerecord: '5.2'
|
76
|
+
db: postgresql
|
77
|
+
dbversion: '10'
|
78
|
+
- ruby: '2.7'
|
79
|
+
activerecord: '5.2'
|
80
|
+
db: postgresql
|
81
|
+
dbversion: '11'
|
82
|
+
- ruby: '2.7'
|
83
|
+
activerecord: '5.2'
|
84
|
+
db: postgresql
|
85
|
+
dbversion: '12'
|
86
|
+
- ruby: '2.7'
|
87
|
+
activerecord: '6.0'
|
88
|
+
db: postgresql
|
89
|
+
dbversion: '9.6'
|
90
|
+
- ruby: '2.7'
|
91
|
+
activerecord: '6.0'
|
92
|
+
db: postgresql
|
93
|
+
dbversion: '10'
|
94
|
+
- ruby: '2.7'
|
95
|
+
activerecord: '6.0'
|
96
|
+
db: postgresql
|
97
|
+
dbversion: '11'
|
98
|
+
- ruby: '2.7'
|
99
|
+
activerecord: '6.0'
|
100
|
+
db: postgresql
|
101
|
+
dbversion: '12'
|
102
|
+
- ruby: '3.0'
|
103
|
+
activerecord: '6.0'
|
104
|
+
db: postgresql
|
105
|
+
dbversion: '9.6'
|
106
|
+
- ruby: '3.0'
|
107
|
+
activerecord: '6.0'
|
108
|
+
db: postgresql
|
109
|
+
dbversion: '10'
|
110
|
+
- ruby: '3.0'
|
111
|
+
activerecord: '6.0'
|
112
|
+
db: postgresql
|
113
|
+
dbversion: '11'
|
114
|
+
- ruby: '3.0'
|
115
|
+
activerecord: '6.0'
|
116
|
+
db: postgresql
|
117
|
+
dbversion: '12'
|
118
|
+
env:
|
119
|
+
BUNDLE_GEMFILE: "${{ github.workspace }}/gemfiles/activerecord-${{ matrix.activerecord }}/Gemfile.${{ matrix.db }}"
|
120
|
+
POSTGRESQL_DB_HOST: 127.0.0.1
|
121
|
+
POSTGRESQL_DB_USER: schema_plus_test
|
122
|
+
POSTGRESQL_DB_PASS: database
|
123
|
+
steps:
|
124
|
+
- uses: actions/checkout@v2
|
125
|
+
- name: Set up Ruby
|
126
|
+
uses: ruby/setup-ruby@v1
|
127
|
+
with:
|
128
|
+
ruby-version: "${{ matrix.ruby }}"
|
129
|
+
bundler-cache: true
|
130
|
+
- name: Run bundle update
|
131
|
+
run: bundle update
|
132
|
+
- name: Start Postgresql
|
133
|
+
if: matrix.db == 'postgresql'
|
134
|
+
run: |
|
135
|
+
docker run --rm --detach \
|
136
|
+
-e POSTGRES_USER=$POSTGRESQL_DB_USER \
|
137
|
+
-e POSTGRES_PASSWORD=$POSTGRESQL_DB_PASS \
|
138
|
+
-p 5432:5432 \
|
139
|
+
--health-cmd "pg_isready -q" \
|
140
|
+
--health-interval 5s \
|
141
|
+
--health-timeout 5s \
|
142
|
+
--health-retries 5 \
|
143
|
+
--name database postgres:${{ matrix.dbversion }}
|
144
|
+
- name: Wait for database to start
|
145
|
+
if: "(matrix.db == 'postgresql' || matrix.db == 'mysql2')"
|
146
|
+
run: |
|
147
|
+
COUNT=0
|
148
|
+
ATTEMPTS=20
|
149
|
+
until [[ $COUNT -eq $ATTEMPTS ]]; do
|
150
|
+
[ "$(docker inspect -f {{.State.Health.Status}} database)" == "healthy" ] && break
|
151
|
+
echo $(( COUNT++ )) > /dev/null
|
152
|
+
sleep 2
|
153
|
+
done
|
154
|
+
- name: Create testing database
|
155
|
+
if: "(matrix.db == 'postgresql' || matrix.db == 'mysql2')"
|
156
|
+
run: bundle exec rake create_ci_database
|
157
|
+
- name: Run tests
|
158
|
+
run: bundle exec rake spec
|
159
|
+
- name: Shutdown database
|
160
|
+
if: always() && (matrix.db == 'postgresql' || matrix.db == 'mysql2')
|
161
|
+
run: docker stop database
|
162
|
+
- name: Coveralls Parallel
|
163
|
+
if: "${{ !env.ACT }}"
|
164
|
+
uses: coverallsapp/github-action@master
|
165
|
+
with:
|
166
|
+
github-token: "${{ secrets.GITHUB_TOKEN }}"
|
167
|
+
flag-name: run-${{ matrix.ruby }}-${{ matrix.activerecord }}-${{ matrix.db }}-${{ matrix.dbversion }}
|
168
|
+
parallel: true
|
169
|
+
finish:
|
170
|
+
needs: test
|
171
|
+
runs-on: ubuntu-latest
|
172
|
+
steps:
|
173
|
+
- name: Coveralls Finished
|
174
|
+
if: "${{ !env.ACT }}"
|
175
|
+
uses: coverallsapp/github-action@master
|
176
|
+
with:
|
177
|
+
github-token: "${{ secrets.GITHUB_TOKEN }}"
|
178
|
+
parallel-finished: true
|
data/.gitignore
CHANGED
data/.simplecov
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
SimpleCov.configure do
|
4
|
+
enable_coverage :branch
|
5
|
+
add_filter '/spec/'
|
6
|
+
|
7
|
+
add_group 'Binaries', '/bin/'
|
8
|
+
add_group 'Libraries', '/lib/'
|
9
|
+
|
10
|
+
if ENV['CI']
|
11
|
+
require 'simplecov-lcov'
|
12
|
+
|
13
|
+
SimpleCov::Formatter::LcovFormatter.config do |c|
|
14
|
+
c.report_with_single_file = true
|
15
|
+
c.single_report_path = 'coverage/lcov.info'
|
16
|
+
end
|
17
|
+
|
18
|
+
formatter SimpleCov::Formatter::LcovFormatter
|
19
|
+
end
|
20
|
+
end
|
data/README.md
CHANGED
@@ -1,7 +1,6 @@
|
|
1
1
|
[![Gem Version](https://badge.fury.io/rb/schema_plus_triggers.svg)](http://badge.fury.io/rb/schema_plus_triggers)
|
2
|
-
[![Build Status](https://
|
3
|
-
[![Coverage Status](https://
|
4
|
-
[![Dependency Status](https://gemnasium.com/SchemaPlus/schema_plus_triggers.svg)](https://gemnasium.com/SchemaPlus/schema_plus_triggers)
|
2
|
+
[![Build Status](https://github.com/SchemaPlus/schema_plus_triggers/actions/workflows/prs.yml/badge.svg)](http://github.com/SchemaPlus/schema_plus_triggers/actions)
|
3
|
+
[![Coverage Status](https://coveralls.io/repos/github/SchemaPlus/schema_plus_triggers/badge.svg)](https://coveralls.io/github/SchemaPlus/schema_plus_triggers)
|
5
4
|
|
6
5
|
# SchemaPlus::Triggers
|
7
6
|
|
@@ -28,7 +27,11 @@ SchemaPlus::Triggers is tested on:
|
|
28
27
|
|
29
28
|
<!-- SCHEMA_DEV: MATRIX - begin -->
|
30
29
|
<!-- These lines are auto-generated by schema_dev based on schema_dev.yml -->
|
31
|
-
* ruby **2.
|
30
|
+
* ruby **2.5** with activerecord **5.2**, using **postgresql:9.6**, **postgresql:10**, **postgresql:11** or **postgresql:12**
|
31
|
+
* ruby **2.5** with activerecord **6.0**, using **postgresql:9.6**, **postgresql:10**, **postgresql:11** or **postgresql:12**
|
32
|
+
* ruby **2.7** with activerecord **5.2**, using **postgresql:9.6**, **postgresql:10**, **postgresql:11** or **postgresql:12**
|
33
|
+
* ruby **2.7** with activerecord **6.0**, using **postgresql:9.6**, **postgresql:10**, **postgresql:11** or **postgresql:12**
|
34
|
+
* ruby **3.0** with activerecord **6.0**, using **postgresql:9.6**, **postgresql:10**, **postgresql:11** or **postgresql:12**
|
32
35
|
|
33
36
|
<!-- SCHEMA_DEV: MATRIX - end -->
|
34
37
|
|
@@ -76,6 +79,7 @@ This will return an array of arrays. The inner array containing the table name a
|
|
76
79
|
|
77
80
|
## History
|
78
81
|
|
82
|
+
* **1.0.0** - Drop ruby < 2.5, and add Rails 6.0
|
79
83
|
* **0.2.0** - Add testing for multiple PostgreSQL versions
|
80
84
|
* **0.1.0** - Initial release
|
81
85
|
|
@@ -92,7 +96,7 @@ Some things to know about to help you develop and test:
|
|
92
96
|
* **schema_dev**: SchemaPlus::Triggers uses [schema_dev](https://github.com/SchemaPlus/schema_dev) to
|
93
97
|
facilitate running rspec tests on the matrix of ruby, activerecord, and database
|
94
98
|
versions that the gem supports, both locally and on
|
95
|
-
[
|
99
|
+
[github actions](https://github.com/SchemaPlus/schema_plus_triggers/actions)
|
96
100
|
|
97
101
|
To to run rspec locally on the full matrix, do:
|
98
102
|
|
@@ -104,7 +108,6 @@ Some things to know about to help you develop and test:
|
|
104
108
|
The matrix of configurations is specified in `schema_dev.yml` in
|
105
109
|
the project root.
|
106
110
|
|
107
|
-
|
108
111
|
<!-- SCHEMA_DEV: TEMPLATE USES SCHEMA_DEV - end -->
|
109
112
|
|
110
113
|
<!-- SCHEMA_DEV: TEMPLATE USES SCHEMA_PLUS_CORE - begin -->
|
data/gemfiles/Gemfile.base
CHANGED
data/schema_dev.yml
CHANGED
@@ -19,14 +19,13 @@ Gem::Specification.new do |gem|
|
|
19
19
|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
20
20
|
gem.require_paths = ["lib"]
|
21
21
|
|
22
|
-
gem.
|
23
|
-
|
22
|
+
gem.required_ruby_version = ">= 2.5.0"
|
23
|
+
|
24
|
+
gem.add_dependency "activerecord", ">= 5.2", '< 6.1'
|
25
|
+
gem.add_dependency "schema_plus_core", "~> 3.0"
|
24
26
|
|
25
27
|
gem.add_development_dependency "bundler"
|
26
|
-
gem.add_development_dependency "rake", "~>
|
28
|
+
gem.add_development_dependency "rake", "~> 13.0"
|
27
29
|
gem.add_development_dependency "rspec", "~> 3.0"
|
28
|
-
gem.add_development_dependency "schema_dev", "~>
|
29
|
-
gem.add_development_dependency "schema_plus_compatibility", "~> 0.2"
|
30
|
-
gem.add_development_dependency "simplecov"
|
31
|
-
gem.add_development_dependency "simplecov-gem-profile"
|
30
|
+
gem.add_development_dependency "schema_dev", "~> 4.1"
|
32
31
|
end
|
data/spec/spec_helper.rb
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
require 'simplecov'
|
4
|
-
|
5
|
-
SimpleCov.start "gem"
|
4
|
+
SimpleCov.start
|
6
5
|
|
7
6
|
$LOAD_PATH.unshift(File.dirname(__FILE__))
|
8
7
|
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
|
@@ -10,7 +9,6 @@ $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
|
|
10
9
|
require 'rspec'
|
11
10
|
require 'active_record'
|
12
11
|
require 'schema_plus_triggers'
|
13
|
-
require 'schema_plus_compatibility'
|
14
12
|
require 'schema_dev/rspec'
|
15
13
|
|
16
14
|
SchemaDev::Rspec.setup
|
@@ -24,7 +22,7 @@ RSpec.configure do |config|
|
|
24
22
|
begin
|
25
23
|
example.run
|
26
24
|
ensure
|
27
|
-
ActiveRecord::Base.connection.
|
25
|
+
ActiveRecord::Base.connection.tables.each do |table|
|
28
26
|
ActiveRecord::Migration.drop_table table, force: :cascade
|
29
27
|
end
|
30
28
|
end
|
@@ -35,7 +33,7 @@ end
|
|
35
33
|
def define_schema(config = {}, &block)
|
36
34
|
ActiveRecord::Migration.suppress_messages do
|
37
35
|
ActiveRecord::Schema.define do
|
38
|
-
ActiveRecord::Base.connection.
|
36
|
+
ActiveRecord::Base.connection.tables.each do |table|
|
39
37
|
ActiveRecord::Migration.drop_table table, force: :cascade
|
40
38
|
end
|
41
39
|
instance_eval &block
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: schema_plus_triggers
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Edward Rudd
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-05-06 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: '5.2'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: '
|
22
|
+
version: '6.1'
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,27 +29,21 @@ dependencies:
|
|
29
29
|
version: '5.2'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: '
|
32
|
+
version: '6.1'
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: schema_plus_core
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
36
36
|
requirements:
|
37
37
|
- - "~>"
|
38
38
|
- !ruby/object:Gem::Version
|
39
|
-
version: '
|
40
|
-
- - ">="
|
41
|
-
- !ruby/object:Gem::Version
|
42
|
-
version: 2.2.3
|
39
|
+
version: '3.0'
|
43
40
|
type: :runtime
|
44
41
|
prerelease: false
|
45
42
|
version_requirements: !ruby/object:Gem::Requirement
|
46
43
|
requirements:
|
47
44
|
- - "~>"
|
48
45
|
- !ruby/object:Gem::Version
|
49
|
-
version: '
|
50
|
-
- - ">="
|
51
|
-
- !ruby/object:Gem::Version
|
52
|
-
version: 2.2.3
|
46
|
+
version: '3.0'
|
53
47
|
- !ruby/object:Gem::Dependency
|
54
48
|
name: bundler
|
55
49
|
requirement: !ruby/object:Gem::Requirement
|
@@ -70,14 +64,14 @@ dependencies:
|
|
70
64
|
requirements:
|
71
65
|
- - "~>"
|
72
66
|
- !ruby/object:Gem::Version
|
73
|
-
version: '
|
67
|
+
version: '13.0'
|
74
68
|
type: :development
|
75
69
|
prerelease: false
|
76
70
|
version_requirements: !ruby/object:Gem::Requirement
|
77
71
|
requirements:
|
78
72
|
- - "~>"
|
79
73
|
- !ruby/object:Gem::Version
|
80
|
-
version: '
|
74
|
+
version: '13.0'
|
81
75
|
- !ruby/object:Gem::Dependency
|
82
76
|
name: rspec
|
83
77
|
requirement: !ruby/object:Gem::Requirement
|
@@ -98,56 +92,14 @@ dependencies:
|
|
98
92
|
requirements:
|
99
93
|
- - "~>"
|
100
94
|
- !ruby/object:Gem::Version
|
101
|
-
version: '
|
102
|
-
type: :development
|
103
|
-
prerelease: false
|
104
|
-
version_requirements: !ruby/object:Gem::Requirement
|
105
|
-
requirements:
|
106
|
-
- - "~>"
|
107
|
-
- !ruby/object:Gem::Version
|
108
|
-
version: '3.12'
|
109
|
-
- !ruby/object:Gem::Dependency
|
110
|
-
name: schema_plus_compatibility
|
111
|
-
requirement: !ruby/object:Gem::Requirement
|
112
|
-
requirements:
|
113
|
-
- - "~>"
|
114
|
-
- !ruby/object:Gem::Version
|
115
|
-
version: '0.2'
|
95
|
+
version: '4.1'
|
116
96
|
type: :development
|
117
97
|
prerelease: false
|
118
98
|
version_requirements: !ruby/object:Gem::Requirement
|
119
99
|
requirements:
|
120
100
|
- - "~>"
|
121
101
|
- !ruby/object:Gem::Version
|
122
|
-
version: '
|
123
|
-
- !ruby/object:Gem::Dependency
|
124
|
-
name: simplecov
|
125
|
-
requirement: !ruby/object:Gem::Requirement
|
126
|
-
requirements:
|
127
|
-
- - ">="
|
128
|
-
- !ruby/object:Gem::Version
|
129
|
-
version: '0'
|
130
|
-
type: :development
|
131
|
-
prerelease: false
|
132
|
-
version_requirements: !ruby/object:Gem::Requirement
|
133
|
-
requirements:
|
134
|
-
- - ">="
|
135
|
-
- !ruby/object:Gem::Version
|
136
|
-
version: '0'
|
137
|
-
- !ruby/object:Gem::Dependency
|
138
|
-
name: simplecov-gem-profile
|
139
|
-
requirement: !ruby/object:Gem::Requirement
|
140
|
-
requirements:
|
141
|
-
- - ">="
|
142
|
-
- !ruby/object:Gem::Version
|
143
|
-
version: '0'
|
144
|
-
type: :development
|
145
|
-
prerelease: false
|
146
|
-
version_requirements: !ruby/object:Gem::Requirement
|
147
|
-
requirements:
|
148
|
-
- - ">="
|
149
|
-
- !ruby/object:Gem::Version
|
150
|
-
version: '0'
|
102
|
+
version: '4.1'
|
151
103
|
description: Adds support for triggers in ActiveRecord
|
152
104
|
email:
|
153
105
|
- urkle@outoforder.cc
|
@@ -155,8 +107,9 @@ executables: []
|
|
155
107
|
extensions: []
|
156
108
|
extra_rdoc_files: []
|
157
109
|
files:
|
110
|
+
- ".github/workflows/prs.yml"
|
158
111
|
- ".gitignore"
|
159
|
-
- ".
|
112
|
+
- ".simplecov"
|
160
113
|
- Gemfile
|
161
114
|
- LICENSE.txt
|
162
115
|
- README.md
|
@@ -164,6 +117,8 @@ files:
|
|
164
117
|
- gemfiles/Gemfile.base
|
165
118
|
- gemfiles/activerecord-5.2/Gemfile.base
|
166
119
|
- gemfiles/activerecord-5.2/Gemfile.postgresql
|
120
|
+
- gemfiles/activerecord-6.0/Gemfile.base
|
121
|
+
- gemfiles/activerecord-6.0/Gemfile.postgresql
|
167
122
|
- lib/schema_plus/triggers.rb
|
168
123
|
- lib/schema_plus/triggers/active_record/connection_adapters/abstract_adapter.rb
|
169
124
|
- lib/schema_plus/triggers/active_record/connection_adapters/postgresql_adapter.rb
|
@@ -188,7 +143,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
188
143
|
requirements:
|
189
144
|
- - ">="
|
190
145
|
- !ruby/object:Gem::Version
|
191
|
-
version:
|
146
|
+
version: 2.5.0
|
192
147
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
193
148
|
requirements:
|
194
149
|
- - ">="
|
data/.travis.yml
DELETED
@@ -1,38 +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
|
-
rvm:
|
7
|
-
- 2.3.1
|
8
|
-
gemfile:
|
9
|
-
- gemfiles/activerecord-5.2/Gemfile.postgresql
|
10
|
-
before_script: bundle exec rake create_databases
|
11
|
-
after_script: bundle exec rake drop_databases
|
12
|
-
script: bundle exec rake travis
|
13
|
-
jobs:
|
14
|
-
include:
|
15
|
-
- addons:
|
16
|
-
postgresql: '9.6'
|
17
|
-
env: POSTGRESQL_DB_USER=postgres
|
18
|
-
- addons:
|
19
|
-
postgresql: '10'
|
20
|
-
apt:
|
21
|
-
packages:
|
22
|
-
- postgresql-10
|
23
|
-
- postgresql-client-10
|
24
|
-
env: POSTGRESQL_DB_USER=postgres
|
25
|
-
- addons:
|
26
|
-
postgresql: '11'
|
27
|
-
apt:
|
28
|
-
packages:
|
29
|
-
- postgresql-11
|
30
|
-
- postgresql-client-11
|
31
|
-
env: POSTGRESQL_DB_USER=travis PGPORT=5433
|
32
|
-
- addons:
|
33
|
-
postgresql: '12'
|
34
|
-
apt:
|
35
|
-
packages:
|
36
|
-
- postgresql-12
|
37
|
-
- postgresql-client-12
|
38
|
-
env: POSTGRESQL_DB_USER=travis PGPORT=5433
|