Skip to content

Commit

Permalink
Upgrade Ruby
Browse files Browse the repository at this point in the history
  • Loading branch information
jpalumickas committed Feb 5, 2025
1 parent c287a35 commit b7668d1
Show file tree
Hide file tree
Showing 7 changed files with 79 additions and 64 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ jobs:
test:
strategy:
matrix:
ruby: [ 2.6, 2.7, '3.0', 3.1]
ruby: [2.7, '3.0', 3.1, 3.2, 3.3, 3.4]

runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Ruby ${{ matrix.ruby }}
uses: ruby/setup-ruby@v1
Expand Down
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
require: rubocop-rspec

AllCops:
TargetRubyVersion: 2.6
TargetRubyVersion: 2.7
SuggestExtensions: false
NewCops: enable
Exclude:
Expand Down
12 changes: 12 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,15 @@
source 'https://rubygems.org'

gemspec

group :development, :test do
gem 'bundler', '~> 2.6'
gem 'codecov', '~> 0.6'
gem 'pry', '~> 0.15'
gem 'rake', '~> 13.2'
gem 'rspec', '~> 3.13'
gem 'rubocop', '~> 1.71'
gem 'rubocop-rspec', '~> 3.4'
gem 'simplecov', '~> 0.21'
gem 'webmock', '~> 3.24'
end
108 changes: 59 additions & 49 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7,85 +7,95 @@ PATH
GEM
remote: https://rubygems.org/
specs:
addressable (2.8.1)
public_suffix (>= 2.0.2, < 6.0)
addressable (2.8.7)
public_suffix (>= 2.0.2, < 7.0)
ast (2.4.2)
base64 (0.2.0)
bigdecimal (3.1.9)
codecov (0.6.0)
simplecov (>= 0.15, < 0.22)
coderay (1.1.3)
crack (0.4.5)
crack (1.0.0)
bigdecimal
rexml
diff-lcs (1.5.0)
docile (1.4.0)
hashdiff (1.0.1)
json (2.6.2)
jwt (2.5.0)
method_source (1.0.0)
parallel (1.22.1)
parser (3.1.2.1)
diff-lcs (1.5.1)
docile (1.4.1)
hashdiff (1.1.2)
json (2.9.1)
jwt (2.10.1)
base64
language_server-protocol (3.17.0.4)
method_source (1.1.0)
parallel (1.26.3)
parser (3.3.7.1)
ast (~> 2.4.1)
pry (0.14.1)
racc
pry (0.15.2)
coderay (~> 1.1)
method_source (~> 1.0)
public_suffix (5.0.0)
public_suffix (6.0.1)
racc (1.8.1)
rainbow (3.1.1)
rake (13.0.6)
regexp_parser (2.6.0)
rexml (3.2.5)
rspec (3.12.0)
rspec-core (~> 3.12.0)
rspec-expectations (~> 3.12.0)
rspec-mocks (~> 3.12.0)
rspec-core (3.12.0)
rspec-support (~> 3.12.0)
rspec-expectations (3.12.0)
rake (13.2.1)
regexp_parser (2.10.0)
rexml (3.4.0)
rspec (3.13.0)
rspec-core (~> 3.13.0)
rspec-expectations (~> 3.13.0)
rspec-mocks (~> 3.13.0)
rspec-core (3.13.2)
rspec-support (~> 3.13.0)
rspec-expectations (3.13.3)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.12.0)
rspec-mocks (3.12.0)
rspec-support (~> 3.13.0)
rspec-mocks (3.13.2)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.12.0)
rspec-support (3.12.0)
rubocop (1.38.0)
rspec-support (~> 3.13.0)
rspec-support (3.13.2)
rubocop (1.71.2)
json (~> 2.3)
language_server-protocol (>= 3.17.0)
parallel (~> 1.10)
parser (>= 3.1.2.1)
parser (>= 3.3.0.2)
rainbow (>= 2.2.2, < 4.0)
regexp_parser (>= 1.8, < 3.0)
rexml (>= 3.2.5, < 4.0)
rubocop-ast (>= 1.23.0, < 2.0)
regexp_parser (>= 2.9.3, < 3.0)
rubocop-ast (>= 1.38.0, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 1.4.0, < 3.0)
rubocop-ast (1.23.0)
parser (>= 3.1.1.0)
rubocop-rspec (2.14.2)
rubocop (~> 1.33)
ruby-progressbar (1.11.0)
unicode-display_width (>= 2.4.0, < 4.0)
rubocop-ast (1.38.0)
parser (>= 3.3.1.0)
rubocop-rspec (3.4.0)
rubocop (~> 1.61)
ruby-progressbar (1.13.0)
simplecov (0.21.2)
docile (~> 1.1)
simplecov-html (~> 0.11)
simplecov_json_formatter (~> 0.1)
simplecov-html (0.12.3)
simplecov-html (0.13.1)
simplecov_json_formatter (0.1.4)
unicode-display_width (2.3.0)
webmock (3.18.1)
unicode-display_width (3.1.4)
unicode-emoji (~> 4.0, >= 4.0.4)
unicode-emoji (4.0.4)
webmock (3.24.0)
addressable (>= 2.8.0)
crack (>= 0.3.2)
hashdiff (>= 0.4.0, < 2.0.0)

PLATFORMS
arm64-darwin-24
ruby

DEPENDENCIES
auth0-verifier!
bundler (~> 2.2)
bundler (~> 2.6)
codecov (~> 0.6)
pry (~> 0.14)
rake (~> 13.0)
rspec (~> 3.12)
rubocop (~> 1.38)
rubocop-rspec (~> 2.14)
pry (~> 0.15)
rake (~> 13.2)
rspec (~> 3.13)
rubocop (~> 1.71)
rubocop-rspec (~> 3.4)
simplecov (~> 0.21)
webmock (~> 3.18)
webmock (~> 3.24)

BUNDLED WITH
2.2.32
2.6.3
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2022 Justas Palumickas
Copyright (c) 2025 Justas Palumickas

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,12 @@ Auth0::Verifier.verify('my token')
This library aims to support and is [tested against][github_actions] the following Ruby
implementations:

* Ruby 2.6
* Ruby 2.7
* Ruby 3.0
* Ruby 3.1
* Ruby 3.2
* Ruby 3.3
* Ruby 3.4

## Contributing

Expand Down
11 changes: 1 addition & 10 deletions auth0-verifier.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,7 @@ Gem::Specification.new do |spec|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ['lib']

spec.required_ruby_version = '>= 2.6.0'
spec.required_ruby_version = '>= 2.7.0'

spec.add_dependency 'jwt', '>= 2.0'
spec.add_development_dependency 'bundler', '~> 2.2'
spec.add_development_dependency 'codecov', '~> 0.6'
spec.add_development_dependency 'pry', '~> 0.14'
spec.add_development_dependency 'rake', '~> 13.0'
spec.add_development_dependency 'rspec', '~> 3.12'
spec.add_development_dependency 'rubocop', '~> 1.38'
spec.add_development_dependency 'rubocop-rspec', '~> 2.14'
spec.add_development_dependency 'simplecov', '~> 0.21'
spec.add_development_dependency 'webmock', '~> 3.18'
end

0 comments on commit b7668d1

Please sign in to comment.