diff --git a/Gemfile b/Gemfile index 982c10c7..bb7edca2 100644 --- a/Gemfile +++ b/Gemfile @@ -18,7 +18,7 @@ gem "doorkeeper" gem "email_validator" gem "enumerize" gem "faraday" -gem "good_job", "~> 3.99.0" +gem "good_job", "~> 4.12.1" gem "http_accept_language" gem "inline_svg" gem "jb" diff --git a/Gemfile.lock b/Gemfile.lock index aaf9f7e5..aa11de3c 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -94,7 +94,7 @@ GEM erubi (~> 1.4) parser (>= 2.4) smart_properties - bigdecimal (3.2.2) + bigdecimal (3.3.1) bindex (0.8.1) bootsnap (1.18.3) msgpack (~> 1.2) @@ -122,7 +122,7 @@ GEM committee (>= 5.1.0) railties (>= 6.0) concurrent-ruby (1.3.5) - connection_pool (2.5.3) + connection_pool (2.5.4) crass (1.0.6) cssbundling-rails (1.4.0) railties (>= 6.0.0) @@ -145,7 +145,7 @@ GEM activemodel enumerize (2.8.1) activesupport (>= 3.2) - erb (5.0.2) + erb (5.1.1) erb_lint (0.9.0) activesupport better_html (>= 2.0.1) @@ -154,7 +154,7 @@ GEM rubocop (>= 1) smart_properties erubi (1.13.1) - et-orbi (1.2.11) + et-orbi (1.4.0) tzinfo factory_bot (6.5.4) activesupport (>= 6.1.0) @@ -176,18 +176,18 @@ GEM ffi (1.17.2-aarch64-linux-gnu) ffi (1.17.2-arm64-darwin) ffi (1.17.2-x86_64-linux-gnu) - fugit (1.11.1) - et-orbi (~> 1, >= 1.2.11) + fugit (1.12.1) + et-orbi (~> 1.4) raabro (~> 1.4) - globalid (1.2.1) + globalid (1.3.0) activesupport (>= 6.1) - good_job (3.99.1) - activejob (>= 6.0.0) - activerecord (>= 6.0.0) - concurrent-ruby (>= 1.0.2) - fugit (>= 1.1) - railties (>= 6.0.0) - thor (>= 0.14.1) + good_job (4.12.1) + activejob (>= 6.1.0) + activerecord (>= 6.1.0) + concurrent-ruby (>= 1.3.1) + fugit (>= 1.11.0) + railties (>= 6.1.0) + thor (>= 1.0.0) http_accept_language (2.1.1) httparty (0.22.0) csv @@ -243,7 +243,7 @@ GEM actionpack (>= 6.0.0, < 8.1) method_source (1.1.0) mini_mime (1.1.5) - minitest (5.25.5) + minitest (5.26.0) msgpack (1.7.2) multi_xml (0.7.1) bigdecimal (~> 3.1) @@ -275,7 +275,7 @@ GEM ast (~> 2.4.1) racc pg (1.5.6) - pp (0.6.2) + pp (0.6.3) prettyprint prettyprint (0.2.0) prism (1.4.0) @@ -351,9 +351,10 @@ GEM rbs (>= 3.4.4) rbs (3.9.4) logger - rdoc (6.14.2) + rdoc (6.15.0) erb psych (>= 4.0.0) + tsort regexp_parser (2.10.0) reline (0.6.2) io-console (~> 0.5) @@ -471,6 +472,7 @@ GEM yard-sorbet thor (1.4.0) timeout (0.4.3) + tsort (0.2.0) tzinfo (2.0.6) concurrent-ruby (~> 1.0) unicode-display_width (2.6.0) @@ -528,7 +530,7 @@ DEPENDENCIES erb_lint factory_bot_rails faraday - good_job (~> 3.99.0) + good_job (~> 4.12.1) http_accept_language inline_svg jb diff --git a/sorbet/rbi/annotations/activesupport.rbi b/sorbet/rbi/annotations/activesupport.rbi index f5114046..eeea27e3 100644 --- a/sorbet/rbi/annotations/activesupport.rbi +++ b/sorbet/rbi/annotations/activesupport.rbi @@ -485,4 +485,7 @@ end module ActiveSupport::Testing::Assertions sig { type_parameters(:Block).params(block: T.proc.returns(T.type_parameter(:Block))).returns(T.type_parameter(:Block)) } def assert_nothing_raised(&block); end + + sig { type_parameters(:TResult).params(expression: T.any(Proc, Kernel), message: Kernel, from: T.anything, to: T.anything, block: T.proc.returns(T.type_parameter(:TResult))).returns(T.type_parameter(:TResult)) } + def assert_changes(expression, message = T.unsafe(nil), from: T.unsafe(nil), to: T.unsafe(nil), &block); end end