Skip to content

Commit c66115c

Browse files
committed
Appraise rubies 2.6.9, 2.7.5, 3.1.0, and Rails 7
1 parent 64ce327 commit c66115c

8 files changed

+42
-22
lines changed

.circleci/config.yml

+10-9
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,19 @@
11
version: 2.1
22

33
orbs:
4-
gem-tool: appfolio/gem-tool@volatile
4+
gem-tool: appfolio/gem-tool@volatile
55

66
workflows:
77
rc:
88
jobs:
9-
- gem-tool/checkout_bundle_install_appraisal_rspec:
10-
name: test-ruby-271
9+
- gem-tool/rake_test:
10+
name: test_ruby-<< matrix.ruby_version >>
1111
context: appfolio_test_context
12-
executor_tag: gem-tool/ruby_base_271
13-
gem_name: 'swagger/blocks'
14-
- gem-tool/checkout_bundle_install_appraisal_rspec:
15-
name: test-ruby-263
16-
context: appfolio_test_context
17-
executor_tag: gem-tool/ruby_base_263
12+
executor_tag: ruby
1813
gem_name: 'swagger/blocks'
14+
matrix:
15+
parameters:
16+
ruby_version:
17+
- '3.1.0'
18+
- '2.7.5'
19+
- '2.6.9'

.ruby-version

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
ruby-2.7.1
1+
ruby-3.1.0

Appraisals

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# frozen_string_literal: true
22

33
case RUBY_VERSION
4-
when '2.6.3', '2.7.1'
4+
when '2.6.9', '2.7.5', '3.1.0'
55
appraise "ruby-#{RUBY_VERSION}" do
66
end
77
else

Gemfile

+5-4
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
# frozen_string_literal: true
22

3-
source 'https://rubygems.org'
3+
source 'https://rubygems.org' # global source
4+
source 'https://rubygems.pkg.github.com/appfolio' # global source
45

56
source 'https://rubygems.org' do
6-
gem 'rspec', '>= 3.10', '< 4'
7-
gem 'rspec_junit_formatter', '>= 0.4', '< 1'
7+
gem 'rspec', '>= 3.11', '< 4'
8+
gem 'rspec_junit_formatter', '>= 0.5', '< 1'
89
gem 'simplecov', '>= 0.21', '< 1', group: :test, require: false
910
end
1011

1112
source 'https://rubygems.pkg.github.com/appfolio' do
12-
gem 'af_gems', '>= 9.2', '< 10', group: :development
13+
gem 'af_gems', '>= 9.3', '< 10', group: :development
1314
end
1415

1516
gemspec

Rakefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ require 'rspec/core/rake_task'
1616
RSpec::Core::RakeTask.new(:test)
1717

1818
namespace :test do
19-
AfGems::RubyAppraisalTask.new(:all, ['ruby-2.6.3', 'ruby-2.7.1'])
19+
AfGems::RubyAppraisalTask.new(:all, ['ruby-2.6.9', 'ruby-2.7.5', 'ruby-3.1.0'])
2020
end
2121

2222
task default: :test
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
# This file was generated by Appraisal
22

33
source "https://rubygems.org"
4+
source "https://rubygems.pkg.github.com/appfolio"
45

56
source "https://rubygems.org" do
6-
gem "rspec", ">= 3.10", "< 4"
7-
gem "rspec_junit_formatter", ">= 0.4", "< 1"
7+
gem "rspec", ">= 3.11", "< 4"
8+
gem "rspec_junit_formatter", ">= 0.5", "< 1"
89
gem "simplecov", ">= 0.21", "< 1", group: :test, require: false
910
end
1011

1112
source "https://rubygems.pkg.github.com/appfolio" do
12-
gem "af_gems", ">= 9.2", "< 10", group: :development
13+
gem "af_gems", ">= 9.3", "< 10", group: :development
1314
end
1415

1516
gemspec path: "../"
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
# This file was generated by Appraisal
22

33
source "https://rubygems.org"
4+
source "https://rubygems.pkg.github.com/appfolio"
45

56
source "https://rubygems.org" do
6-
gem "rspec", ">= 3.10", "< 4"
7-
gem "rspec_junit_formatter", ">= 0.4", "< 1"
7+
gem "rspec", ">= 3.11", "< 4"
8+
gem "rspec_junit_formatter", ">= 0.5", "< 1"
89
gem "simplecov", ">= 0.21", "< 1", group: :test, require: false
910
end
1011

1112
source "https://rubygems.pkg.github.com/appfolio" do
12-
gem "af_gems", ">= 9.2", "< 10", group: :development
13+
gem "af_gems", ">= 9.3", "< 10", group: :development
1314
end
1415

1516
gemspec path: "../"

gemfiles/ruby_3.1.0.gemfile

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# This file was generated by Appraisal
2+
3+
source "https://rubygems.org"
4+
source "https://rubygems.pkg.github.com/appfolio"
5+
6+
source "https://rubygems.org" do
7+
gem "rspec", ">= 3.11", "< 4"
8+
gem "rspec_junit_formatter", ">= 0.5", "< 1"
9+
gem "simplecov", ">= 0.21", "< 1", group: :test, require: false
10+
end
11+
12+
source "https://rubygems.pkg.github.com/appfolio" do
13+
gem "af_gems", ">= 9.3", "< 10", group: :development
14+
end
15+
16+
gemspec path: "../"

0 commit comments

Comments
 (0)