Skip to content

Commit 5fbc876

Browse files
authored
Merge pull request #33 from zendesk/bquorning.add-ar-6-1
Add compatibility with ActiveRecord 6.1
2 parents 5f72203 + 972c039 commit 5fbc876

File tree

10 files changed

+69
-7
lines changed

10 files changed

+69
-7
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,12 @@ jobs:
1717
- rails5.1
1818
- rails5.2
1919
- rails6.0
20+
- rails6.1
2021
exclude:
2122
- ruby-version: 2.4
2223
gemfile: rails6.0
24+
- ruby-version: 2.4
25+
gemfile: rails6.1
2326
env:
2427
BUNDLE_GEMFILE: gemfiles/${{ matrix.gemfile }}.gemfile
2528
steps:

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ PATH
22
remote: .
33
specs:
44
migration_tools (1.6.0)
5-
activerecord (>= 4.2.0, < 6.1)
5+
activerecord (>= 4.2.0, < 6.2)
66

77
GEM
88
remote: https://rubygems.org/

gemfiles/rails4.2.gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ PATH
22
remote: ..
33
specs:
44
migration_tools (1.6.0)
5-
activerecord (>= 4.2.0, < 6.1)
5+
activerecord (>= 4.2.0, < 6.2)
66

77
GEM
88
remote: https://rubygems.org/

gemfiles/rails5.0.gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ PATH
22
remote: ..
33
specs:
44
migration_tools (1.6.0)
5-
activerecord (>= 4.2.0, < 6.1)
5+
activerecord (>= 4.2.0, < 6.2)
66

77
GEM
88
remote: https://rubygems.org/

gemfiles/rails5.1.gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ PATH
22
remote: ..
33
specs:
44
migration_tools (1.6.0)
5-
activerecord (>= 4.2.0, < 6.1)
5+
activerecord (>= 4.2.0, < 6.2)
66

77
GEM
88
remote: https://rubygems.org/

gemfiles/rails5.2.gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ PATH
22
remote: ..
33
specs:
44
migration_tools (1.6.0)
5-
activerecord (>= 4.2.0, < 6.1)
5+
activerecord (>= 4.2.0, < 6.2)
66

77
GEM
88
remote: https://rubygems.org/

gemfiles/rails6.0.gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ PATH
22
remote: ..
33
specs:
44
migration_tools (1.6.0)
5-
activerecord (>= 4.2.0, < 6.1)
5+
activerecord (>= 4.2.0, < 6.2)
66

77
GEM
88
remote: https://rubygems.org/

gemfiles/rails6.1.gemfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
source "https://rubygems.org"
2+
3+
gem "activerecord", "~> 6.1.0"
4+
gem "sqlite3", "~> 1.4"
5+
6+
gemspec path: "../"

gemfiles/rails6.1.gemfile.lock

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
PATH
2+
remote: ..
3+
specs:
4+
migration_tools (1.6.0)
5+
activerecord (>= 4.2.0, < 6.2)
6+
7+
GEM
8+
remote: https://rubygems.org/
9+
specs:
10+
activemodel (6.1.4.1)
11+
activesupport (= 6.1.4.1)
12+
activerecord (6.1.4.1)
13+
activemodel (= 6.1.4.1)
14+
activesupport (= 6.1.4.1)
15+
activesupport (6.1.4.1)
16+
concurrent-ruby (~> 1.0, >= 1.0.2)
17+
i18n (>= 1.6, < 2)
18+
minitest (>= 5.1)
19+
tzinfo (~> 2.0)
20+
zeitwerk (~> 2.3)
21+
bump (0.10.0)
22+
concurrent-ruby (1.1.9)
23+
i18n (1.8.10)
24+
concurrent-ruby (~> 1.0)
25+
minitest (5.14.4)
26+
minitest-rg (5.2.0)
27+
minitest (~> 5.0)
28+
mocha (1.13.0)
29+
rake (13.0.6)
30+
sqlite3 (1.4.2)
31+
tzinfo (2.0.4)
32+
concurrent-ruby (~> 1.0)
33+
wwtd (1.4.1)
34+
zeitwerk (2.4.2)
35+
36+
PLATFORMS
37+
x86_64-darwin-19
38+
x86_64-darwin-20
39+
x86_64-linux
40+
41+
DEPENDENCIES
42+
activerecord (~> 6.1.0)
43+
bump
44+
migration_tools!
45+
minitest
46+
minitest-rg
47+
mocha
48+
rake
49+
sqlite3 (~> 1.4)
50+
wwtd
51+
52+
BUNDLED WITH
53+
2.2.27

migration_tools.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Gem::Specification.new "migration_tools", "1.6.0" do |s|
77
s.files = `git ls-files lib`.split("\n")
88
s.license = "Apache-2.0"
99

10-
s.add_runtime_dependency "activerecord", '>= 4.2.0', '< 6.1'
10+
s.add_runtime_dependency "activerecord", '>= 4.2.0', '< 6.2'
1111

1212
s.add_development_dependency "rake"
1313
s.add_development_dependency "bump"

0 commit comments

Comments
 (0)