diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1529aa3..03e4578 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -14,7 +14,10 @@ jobs: strategy: matrix: ruby: - - '3.2.1' + - '3.2' + - '3.3' + - '3.4' + - '4.0' steps: - uses: actions/checkout@v7 diff --git a/Gemfile b/Gemfile index 63fb5bd..a85d496 100644 --- a/Gemfile +++ b/Gemfile @@ -7,3 +7,6 @@ gem "rake" gem "tldr" gem "gimme" gem "standard" +gem "ostruct" +gem "logger" +gem "irb" diff --git a/Gemfile.lock b/Gemfile.lock index 2d00f06..eac1606 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -4,6 +4,7 @@ PATH suture (1.1.2) backports bar-of-progress (>= 0.1.3) + bigdecimal sqlite3 GEM @@ -14,24 +15,49 @@ GEM backports (3.24.1) bar-of-progress (0.1.3) base64 (0.1.1) - concurrent-ruby (1.2.2) + bigdecimal (4.1.3) + concurrent-ruby (1.3.8) diff-lcs (1.5.0) + erb (6.0.7) gimme (0.5.0) + io-console (0.9.4) + irb (1.18.0) + pp (>= 0.6.0) + prism (>= 1.3.0) + rdoc (>= 4.0.0) + reline (>= 0.4.2) json (2.6.3) language_server-protocol (3.17.0.3) lint_roller (1.1.0) + logger (1.7.0) optimist (3.1.0) + ostruct (0.6.3) parallel (1.23.0) parser (3.2.2.3) ast (~> 2.4.1) racc patience_diff (1.2.0) optimist (~> 3.0) + pp (0.6.4) + prettyprint + prettyprint (0.2.0) + prism (1.9.0) racc (1.7.1) rainbow (3.1.1) rake (13.0.6) + rbs (4.1.3) + logger + prism (>= 1.6.0) + tsort + rdoc (8.0.0) + erb + prism (>= 1.6.0) + rbs (>= 4.0.0) + tsort regexp_parser (2.8.1) - rexml (3.2.6) + reline (0.7.0) + io-console (~> 0.5) + rexml (3.4.4) rubocop (1.56.4) base64 (~> 0.1.1) json (~> 2.3) @@ -50,8 +76,8 @@ GEM rubocop (>= 1.7.0, < 2.0) rubocop-ast (>= 0.4.0) ruby-progressbar (1.13.0) - sqlite3 (1.6.6-arm64-darwin) - sqlite3 (1.6.6-x86_64-linux) + sqlite3 (2.9.6-arm64-darwin) + sqlite3 (2.9.6-x86_64-linux-gnu) standard (1.31.1) language_server-protocol (~> 3.17.0.2) lint_roller (~> 1.0) @@ -71,18 +97,24 @@ GEM tldr (0.6.0) concurrent-ruby (~> 1.2) super_diff (~> 0.10) + tsort (0.2.0) unicode-display_width (2.4.2) PLATFORMS arm64-darwin-22 + arm64-darwin-24 + arm64-darwin-25 x86_64-linux DEPENDENCIES gimme + irb + logger + ostruct rake standard suture! tldr BUNDLED WITH - 2.4.19 + 4.0.20 diff --git a/suture.gemspec b/suture.gemspec index c1123f9..89cbde7 100644 --- a/suture.gemspec +++ b/suture.gemspec @@ -22,4 +22,5 @@ Gem::Specification.new do |spec| spec.add_dependency "sqlite3" spec.add_dependency "backports" spec.add_dependency "bar-of-progress", ">= 0.1.3" + spec.add_dependency "bigdecimal" end diff --git a/test/suture/error/verification_failed_test.rb b/test/suture/error/verification_failed_test.rb index 79f758a..282eff8 100644 --- a/test/suture/error/verification_failed_test.rb +++ b/test/suture/error/verification_failed_test.rb @@ -89,7 +89,7 @@ def test_single_failure :time_limit => 30, # (in seconds) :error_message_limit => nil, # (no limit) :random_seed => 998, - :comparator => Suture::Comparator.new({:active_record_excluded_attributes=>["updated_at", "created_at"]}).new, # (in: `lib/suture/comparator.rb:14`) + :comparator => Suture::Comparator.new(#{{:active_record_excluded_attributes => ["updated_at", "created_at"]}.inspect}).new, # (in: `lib/suture/comparator.rb:14`) } ```