remove rubocop
This commit is contained in:
parent
a580e78d81
commit
c2b00f2c3e
2
Gemfile
2
Gemfile
@ -16,8 +16,6 @@ gem "httparty"
|
||||
|
||||
group :development do
|
||||
gem "ruby-lsp"
|
||||
gem "rubocop"
|
||||
gem "rbs"
|
||||
gem "rack-test"
|
||||
gem "rspec"
|
||||
gem "standard"
|
||||
|
34
Gemfile.lock
34
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
|
||||
|
63
sig/app.rbs
63
sig/app.rbs
@ -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
|
Loading…
x
Reference in New Issue
Block a user