From 6529aa8f0d7040686bbeb60bf32f370d07e37fd0 Mon Sep 17 00:00:00 2001 From: Hamed Asghari Date: Tue, 17 Sep 2024 14:05:50 -0600 Subject: [PATCH] chore: Update outdated gems --- .tool-versions | 2 +- Appraisals | 2 + Gemfile | 1 + Gemfile.lock | 68 ++++++++++++------------ gemfiles/activerecord_7.0.0.gemfile | 2 + gemfiles/activerecord_7.0.0.gemfile.lock | 38 ++++++------- gemfiles/activerecord_7.1.0.gemfile | 2 + gemfiles/activerecord_7.1.0.gemfile.lock | 68 ++++++++++++------------ gemfiles/activerecord_7.2.0.gemfile | 1 + gemfiles/activerecord_7.2.0.gemfile.lock | 68 ++++++++++++------------ 10 files changed, 128 insertions(+), 124 deletions(-) diff --git a/.tool-versions b/.tool-versions index 05668b7..1dd1998 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1 +1 @@ -ruby 3.3.4 +ruby 3.3.5 diff --git a/Appraisals b/Appraisals index 266b12e..638862f 100644 --- a/Appraisals +++ b/Appraisals @@ -4,11 +4,13 @@ appraise 'activerecord_7.0.0' do gem 'activerecord', '~> 7.0', '< 7.1' gem 'base64' gem 'bigdecimal' + gem 'logger' gem 'mutex_m' end appraise 'activerecord_7.1.0' do gem 'activerecord', '~> 7.1', '< 7.2' + gem 'logger' end appraise 'activerecord_7.2.0' do diff --git a/Gemfile b/Gemfile index 8c36d6a..efb8bb1 100644 --- a/Gemfile +++ b/Gemfile @@ -15,3 +15,4 @@ gem 'rspec', '~> 3.0' gem 'rubocop-rspec', '~> 2.3' gem 'scenic', '~> 1.5' gem 'simplecov', '~> 0.16' +gem 'ostruct' diff --git a/Gemfile.lock b/Gemfile.lock index bf8c894..f290180 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -9,9 +9,9 @@ PATH GEM remote: https://rubygems.org/ specs: - actionpack (7.2.0) - actionview (= 7.2.0) - activesupport (= 7.2.0) + actionpack (7.2.1) + actionview (= 7.2.1) + activesupport (= 7.2.1) nokogiri (>= 1.8.5) racc rack (>= 2.2.4, < 3.2) @@ -20,19 +20,19 @@ GEM rails-dom-testing (~> 2.2) rails-html-sanitizer (~> 1.6) useragent (~> 0.16) - actionview (7.2.0) - activesupport (= 7.2.0) + actionview (7.2.1) + activesupport (= 7.2.1) builder (~> 3.1) erubi (~> 1.11) rails-dom-testing (~> 2.2) rails-html-sanitizer (~> 1.6) - activemodel (7.2.0) - activesupport (= 7.2.0) - activerecord (7.2.0) - activemodel (= 7.2.0) - activesupport (= 7.2.0) + activemodel (7.2.1) + activesupport (= 7.2.1) + activerecord (7.2.1) + activemodel (= 7.2.1) + activesupport (= 7.2.1) timeout (>= 0.4.0) - activesupport (7.2.0) + activesupport (7.2.1) base64 bigdecimal concurrent-ruby (~> 1.0, >= 1.3.1) @@ -67,7 +67,7 @@ GEM docile (1.4.1) drb (2.2.1) erubi (1.13.0) - i18n (1.14.5) + i18n (1.14.6) concurrent-ruby (~> 1.0) io-console (0.7.2) irb (1.14.0) @@ -75,21 +75,22 @@ GEM reline (>= 0.4.2) json (2.7.2) language_server-protocol (3.17.0.3) - logger (1.6.0) + logger (1.6.1) loofah (2.22.0) crass (~> 1.0.2) nokogiri (>= 1.12.0) method_source (1.1.0) mini_portile2 (2.8.7) - minitest (5.24.1) + minitest (5.25.1) nokogiri (1.16.7) mini_portile2 (~> 2.8.2) racc (~> 1.4) - parallel (1.26.1) - parser (3.3.4.2) + ostruct (0.6.0) + parallel (1.26.3) + parser (3.3.5.0) ast (~> 2.4.1) racc - pg (1.5.7) + pg (1.5.8) pry (0.14.2) coderay (~> 1.1) method_source (~> 1.0) @@ -111,9 +112,9 @@ GEM rails-html-sanitizer (1.6.0) loofah (~> 2.21) nokogiri (~> 1.14) - railties (7.2.0) - actionpack (= 7.2.0) - activesupport (= 7.2.0) + railties (7.2.1) + actionpack (= 7.2.1) + activesupport (= 7.2.1) irb (~> 1.13) rackup (>= 1.0.0) rake (>= 12.2) @@ -124,35 +125,32 @@ GEM rdoc (6.7.0) psych (>= 4.0.0) regexp_parser (2.9.2) - reline (0.5.9) + reline (0.5.10) io-console (~> 0.5) - rexml (3.3.4) - strscan 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-core (3.13.1) rspec-support (~> 3.13.0) - rspec-expectations (3.13.1) + rspec-expectations (3.13.3) diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.13.0) rspec-mocks (3.13.1) diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.13.0) rspec-support (3.13.1) - rubocop (1.65.1) + rubocop (1.66.1) json (~> 2.3) language_server-protocol (>= 3.17.0) parallel (~> 1.10) parser (>= 3.3.0.2) rainbow (>= 2.2.2, < 4.0) regexp_parser (>= 2.4, < 3.0) - rexml (>= 3.2.5, < 4.0) - rubocop-ast (>= 1.31.1, < 2.0) + rubocop-ast (>= 1.32.2, < 2.0) ruby-progressbar (~> 1.7) unicode-display_width (>= 2.4.0, < 3.0) - rubocop-ast (1.32.0) + rubocop-ast (1.32.3) parser (>= 3.3.1.0) rubocop-capybara (2.21.0) rubocop (~> 1.41) @@ -174,18 +172,17 @@ GEM 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) stringio (3.1.1) - strscan (3.1.0) - thor (1.3.1) + thor (1.3.2) timeout (0.4.1) tzinfo (2.0.6) concurrent-ruby (~> 1.0) - unicode-display_width (2.5.0) + unicode-display_width (2.6.0) useragent (0.16.10) webrick (1.8.1) - zeitwerk (2.6.17) + zeitwerk (2.6.18) PLATFORMS ruby @@ -195,6 +192,7 @@ DEPENDENCIES bundler (~> 2.0) combustion (~> 1.4) database_cleaner-active_record (~> 2.2) + ostruct pry rake (= 13.0.3) rspec (~> 3.0) @@ -204,4 +202,4 @@ DEPENDENCIES table_saw! BUNDLED WITH - 2.5.9 + 2.5.18 diff --git a/gemfiles/activerecord_7.0.0.gemfile b/gemfiles/activerecord_7.0.0.gemfile index 32f3309..1dada44 100644 --- a/gemfiles/activerecord_7.0.0.gemfile +++ b/gemfiles/activerecord_7.0.0.gemfile @@ -12,9 +12,11 @@ gem "rspec", "~> 3.0" gem "rubocop-rspec", "~> 2.3" gem "scenic", "~> 1.5" gem "simplecov", "~> 0.16" +gem "ostruct" gem "activerecord", "~> 7.0", "< 7.1" gem "base64" gem "bigdecimal" +gem "logger" gem "mutex_m" gemspec path: "../" diff --git a/gemfiles/activerecord_7.0.0.gemfile.lock b/gemfiles/activerecord_7.0.0.gemfile.lock index 0d94b7d..ab8ebad 100644 --- a/gemfiles/activerecord_7.0.0.gemfile.lock +++ b/gemfiles/activerecord_7.0.0.gemfile.lock @@ -54,25 +54,27 @@ GEM diff-lcs (1.5.1) docile (1.4.1) erubi (1.13.0) - i18n (1.14.5) + i18n (1.14.6) concurrent-ruby (~> 1.0) json (2.7.2) language_server-protocol (3.17.0.3) + logger (1.6.1) loofah (2.22.0) crass (~> 1.0.2) nokogiri (>= 1.12.0) method_source (1.1.0) - minitest (5.25.0) + minitest (5.25.1) mutex_m (0.2.0) nokogiri (1.16.7-x86_64-darwin) racc (~> 1.4) nokogiri (1.16.7-x86_64-linux) racc (~> 1.4) - parallel (1.26.2) - parser (3.3.4.2) + ostruct (0.6.0) + parallel (1.26.3) + parser (3.3.5.0) ast (~> 2.4.1) racc - pg (1.5.7) + pg (1.5.8) pry (0.14.2) coderay (~> 1.1) method_source (~> 1.0) @@ -97,33 +99,30 @@ GEM rainbow (3.1.1) rake (13.0.3) regexp_parser (2.9.2) - rexml (3.3.5) - strscan 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-core (3.13.1) rspec-support (~> 3.13.0) - rspec-expectations (3.13.1) + rspec-expectations (3.13.3) diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.13.0) rspec-mocks (3.13.1) diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.13.0) rspec-support (3.13.1) - rubocop (1.65.1) + rubocop (1.66.1) json (~> 2.3) language_server-protocol (>= 3.17.0) parallel (~> 1.10) parser (>= 3.3.0.2) rainbow (>= 2.2.2, < 4.0) regexp_parser (>= 2.4, < 3.0) - rexml (>= 3.2.5, < 4.0) - rubocop-ast (>= 1.31.1, < 2.0) + rubocop-ast (>= 1.32.2, < 2.0) ruby-progressbar (~> 1.7) unicode-display_width (>= 2.4.0, < 3.0) - rubocop-ast (1.32.0) + rubocop-ast (1.32.3) parser (>= 3.3.1.0) rubocop-capybara (2.21.0) rubocop (~> 1.41) @@ -144,14 +143,13 @@ GEM 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) - strscan (3.1.0) - thor (1.3.1) + thor (1.3.2) tzinfo (2.0.6) concurrent-ruby (~> 1.0) - unicode-display_width (2.5.0) - zeitwerk (2.6.17) + unicode-display_width (2.6.0) + zeitwerk (2.6.18) PLATFORMS x86_64-darwin-22 @@ -166,7 +164,9 @@ DEPENDENCIES bundler (~> 2.0) combustion (~> 1.4) database_cleaner-active_record (~> 2.2) + logger mutex_m + ostruct pry rake (= 13.0.3) rspec (~> 3.0) @@ -176,4 +176,4 @@ DEPENDENCIES table_saw! BUNDLED WITH - 2.5.4 + 2.5.18 diff --git a/gemfiles/activerecord_7.1.0.gemfile b/gemfiles/activerecord_7.1.0.gemfile index 27c2e04..2ed7ae9 100644 --- a/gemfiles/activerecord_7.1.0.gemfile +++ b/gemfiles/activerecord_7.1.0.gemfile @@ -12,6 +12,8 @@ gem "rspec", "~> 3.0" gem "rubocop-rspec", "~> 2.3" gem "scenic", "~> 1.5" gem "simplecov", "~> 0.16" +gem "ostruct" gem "activerecord", "~> 7.1", "< 7.2" +gem "logger" gemspec path: "../" diff --git a/gemfiles/activerecord_7.1.0.gemfile.lock b/gemfiles/activerecord_7.1.0.gemfile.lock index 0602f33..a4fee2f 100644 --- a/gemfiles/activerecord_7.1.0.gemfile.lock +++ b/gemfiles/activerecord_7.1.0.gemfile.lock @@ -9,9 +9,9 @@ PATH GEM remote: https://rubygems.org/ specs: - actionpack (7.1.3.4) - actionview (= 7.1.3.4) - activesupport (= 7.1.3.4) + actionpack (7.1.4) + actionview (= 7.1.4) + activesupport (= 7.1.4) nokogiri (>= 1.8.5) racc rack (>= 2.2.4) @@ -19,19 +19,19 @@ GEM rack-test (>= 0.6.3) rails-dom-testing (~> 2.2) rails-html-sanitizer (~> 1.6) - actionview (7.1.3.4) - activesupport (= 7.1.3.4) + actionview (7.1.4) + activesupport (= 7.1.4) builder (~> 3.1) erubi (~> 1.11) rails-dom-testing (~> 2.2) rails-html-sanitizer (~> 1.6) - activemodel (7.1.3.4) - activesupport (= 7.1.3.4) - activerecord (7.1.3.4) - activemodel (= 7.1.3.4) - activesupport (= 7.1.3.4) + activemodel (7.1.4) + activesupport (= 7.1.4) + activerecord (7.1.4) + activemodel (= 7.1.4) + activesupport (= 7.1.4) timeout (>= 0.4.0) - activesupport (7.1.3.4) + activesupport (7.1.4) base64 bigdecimal concurrent-ruby (~> 1.0, >= 1.0.2) @@ -65,7 +65,7 @@ GEM docile (1.4.1) drb (2.2.1) erubi (1.13.0) - i18n (1.14.5) + i18n (1.14.6) concurrent-ruby (~> 1.0) io-console (0.7.2) irb (1.14.0) @@ -73,21 +73,23 @@ GEM reline (>= 0.4.2) json (2.7.2) language_server-protocol (3.17.0.3) + logger (1.6.1) loofah (2.22.0) crass (~> 1.0.2) nokogiri (>= 1.12.0) method_source (1.1.0) - minitest (5.25.0) + minitest (5.25.1) mutex_m (0.2.0) nokogiri (1.16.7-x86_64-darwin) racc (~> 1.4) nokogiri (1.16.7-x86_64-linux) racc (~> 1.4) - parallel (1.26.2) - parser (3.3.4.2) + ostruct (0.6.0) + parallel (1.26.3) + parser (3.3.5.0) ast (~> 2.4.1) racc - pg (1.5.7) + pg (1.5.8) pry (0.14.2) coderay (~> 1.1) method_source (~> 1.0) @@ -109,9 +111,9 @@ GEM rails-html-sanitizer (1.6.0) loofah (~> 2.21) nokogiri (~> 1.14) - railties (7.1.3.4) - actionpack (= 7.1.3.4) - activesupport (= 7.1.3.4) + railties (7.1.4) + actionpack (= 7.1.4) + activesupport (= 7.1.4) irb rackup (>= 1.0.0) rake (>= 12.2) @@ -122,35 +124,32 @@ GEM rdoc (6.7.0) psych (>= 4.0.0) regexp_parser (2.9.2) - reline (0.5.9) + reline (0.5.10) io-console (~> 0.5) - rexml (3.3.5) - strscan 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-core (3.13.1) rspec-support (~> 3.13.0) - rspec-expectations (3.13.1) + rspec-expectations (3.13.3) diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.13.0) rspec-mocks (3.13.1) diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.13.0) rspec-support (3.13.1) - rubocop (1.65.1) + rubocop (1.66.1) json (~> 2.3) language_server-protocol (>= 3.17.0) parallel (~> 1.10) parser (>= 3.3.0.2) rainbow (>= 2.2.2, < 4.0) regexp_parser (>= 2.4, < 3.0) - rexml (>= 3.2.5, < 4.0) - rubocop-ast (>= 1.31.1, < 2.0) + rubocop-ast (>= 1.32.2, < 2.0) ruby-progressbar (~> 1.7) unicode-display_width (>= 2.4.0, < 3.0) - rubocop-ast (1.32.0) + rubocop-ast (1.32.3) parser (>= 3.3.1.0) rubocop-capybara (2.21.0) rubocop (~> 1.41) @@ -171,17 +170,16 @@ GEM 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) stringio (3.1.1) - strscan (3.1.0) - thor (1.3.1) + thor (1.3.2) timeout (0.4.1) tzinfo (2.0.6) concurrent-ruby (~> 1.0) - unicode-display_width (2.5.0) + unicode-display_width (2.6.0) webrick (1.8.1) - zeitwerk (2.6.17) + zeitwerk (2.6.18) PLATFORMS x86_64-darwin-22 @@ -194,6 +192,8 @@ DEPENDENCIES bundler (~> 2.0) combustion (~> 1.4) database_cleaner-active_record (~> 2.2) + logger + ostruct pry rake (= 13.0.3) rspec (~> 3.0) @@ -203,4 +203,4 @@ DEPENDENCIES table_saw! BUNDLED WITH - 2.5.4 + 2.5.18 diff --git a/gemfiles/activerecord_7.2.0.gemfile b/gemfiles/activerecord_7.2.0.gemfile index cf5387b..3c4e1c6 100644 --- a/gemfiles/activerecord_7.2.0.gemfile +++ b/gemfiles/activerecord_7.2.0.gemfile @@ -12,6 +12,7 @@ gem "rspec", "~> 3.0" gem "rubocop-rspec", "~> 2.3" gem "scenic", "~> 1.5" gem "simplecov", "~> 0.16" +gem "ostruct" gem "activerecord", "~> 7.2.0", "< 7.3" gemspec path: "../" diff --git a/gemfiles/activerecord_7.2.0.gemfile.lock b/gemfiles/activerecord_7.2.0.gemfile.lock index 050cbf4..221a2f6 100644 --- a/gemfiles/activerecord_7.2.0.gemfile.lock +++ b/gemfiles/activerecord_7.2.0.gemfile.lock @@ -9,9 +9,9 @@ PATH GEM remote: https://rubygems.org/ specs: - actionpack (7.2.0) - actionview (= 7.2.0) - activesupport (= 7.2.0) + actionpack (7.2.1) + actionview (= 7.2.1) + activesupport (= 7.2.1) nokogiri (>= 1.8.5) racc rack (>= 2.2.4, < 3.2) @@ -20,19 +20,19 @@ GEM rails-dom-testing (~> 2.2) rails-html-sanitizer (~> 1.6) useragent (~> 0.16) - actionview (7.2.0) - activesupport (= 7.2.0) + actionview (7.2.1) + activesupport (= 7.2.1) builder (~> 3.1) erubi (~> 1.11) rails-dom-testing (~> 2.2) rails-html-sanitizer (~> 1.6) - activemodel (7.2.0) - activesupport (= 7.2.0) - activerecord (7.2.0) - activemodel (= 7.2.0) - activesupport (= 7.2.0) + activemodel (7.2.1) + activesupport (= 7.2.1) + activerecord (7.2.1) + activemodel (= 7.2.1) + activesupport (= 7.2.1) timeout (>= 0.4.0) - activesupport (7.2.0) + activesupport (7.2.1) base64 bigdecimal concurrent-ruby (~> 1.0, >= 1.3.1) @@ -67,7 +67,7 @@ GEM docile (1.4.1) drb (2.2.1) erubi (1.13.0) - i18n (1.14.5) + i18n (1.14.6) concurrent-ruby (~> 1.0) io-console (0.7.2) irb (1.14.0) @@ -75,12 +75,12 @@ GEM reline (>= 0.4.2) json (2.7.2) language_server-protocol (3.17.0.3) - logger (1.6.0) + logger (1.6.1) loofah (2.22.0) crass (~> 1.0.2) nokogiri (>= 1.12.0) method_source (1.1.0) - minitest (5.25.0) + minitest (5.25.1) nokogiri (1.16.7-aarch64-linux) racc (~> 1.4) nokogiri (1.16.7-arm-linux) @@ -93,11 +93,12 @@ GEM racc (~> 1.4) nokogiri (1.16.7-x86_64-linux) racc (~> 1.4) - parallel (1.26.2) - parser (3.3.4.2) + ostruct (0.6.0) + parallel (1.26.3) + parser (3.3.5.0) ast (~> 2.4.1) racc - pg (1.5.7) + pg (1.5.8) pry (0.14.2) coderay (~> 1.1) method_source (~> 1.0) @@ -119,9 +120,9 @@ GEM rails-html-sanitizer (1.6.0) loofah (~> 2.21) nokogiri (~> 1.14) - railties (7.2.0) - actionpack (= 7.2.0) - activesupport (= 7.2.0) + railties (7.2.1) + actionpack (= 7.2.1) + activesupport (= 7.2.1) irb (~> 1.13) rackup (>= 1.0.0) rake (>= 12.2) @@ -132,35 +133,32 @@ GEM rdoc (6.7.0) psych (>= 4.0.0) regexp_parser (2.9.2) - reline (0.5.9) + reline (0.5.10) io-console (~> 0.5) - rexml (3.3.5) - strscan 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-core (3.13.1) rspec-support (~> 3.13.0) - rspec-expectations (3.13.1) + rspec-expectations (3.13.3) diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.13.0) rspec-mocks (3.13.1) diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.13.0) rspec-support (3.13.1) - rubocop (1.65.1) + rubocop (1.66.1) json (~> 2.3) language_server-protocol (>= 3.17.0) parallel (~> 1.10) parser (>= 3.3.0.2) rainbow (>= 2.2.2, < 4.0) regexp_parser (>= 2.4, < 3.0) - rexml (>= 3.2.5, < 4.0) - rubocop-ast (>= 1.31.1, < 2.0) + rubocop-ast (>= 1.32.2, < 2.0) ruby-progressbar (~> 1.7) unicode-display_width (>= 2.4.0, < 3.0) - rubocop-ast (1.32.0) + rubocop-ast (1.32.3) parser (>= 3.3.1.0) rubocop-capybara (2.21.0) rubocop (~> 1.41) @@ -182,18 +180,17 @@ GEM 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) stringio (3.1.1) - strscan (3.1.0) - thor (1.3.1) + thor (1.3.2) timeout (0.4.1) tzinfo (2.0.6) concurrent-ruby (~> 1.0) - unicode-display_width (2.5.0) + unicode-display_width (2.6.0) useragent (0.16.10) webrick (1.8.1) - zeitwerk (2.6.17) + zeitwerk (2.6.18) PLATFORMS aarch64-linux @@ -209,6 +206,7 @@ DEPENDENCIES bundler (~> 2.0) combustion (~> 1.4) database_cleaner-active_record (~> 2.2) + ostruct pry rake (= 13.0.3) rspec (~> 3.0) @@ -218,4 +216,4 @@ DEPENDENCIES table_saw! BUNDLED WITH - 2.5.9 + 2.5.18