diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 08014a1..a4740d6 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -1,6 +1,6 @@ # This configuration was generated by # `rubocop --auto-gen-config` -# on 2025-10-01 23:31:00 UTC using RuboCop version 1.81.1. +# on 2026-05-18 22:08:00 UTC using RuboCop version 1.86.2. # The point is for the user to remove these configuration records # one by one as the offenses are removed from the code base. # Note that changes in the inspected code, or installation of new @@ -41,7 +41,7 @@ Naming/HeredocDelimiterNaming: # Offense count: 1 # Configuration parameters: Mode, AllowedMethods, AllowedPatterns, AllowBangMethods, WaywardPredicates. # AllowedMethods: call -# WaywardPredicates: nonzero? +# WaywardPredicates: infinite?, nonzero? Naming/PredicateMethod: Exclude: - 'lib/commands/base.rb' @@ -75,7 +75,7 @@ RSpec/ContextWording: # Offense count: 9 # Configuration parameters: CountAsOne. RSpec/ExampleLength: - Max: 11 + Max: 38 # Offense count: 1 # Configuration parameters: AssignmentOnly. @@ -96,7 +96,7 @@ RSpec/MessageSpies: # Offense count: 21 RSpec/MultipleExpectations: - Max: 6 + Max: 10 # Offense count: 1 # Configuration parameters: AllowSubject. @@ -109,7 +109,8 @@ RSpec/NestedGroups: Max: 5 # Offense count: 13 -# Configuration parameters: CustomTransform, IgnoreMethods, IgnoreMetadata. +# Configuration parameters: CustomTransform, IgnoreMethods, IgnoreMetadata, InflectorPath, EnforcedInflector. +# SupportedInflectors: default, active_support RSpec/SpecFilePathFormat: Exclude: - '**/spec/routing/**/*' @@ -129,7 +130,7 @@ RSpec/SpecFilePathFormat: # Offense count: 9 # This cop supports safe autocorrection (--autocorrect). -# Configuration parameters: AllowHeredoc, AllowURI, AllowQualifiedName, URISchemes, IgnoreCopDirectives, AllowedPatterns, SplitStrings. +# Configuration parameters: AllowHeredoc, AllowURI, AllowQualifiedName, URISchemes, AllowRBSInlineAnnotation, AllowCopDirectives, AllowedPatterns, SplitStrings. # URISchemes: http, https Layout/LineLength: Max: 149 diff --git a/Gemfile.lock b/Gemfile.lock index 92883e7..64e3e09 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,9 +1,9 @@ GEM remote: https://rubygems.org/ specs: - activemodel (8.1.2.1) - activesupport (= 8.1.2.1) - activesupport (8.1.2.1) + activemodel (8.1.3) + activesupport (= 8.1.3) + activesupport (8.1.3) base64 bigdecimal concurrent-ruby (~> 1.0, >= 1.3.1) @@ -19,14 +19,14 @@ GEM addressable (2.9.0) public_suffix (>= 2.0.2, < 8.0) ast (2.4.3) - async (2.38.1) + async (2.39.0) console (~> 1.29) fiber-annotation io-event (~> 1.11) metrics (~> 0.12) traces (~> 0.18) base64 (0.3.0) - bigdecimal (4.1.0) + bigdecimal (4.1.2) bson (5.2.0) capybara (3.40.0) addressable @@ -55,8 +55,8 @@ GEM diff-lcs (1.6.2) domain_name (0.6.20240107) drb (2.2.3) - dry-configurable (1.3.0) - dry-core (~> 1.1) + dry-configurable (1.4.0) + dry-core (~> 1.0) zeitwerk (~> 2.6) dry-core (1.2.0) concurrent-ruby (~> 1.0) @@ -77,9 +77,9 @@ GEM zeitwerk (~> 2.6) erb (6.0.4) fabrication (3.0.0) - faker (3.6.1) + faker (3.8.0) i18n (>= 1.8.11, < 2) - faraday (2.14.1) + faraday (2.14.2) faraday-net_http (>= 2.0, < 3.5) json logger @@ -104,8 +104,8 @@ GEM thor (~> 1.4) gli (2.22.2) ostruct - grape (3.1.1) - activesupport (>= 7.1) + grape (3.2.1) + activesupport (>= 7.2) dry-configurable dry-types (>= 1.1) mustermann-grape (~> 1.1.0) @@ -121,7 +121,7 @@ GEM hashie (5.1.0) logger http-accept (1.7.0) - http-cookie (1.1.0) + http-cookie (1.1.6) domain_name (~> 0.5) hyperclient (2.0.0) addressable @@ -131,16 +131,13 @@ GEM i18n (1.14.8) concurrent-ruby (~> 1.0) io-console (0.8.2) - io-event (1.14.4) - irb (1.17.0) + io-event (1.16.0) + irb (1.18.0) pp (>= 0.6.0) prism (>= 1.3.0) rdoc (>= 4.0.0) reline (>= 0.4.2) - json (2.19.2) - json-schema (6.2.0) - addressable (~> 2.8) - bigdecimal (>= 3.1, < 5) + json (2.19.5) kaminari-core (1.2.2) kaminari-grape (1.0.1) grape @@ -151,25 +148,24 @@ GEM mailchimp_api_v3 (0.2.18) rest-client (~> 2) matrix (0.4.3) - mcp (0.9.2) - json-schema (>= 4.1) metrics (0.15.0) mime-types (3.7.0) logger mime-types-data (~> 3.2025, >= 3.2025.0507) - mime-types-data (3.2026.0317) + mime-types-data (3.2026.0414) mini_mime (1.1.5) mini_portile2 (2.8.9) - minitest (6.0.2) + minitest (6.0.6) drb (~> 2.0) prism (~> 1.5) - mongo (2.23.0) + mongo (2.24.0) base64 bson (>= 4.14.1, < 6.0.0) - mongoid (9.0.10) + mongoid (9.1.0) activemodel (>= 5.1, < 8.2, != 7.0.0) concurrent-ruby (>= 1.0.5, < 2.0) mongo (>= 2.18.0, < 3.0.0) + ostruct mongoid-compatibility (1.0.0) activesupport mongoid (>= 2.0) @@ -180,24 +176,23 @@ GEM i18n mongoid (>= 3.0.0) mongoid-compatibility - multi_json (1.19.1) + multi_json (1.21.1) multipart-post (2.4.1) - mustermann (3.0.4) - ruby2_keywords (~> 0.0.1) + mustermann (3.1.1) mustermann-grape (1.1.0) mustermann (>= 1.0.0) net-http (0.9.1) uri (>= 0.11.1) netrc (0.11.0) - newrelic_rpm (10.2.0) + newrelic_rpm (10.5.0) logger nio4r (2.7.5) nokogiri (1.19.3) mini_portile2 (~> 2.8.2) racc (~> 1.4) ostruct (0.6.3) - parallel (1.27.0) - parser (3.3.10.2) + parallel (1.28.0) + parser (3.3.11.1) ast (~> 2.4.1) racc pp (0.6.3) @@ -225,12 +220,12 @@ GEM rackup (2.3.1) rack (>= 3) rainbow (3.1.1) - rake (13.3.1) + rake (13.4.2) rdoc (7.2.0) erb psych (>= 4.0.0) tsort - regexp_parser (2.11.3) + regexp_parser (2.12.0) reline (0.6.3) io-console (~> 0.5) representable (3.2.0) @@ -258,12 +253,11 @@ GEM diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.13.0) rspec-support (3.13.7) - rubocop (1.85.1) + rubocop (1.86.2) json (~> 2.3) language_server-protocol (~> 3.17.0.2) lint_roller (~> 1.1.0) - mcp (~> 0.6) - parallel (~> 1.10) + parallel (>= 1.10) parser (>= 3.3.0.2) rainbow (>= 2.2.2, < 4.0) regexp_parser (>= 2.9.3, < 3.0) @@ -273,9 +267,9 @@ GEM rubocop-ast (1.49.1) parser (>= 3.3.7.2) prism (~> 1.7) - rubocop-capybara (2.22.1) + rubocop-capybara (2.23.0) lint_roller (~> 1.1) - rubocop (~> 1.72, >= 1.72.1) + rubocop (~> 1.81) rubocop-rake (0.7.1) lint_roller (~> 1.1) rubocop (>= 1.72.1) @@ -283,10 +277,9 @@ GEM lint_roller (~> 1.1) rubocop (~> 1.81) ruby-progressbar (1.13.0) - ruby2_keywords (0.0.5) - rubyzip (3.2.2) + rubyzip (3.3.0) securerandom (0.4.1) - selenium-webdriver (4.41.0) + selenium-webdriver (4.44.0) base64 (~> 0.2) logger (~> 1.4) rexml (~> 3.2, >= 3.2.5) @@ -336,7 +329,7 @@ GEM websocket (1.2.11) xpath (3.2.0) nokogiri (~> 1.8) - zeitwerk (2.7.5) + zeitwerk (2.8.0) PLATFORMS ruby diff --git a/spec/integration/add_to_slack_spec.rb b/spec/integration/add_to_slack_spec.rb index 9740722..fdb5a98 100644 --- a/spec/integration/add_to_slack_spec.rb +++ b/spec/integration/add_to_slack_spec.rb @@ -21,7 +21,7 @@ allow_any_instance_of(::Slack::Web::Client).to receive(:oauth_v2_access).with(hash_including(code: 'code')).and_return(oauth_access) expect do visit '/?code=code' - expect(page.find_by_id('messages')).to have_content 'Team successfully registered!' + expect(page.find_by_id('messages')).to have_text 'Team successfully registered!' end.to change(Team, :count).by(1) end end