Skip to content

Commit 2acf6c9

Browse files
authored
Merge pull request #278 from graphql-devise/add-rails-7-2-support
Add support for Rails 7.2
2 parents 5dcaa80 + cacc1aa commit 2acf6c9

14 files changed

Lines changed: 108 additions & 42 deletions

.circleci/config.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ workflows:
4242
ruby-version:
4343
- '2.7'
4444
- '3.0'
45+
- '3.1'
4546
gemfile:
4647
- gemfiles/rails6.0_graphql1.11.gemfile
4748
- gemfiles/rails6.0_graphql1.12.gemfile
@@ -61,6 +62,27 @@ workflows:
6162
- gemfiles/rails7.1_graphql2.1.gemfile
6263
- gemfiles/rails7.1_graphql2.2.gemfile
6364
- gemfiles/rails7.1_graphql2.3.gemfile
65+
- gemfiles/rails7.2_graphql2.0.gemfile
66+
- gemfiles/rails7.2_graphql2.1.gemfile
67+
- gemfiles/rails7.2_graphql2.2.gemfile
68+
- gemfiles/rails7.2_graphql2.3.gemfile
69+
exclude:
70+
- ruby-version: '2.7'
71+
gemfile: gemfiles/rails7.2_graphql2.0.gemfile
72+
- ruby-version: '2.7'
73+
gemfile: gemfiles/rails7.2_graphql2.1.gemfile
74+
- ruby-version: '2.7'
75+
gemfile: gemfiles/rails7.2_graphql2.2.gemfile
76+
- ruby-version: '2.7'
77+
gemfile: gemfiles/rails7.2_graphql2.3.gemfile
78+
- ruby-version: '3.0'
79+
gemfile: gemfiles/rails7.2_graphql2.0.gemfile
80+
- ruby-version: '3.0'
81+
gemfile: gemfiles/rails7.2_graphql2.1.gemfile
82+
- ruby-version: '3.0'
83+
gemfile: gemfiles/rails7.2_graphql2.2.gemfile
84+
- ruby-version: '3.0'
85+
gemfile: gemfiles/rails7.2_graphql2.3.gemfile
6486
- report-coverage:
6587
requires:
6688
- test

Appraisals

Lines changed: 35 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,5 @@
1-
appraise 'rails6.0-graphql1.10' do
2-
gem 'sqlite3', '~> 1.5.4'
3-
gem 'devise', '>= 4.7'
4-
gem 'rails', git: 'https://github.com/rails/rails', branch: '6-0-stable'
5-
gem 'graphql', '~> 1.10.0'
6-
gem 'factory_bot', '<= 6.4.4'
7-
end
8-
91
appraise 'rails6.0-graphql1.11' do
2+
gem 'psych', '< 4'
103
gem 'sqlite3', '~> 1.5.4'
114
gem 'public_suffix', '< 5'
125
gem 'devise', '>= 4.7'
@@ -16,6 +9,7 @@ appraise 'rails6.0-graphql1.11' do
169
end
1710

1811
appraise 'rails6.0-graphql1.12' do
12+
gem 'psych', '< 4'
1913
gem 'sqlite3', '~> 1.5.4'
2014
gem 'public_suffix', '< 5'
2115
gem 'devise', '>= 4.7'
@@ -25,6 +19,7 @@ appraise 'rails6.0-graphql1.12' do
2519
end
2620

2721
appraise 'rails6.0-graphql1.13' do
22+
gem 'psych', '< 4'
2823
gem 'sqlite3', '~> 1.5.4'
2924
gem 'devise', '>= 4.7'
3025
gem 'rails', git: 'https://github.com/rails/rails', branch: '6-0-stable'
@@ -173,3 +168,35 @@ appraise 'rails7.1-graphql2.3' do
173168
gem 'rails', git: 'https://github.com/rails/rails', branch: '7-1-stable'
174169
gem 'graphql', '>= 2.3', '< 2.4'
175170
end
171+
172+
appraise 'rails7.2-graphql2.0' do
173+
gem 'sassc-rails'
174+
gem 'devise_token_auth', '>= 1.2.1'
175+
gem 'devise', '>= 4.7'
176+
gem 'rails', git: 'https://github.com/rails/rails', branch: '7-2-stable'
177+
gem 'graphql', '>= 2.0', '< 2.1'
178+
end
179+
180+
appraise 'rails7.2-graphql2.1' do
181+
gem 'sassc-rails'
182+
gem 'devise_token_auth', '>= 1.2.1'
183+
gem 'devise', '>= 4.7'
184+
gem 'rails', git: 'https://github.com/rails/rails', branch: '7-2-stable'
185+
gem 'graphql', '>= 2.1', '< 2.2'
186+
end
187+
188+
appraise 'rails7.2-graphql2.2' do
189+
gem 'sassc-rails'
190+
gem 'devise_token_auth', '>= 1.2.1'
191+
gem 'devise', '>= 4.7'
192+
gem 'rails', git: 'https://github.com/rails/rails', branch: '7-2-stable'
193+
gem 'graphql', '>= 2.2', '< 2.3'
194+
end
195+
196+
appraise 'rails7.2-graphql2.3' do
197+
gem 'sassc-rails'
198+
gem 'devise_token_auth', '>= 1.2.1'
199+
gem 'devise', '>= 4.7'
200+
gem 'rails', git: 'https://github.com/rails/rails', branch: '7-2-stable'
201+
gem 'graphql', '>= 2.3', '< 2.4'
202+
end

gemfiles/rails6.0_graphql1.10.gemfile

Lines changed: 0 additions & 11 deletions
This file was deleted.

gemfiles/rails6.0_graphql1.11.gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
source "https://rubygems.org"
44

5+
gem "psych", "< 4"
56
gem "sqlite3", "~> 1.5.4"
67
gem "public_suffix", "< 5"
78
gem "devise", ">= 4.7"

gemfiles/rails6.0_graphql1.12.gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
source "https://rubygems.org"
44

5+
gem "psych", "< 4"
56
gem "sqlite3", "~> 1.5.4"
67
gem "public_suffix", "< 5"
78
gem "devise", ">= 4.7"

gemfiles/rails6.0_graphql1.13.gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
source "https://rubygems.org"
44

5+
gem "psych", "< 4"
56
gem "sqlite3", "~> 1.5.4"
67
gem "devise", ">= 4.7"
78
gem "rails", git: "https://github.com/rails/rails", branch: "6-0-stable"
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# This file was generated by Appraisal
2+
3+
source "https://rubygems.org"
4+
5+
gem "sassc-rails"
6+
gem "devise_token_auth", ">= 1.2.1"
7+
gem "devise", ">= 4.7"
8+
gem "rails", git: "https://github.com/rails/rails", branch: "7-2-stable"
9+
gem "graphql", ">= 2.0", "< 2.1"
10+
11+
gemspec path: "../"
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# This file was generated by Appraisal
2+
3+
source "https://rubygems.org"
4+
5+
gem "sassc-rails"
6+
gem "devise_token_auth", ">= 1.2.1"
7+
gem "devise", ">= 4.7"
8+
gem "rails", git: "https://github.com/rails/rails", branch: "7-2-stable"
9+
gem "graphql", ">= 2.1", "< 2.2"
10+
11+
gemspec path: "../"
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# This file was generated by Appraisal
2+
3+
source "https://rubygems.org"
4+
5+
gem "sassc-rails"
6+
gem "devise_token_auth", ">= 1.2.1"
7+
gem "devise", ">= 4.7"
8+
gem "rails", git: "https://github.com/rails/rails", branch: "7-2-stable"
9+
gem "graphql", ">= 2.2", "< 2.3"
10+
11+
gemspec path: "../"
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# This file was generated by Appraisal
2+
3+
source "https://rubygems.org"
4+
5+
gem "sassc-rails"
6+
gem "devise_token_auth", ">= 1.2.1"
7+
gem "devise", ">= 4.7"
8+
gem "rails", git: "https://github.com/rails/rails", branch: "7-2-stable"
9+
gem "graphql", ">= 2.3", "< 2.4"
10+
11+
gemspec path: "../"

0 commit comments

Comments
 (0)