Skip to content

Commit

Permalink
Add support for Ruby 3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
kgiszczak committed Feb 10, 2024
1 parent 13c11f0 commit 7fae976
Show file tree
Hide file tree
Showing 6 changed files with 48 additions and 33 deletions.
1 change: 1 addition & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
strategy:
matrix:
ruby:
- '3.3'
- '3.2'
- '3.1'
- '3.0'
Expand Down
6 changes: 3 additions & 3 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ source 'https://rubygems.org'

gemspec

gem 'rake', '~> 13.0'
gem 'rake', '~> 13.1'
gem 'rake-compiler', '~> 1.2'

gem 'rubocop', '~> 1.50'
gem 'rubocop', '~> 1.60'

group :test do
gem 'rspec', '~> 3.12.0'
gem 'rspec', '~> 3.13.0'
gem 'simplecov', '~> 0.22.0', require: false
end
61 changes: 33 additions & 28 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7,42 +7,46 @@ GEM
remote: https://rubygems.org/
specs:
ast (2.4.2)
diff-lcs (1.5.0)
diff-lcs (1.5.1)
docile (1.4.0)
json (2.6.3)
parallel (1.23.0)
parser (3.2.2.1)
json (2.7.1)
language_server-protocol (3.17.0.3)
parallel (1.24.0)
parser (3.3.0.5)
ast (~> 2.4.1)
racc
racc (1.7.3)
rainbow (3.1.1)
rake (13.0.6)
rake-compiler (1.2.1)
rake (13.1.0)
rake-compiler (1.2.7)
rake
regexp_parser (2.8.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.2)
rspec-support (~> 3.12.0)
rspec-expectations (3.12.3)
regexp_parser (2.9.0)
rexml (3.2.6)
rspec (3.13.0)
rspec-core (~> 3.13.0)
rspec-expectations (~> 3.13.0)
rspec-mocks (~> 3.13.0)
rspec-core (3.13.0)
rspec-support (~> 3.13.0)
rspec-expectations (3.13.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.12.0)
rspec-mocks (3.12.5)
rspec-support (~> 3.13.0)
rspec-mocks (3.13.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.12.0)
rspec-support (3.12.0)
rubocop (1.50.2)
rspec-support (~> 3.13.0)
rspec-support (3.13.0)
rubocop (1.60.2)
json (~> 2.3)
language_server-protocol (>= 3.17.0)
parallel (~> 1.10)
parser (>= 3.2.0.0)
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.28.0, < 2.0)
rubocop-ast (>= 1.30.0, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 2.4.0, < 3.0)
rubocop-ast (1.28.1)
rubocop-ast (1.30.0)
parser (>= 3.2.1.0)
ruby-progressbar (1.13.0)
simplecov (0.22.0)
Expand All @@ -51,19 +55,20 @@ GEM
simplecov_json_formatter (~> 0.1)
simplecov-html (0.12.3)
simplecov_json_formatter (0.1.4)
unicode-display_width (2.4.2)
unicode-display_width (2.5.0)

PLATFORMS
arm64-darwin-22
arm64-darwin-23
x86_64-linux

DEPENDENCIES
rake (~> 13.0)
rake (~> 13.1)
rake-compiler (~> 1.2)
rspec (~> 3.12.0)
rubocop (~> 1.50)
rspec (~> 3.13.0)
rubocop (~> 1.60)
simplecov (~> 0.22.0)
tomlib!

BUNDLED WITH
2.4.12
2.5.6
4 changes: 3 additions & 1 deletion benchmarks/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@ source 'https://rubygems.org'

gem 'benchmark-ips'

gem 'bigdecimal'
gem 'perfect_toml'
gem 'racc'
gem 'tomlrb'
gem 'toml-rb'
gem 'perfect_toml'

gem 'tomlib', path: '../'
7 changes: 6 additions & 1 deletion benchmarks/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,26 @@ GEM
remote: https://rubygems.org/
specs:
benchmark-ips (2.12.0)
bigdecimal (3.1.6)
citrus (3.0.2)
perfect_toml (0.9.0)
racc (1.7.3)
toml-rb (2.2.0)
citrus (~> 3.0, > 3.0)
tomlrb (2.0.3)

PLATFORMS
arm64-darwin-22
arm64-darwin-23

DEPENDENCIES
benchmark-ips
bigdecimal
perfect_toml
racc
toml-rb
tomlib!
tomlrb

BUNDLED WITH
2.4.12
2.5.6
2 changes: 2 additions & 0 deletions benchmarks/benchmarks.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# frozen_string_literal: true

require 'bundler/setup'
require 'benchmark/ips'
require 'bigdecimal'
Expand Down

0 comments on commit 7fae976

Please sign in to comment.