diff --git a/Gemfile b/Gemfile index 7864f2d..09b50fe 100644 --- a/Gemfile +++ b/Gemfile @@ -16,8 +16,6 @@ gem "httparty" group :development do gem "ruby-lsp" - gem "rubocop" - gem "rbs" gem "rack-test" gem "rspec" gem "standard" diff --git a/Gemfile.lock b/Gemfile.lock index 221e593..dc531c7 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -2,7 +2,7 @@ GEM remote: https://rubygems.org/ specs: anyflake (0.0.1) - ast (2.4.2) + ast (2.4.3) base64 (0.2.0) bigdecimal (3.1.8) csv (3.3.0) @@ -11,7 +11,7 @@ GEM csv mini_mime (>= 1.0.0) multi_xml (>= 0.5.2) - json (2.10.1) + json (2.10.2) jwt (2.10.1) base64 ksuid (1.0.0) @@ -28,7 +28,7 @@ GEM nanoid (2.0.0) nio4r (2.7.4) parallel (1.26.3) - parser (3.3.7.1) + parser (3.3.7.2) ast (~> 2.4.1) racc prism (1.3.0) @@ -65,9 +65,10 @@ GEM diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.13.0) rspec-support (3.13.2) - rubocop (1.71.2) + rubocop (1.73.2) json (~> 2.3) - language_server-protocol (>= 3.17.0) + language_server-protocol (~> 3.17.0.2) + lint_roller (~> 1.1.0) parallel (~> 1.10) parser (>= 3.3.0.2) rainbow (>= 2.2.2, < 4.0) @@ -75,11 +76,12 @@ GEM rubocop-ast (>= 1.38.0, < 2.0) ruby-progressbar (~> 1.7) unicode-display_width (>= 2.4.0, < 4.0) - rubocop-ast (1.38.1) - parser (>= 3.3.1.0) - rubocop-performance (1.23.1) - rubocop (>= 1.48.1, < 2.0) - rubocop-ast (>= 1.31.1, < 2.0) + rubocop-ast (1.41.0) + parser (>= 3.3.7.2) + rubocop-performance (1.24.0) + lint_roller (~> 1.1) + rubocop (>= 1.72.1, < 2.0) + rubocop-ast (>= 1.38.0, < 2.0) ruby-lsp (0.23.11) language_server-protocol (~> 3.17.0) prism (>= 1.2, < 2.0) @@ -101,18 +103,18 @@ GEM sinatra (= 4.1.1) tilt (~> 2.0) sorbet-runtime (0.5.11911) - standard (1.45.0) + standard (1.47.0) language_server-protocol (~> 3.17.0.2) lint_roller (~> 1.0) - rubocop (~> 1.71.0) + rubocop (~> 1.73.0) standard-custom (~> 1.0.0) - standard-performance (~> 1.6) + standard-performance (~> 1.7) standard-custom (1.0.2) lint_roller (~> 1.0) rubocop (~> 1.50) - standard-performance (1.6.0) + standard-performance (1.7.0) lint_roller (~> 1.1) - rubocop-performance (~> 1.23.0) + rubocop-performance (~> 1.24.0) tilt (2.6.0) ulid (1.4.0) unicode-display_width (3.1.4) @@ -137,9 +139,7 @@ DEPENDENCIES rack-test rackup rake - rbs rspec - rubocop ruby-lsp sinatra sinatra-contrib diff --git a/sig/app.rbs b/sig/app.rbs deleted file mode 100644 index d945585..0000000 --- a/sig/app.rbs +++ /dev/null @@ -1,63 +0,0 @@ -module State - def enable: () -> untyped - - def disable: () -> (untyped | nil) - - def enabled?: () -> bool - - def toggle: () -> untyped -end - -module UpDown - def up: () -> untyped - - def down: () -> untyped - - def to_s: () -> ("up" | "down") - - def to_json: (*untyped _args) -> (nil | untyped) -end - -class Health - @file: untyped - - include Singleton - - include State - - include UpDown - - def initialize: () -> void - - def healthy?: () -> bool -end - -class Ready - @file: untyped - - include Singleton - - include State - - include UpDown - - def initialize: () -> void - - def ready?: () -> bool -end - -class Sleep - @file: untyped - - include Singleton - - include State - - def initialize: () -> void - - def asleep?: () -> bool - - def wake: () -> untyped - - def sleep: () -> untyped -end