Skip to content

Commit

Permalink
Merge pull request #30 from pepabo/fix-error-on-activesupport-7
Browse files Browse the repository at this point in the history
Fix error on activesupport 7
  • Loading branch information
kenchan authored May 21, 2024
2 parents 1664bf4 + 3b75fca commit b19eae1
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 3 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,21 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby: [2.5, 2.6, 2.7, 3.0]
ruby: [2.7, 3.0, 3.1, 3.2]
gemfile: ["active_support_6", "active_support_7"]

runs-on: ubuntu-latest

env:
BUNDLE_GEMFILE: gemfiles/${{ matrix.gemfile }}.gemfile

steps:
- uses: actions/checkout@v2

- uses: ruby/setup-ruby@v1.64.1
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
cache-version: ${{ matrix.gemfile }}

- run: bundle exec rspec
6 changes: 6 additions & 0 deletions gemfiles/active_support_6.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
source 'https://rubygems.org'

gem 'activesupport', "~> 6.0"

# Specify your gem's dependencies in global_sign.gemspec
gemspec path: '../'
6 changes: 6 additions & 0 deletions gemfiles/active_support_7.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
source 'https://rubygems.org'

gem 'activesupport', "~> 7.0"

# Specify your gem's dependencies in global_sign.gemspec
gemspec path: '../'
3 changes: 2 additions & 1 deletion lib/global_sign.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
require 'active_support/core_ext/hash/conversions'
require 'active_support'
require 'active_support/core_ext'

require 'global_sign/version'
require 'global_sign/client'
Expand Down

0 comments on commit b19eae1

Please sign in to comment.