Skip to content

Commit 7136344

Browse files
authored
Merge pull request #37 from zendesk/nony--rails-7-0
Add support for Rails 7.0 & Ruby 2.7
2 parents 8114f31 + cafc1fa commit 7136344

12 files changed

+72
-9
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,19 @@ jobs:
1010
ruby-version:
1111
- '2.5'
1212
- '2.6'
13+
- '2.7'
1314
gemfile:
1415
- rails4.2
1516
- rails5.0
1617
- rails5.1
1718
- rails5.2
1819
- rails6.0
1920
- rails6.1
21+
- rails7.0
22+
exclude:
23+
- {ruby-version: '2.5', gemfile: rails7.0}
24+
- {ruby-version: '2.6', gemfile: rails7.0}
25+
- {ruby-version: '2.7', gemfile: rails4.2}
2026
env:
2127
BUNDLE_GEMFILE: gemfiles/${{ matrix.gemfile }}.gemfile
2228
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.7.0)
5-
activerecord (>= 4.2.0, < 6.2)
5+
activerecord (>= 4.2.0, < 7.1)
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.7.0)
5-
activerecord (>= 4.2.0, < 6.2)
5+
activerecord (>= 4.2.0, < 7.1)
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.7.0)
5-
activerecord (>= 4.2.0, < 6.2)
5+
activerecord (>= 4.2.0, < 7.1)
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.7.0)
5-
activerecord (>= 4.2.0, < 6.2)
5+
activerecord (>= 4.2.0, < 7.1)
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.7.0)
5-
activerecord (>= 4.2.0, < 6.2)
5+
activerecord (>= 4.2.0, < 7.1)
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.7.0)
5-
activerecord (>= 4.2.0, < 6.2)
5+
activerecord (>= 4.2.0, < 7.1)
66

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

gemfiles/rails6.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.7.0)
5-
activerecord (>= 4.2.0, < 6.2)
5+
activerecord (>= 4.2.0, < 7.1)
66

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

gemfiles/rails7.0.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", "~> 7.0.0"
4+
gem "sqlite3", "~> 1.4"
5+
6+
gemspec path: "../"

gemfiles/rails7.0.gemfile.lock

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
PATH
2+
remote: ..
3+
specs:
4+
migration_tools (1.7.0)
5+
activerecord (>= 4.2.0, < 7.1)
6+
7+
GEM
8+
remote: https://rubygems.org/
9+
specs:
10+
activemodel (7.0.4)
11+
activesupport (= 7.0.4)
12+
activerecord (7.0.4)
13+
activemodel (= 7.0.4)
14+
activesupport (= 7.0.4)
15+
activesupport (7.0.4)
16+
concurrent-ruby (~> 1.0, >= 1.0.2)
17+
i18n (>= 1.6, < 2)
18+
minitest (>= 5.1)
19+
tzinfo (~> 2.0)
20+
bump (0.10.0)
21+
concurrent-ruby (1.1.10)
22+
i18n (1.12.0)
23+
concurrent-ruby (~> 1.0)
24+
mini_portile2 (2.8.0)
25+
minitest (5.16.3)
26+
minitest-rg (5.2.0)
27+
minitest (~> 5.0)
28+
mocha (2.0.2)
29+
ruby2_keywords (>= 0.0.5)
30+
rake (13.0.6)
31+
ruby2_keywords (0.0.5)
32+
sqlite3 (1.5.4)
33+
mini_portile2 (~> 2.8.0)
34+
tzinfo (2.0.5)
35+
concurrent-ruby (~> 1.0)
36+
37+
PLATFORMS
38+
ruby
39+
40+
DEPENDENCIES
41+
activerecord (~> 7.0.0)
42+
bump
43+
migration_tools!
44+
minitest
45+
minitest-rg
46+
mocha
47+
rake
48+
sqlite3 (~> 1.4)
49+
50+
BUNDLED WITH
51+
2.3.25

0 commit comments

Comments
 (0)