Skip to content

Commit

Permalink
update test matrix & release 1.0.6 (#61)
Browse files Browse the repository at this point in the history
* update test matrix

* uncomment exclude:

* rails-8.0.Gemfile -> rails-8.Gemfile

* remove rails 7.2, 8.0

* release 1.0.6

* add rails 7.2

* fix scimaenaga.gemspec

* fix rails-7.2.Gemfile

* add some versions

* fix gemspec. rails <= 7.2 -> rails < 7.3
  • Loading branch information
mtakeda15 authored Jan 21, 2025
1 parent 5add55f commit 4d36365
Show file tree
Hide file tree
Showing 18 changed files with 85 additions and 99 deletions.
6 changes: 0 additions & 6 deletions .github/gemfiles/rails-5.2.4.6.Gemfile

This file was deleted.

6 changes: 0 additions & 6 deletions .github/gemfiles/rails-5.2.6.Gemfile

This file was deleted.

6 changes: 0 additions & 6 deletions .github/gemfiles/rails-6.0.3.7.Gemfile

This file was deleted.

6 changes: 0 additions & 6 deletions .github/gemfiles/rails-6.0.4.1.Gemfile

This file was deleted.

6 changes: 0 additions & 6 deletions .github/gemfiles/rails-6.1.3.2.Gemfile

This file was deleted.

6 changes: 0 additions & 6 deletions .github/gemfiles/rails-6.1.4.1.Gemfile

This file was deleted.

6 changes: 0 additions & 6 deletions .github/gemfiles/rails-6.1.7.2.Gemfile

This file was deleted.

6 changes: 0 additions & 6 deletions .github/gemfiles/rails-6.1.7.3.Gemfile

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ source 'https://rubygems.org'

gemspec path: '../..'

gem "rails", "7.0.4.3"
gem "rails", "7.0.7.2"
gem 'concurrent-ruby', '1.3.4'

# Since rails 7.0, rails does not require sprockets-rails.
Expand Down
10 changes: 10 additions & 0 deletions .github/gemfiles/rails-7.0.8.7.Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
source 'https://rubygems.org'

gemspec path: '../..'

gem "rails", "7.0.8.7"
gem 'concurrent-ruby', '1.3.4'

# Since rails 7.0, rails does not require sprockets-rails.
# This is added to run the same tests as in previous versions.
gem 'sprockets-rails'
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ source 'https://rubygems.org'

gemspec path: '../..'

gem "rails", "~> 7.1"
gem "rails", "7.1.4.2"

# Since rails 7.0, rails does not require sprockets-rails.
# This is added to run the same tests as in previous versions.
Expand Down
9 changes: 9 additions & 0 deletions .github/gemfiles/rails-7.1.5.1.Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
source 'https://rubygems.org'

gemspec path: '../..'

gem "rails", "7.1.5.1"

# Since rails 7.0, rails does not require sprockets-rails.
# This is added to run the same tests as in previous versions.
gem 'sprockets-rails'
9 changes: 9 additions & 0 deletions .github/gemfiles/rails-7.2.1.2.Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
source 'https://rubygems.org'

gemspec path: '../..'

gem "rails", "7.2.1.2"

# Since rails 7.0, rails does not require sprockets-rails.
# This is added to run the same tests as in previous versions.
gem 'sprockets-rails'
9 changes: 9 additions & 0 deletions .github/gemfiles/rails-7.2.2.1.Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
source 'https://rubygems.org'

gemspec path: '../..'

gem "rails", "7.2.2.1"

# Since rails 7.0, rails does not require sprockets-rails.
# This is added to run the same tests as in previous versions.
gem 'sprockets-rails'
87 changes: 40 additions & 47 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,14 @@ jobs:
## test against ruby versions from the last two release cycles
##
## cf https://endoflife.date/ruby
# 2021-04-05 releases
- 3.0.1
# 2021-07-07 releases
- 3.0.2
# 2023-02-08 release
- 3.2.1
# 2023-03-30 release
- 3.2.2
# 2023-03-30 releases
- 3.0.6
# 2024-04-23 releases
- 3.0.7
# 2024-07-26 release
- 3.2.5
# 2024-10-30 release
- 3.2.6
# 2025-01-15 release
- 3.3.7
rails:
Expand All @@ -62,50 +62,43 @@ jobs:
## .github/gemfiles
##
## cf https://endoflife.date/rails
# 2021-05-06 releases
- 6.0.3.7
- 6.1.3.2
# 2021-08-20 releases
- 6.0.4.1
- 6.1.4.1
# 2023-01-24 releases
- 6.1.7.2
# 2023-03-13 releases
- 6.1.7.3
# 2023-03-13 releases
- 7.0.4.3
# 2023-10-05 releases
- 7.1
# 2023-08-22 release
- 7.0.7.2
# 2024-12-10 release
- 7.0.8.7
# 2024-10-23 release
- 7.1.4.2
# 2024-12-10 release
- 7.1.5.1
# 2024-10-23 release
- 7.2.1.2
# 2024-12-10 release
- 7.2.2.1
exclude:
## be careful with which versions of ruby does rails support
## cf https://www.fastruby.io/blog/ruby/rails/versions/compatibility-table.html
# rails 6.0 requires ruby < 3
- rails: 6.0.3.7
ruby: 3.0.1
- rails: 6.0.3.7
ruby: 3.0.2
- rails: 6.0.4.1
ruby: 3.0.1
- rails: 6.0.4.1
ruby: 3.0.2
- rails: 6.0.3.7
ruby: 3.2.1
- rails: 6.0.4.1
ruby: 3.2.1
- rails: 6.1.3.2
ruby: 3.2.1
- rails: 6.0.3.7
ruby: 3.2.2
- rails: 6.0.4.1
ruby: 3.2.2
- rails: 6.1.3.2
ruby: 3.2.2
- rails: 6.0.3.7
# rails 7.0 requires ruby < 3.1
- rails: 7.0.7.2
ruby: 3.2.5
- rails: 7.0.7.2
ruby: 3.2.6
- rails: 7.0.7.2
ruby: 3.3.7
- rails: 6.0.4.1
ruby: 3.3.7
- rails: 6.1.3.2
- rails: 7.0.8.7
ruby: 3.2.5
- rails: 7.0.8.7
ruby: 3.2.6
- rails: 7.0.8.7
ruby: 3.3.7
# rails 7.2 requires ruby >= 3.1
- rails: 7.2.1.2
ruby: 3.0.6
- rails: 7.2.1.2
ruby: 3.0.7
- rails: 7.2.2.1
ruby: 3.0.6
- rails: 7.2.2.1
ruby: 3.0.7

env:
RAILS_ENV: test
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Upcoming Release

# v1.0.6 01-18-2025

- [Support Ruby 3.3.7](https://github.com/StudistCorporation/scimaenaga/pull/58)

# v1.0.5 11-08-2024

- [Support Ruby 3.3.6](https://github.com/StudistCorporation/scimaenaga/pull/56)
Expand Down
2 changes: 1 addition & 1 deletion lib/scimaenaga/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module Scimaenaga
VERSION = '1.0.5'
VERSION = '1.0.6'
end
2 changes: 1 addition & 1 deletion scimaenaga.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Gem::Specification.new do |s|
s.files = Dir['{app,config,db,lib}/**/*', 'MIT-LICENSE', 'Rakefile', 'README.md']

s.required_ruby_version = '>= 2.5.9', '<= 3.3.7'
s.add_dependency 'rails', '>= 5.2.4.6', '< 7.2'
s.add_dependency 'rails', '>= 7.0', '< 7.3'
s.add_runtime_dependency 'jwt', '>= 1.5'
s.test_files = Dir['spec/**/*']

Expand Down

0 comments on commit 4d36365

Please sign in to comment.