Added Rubocop harness to enforce Ruby code style
diff --git a/lib/rb/Gemfile.lock b/lib/rb/Gemfile.lock
index ea47938..5030d2d 100644
--- a/lib/rb/Gemfile.lock
+++ b/lib/rb/Gemfile.lock
@@ -7,6 +7,7 @@
GEM
remote: https://rubygems.org/
specs:
+ ast (2.4.3)
binding_of_caller (1.0.1)
debug_inspector (>= 1.2.0)
byebug (11.1.3)
@@ -16,9 +17,17 @@
debug_inspector (1.2.0)
diff-lcs (1.6.2)
eventmachine (1.2.7)
+ json (2.18.1)
+ language_server-protocol (3.17.0.5)
+ lint_roller (1.1.0)
logger (1.7.0)
method_source (0.9.2)
ostruct (0.6.3)
+ parallel (1.27.0)
+ parser (3.3.10.1)
+ ast (~> 2.4.1)
+ racc
+ prism (1.9.0)
pry (0.11.3)
coderay (~> 1.1.0)
method_source (~> 0.9.0)
@@ -28,10 +37,13 @@
pry-stack_explorer (0.4.9.3)
binding_of_caller (>= 0.7)
pry (>= 0.9.11)
+ racc (1.8.1)
rack (2.2.22)
rack-test (0.8.3)
rack (>= 1.0, < 3)
+ rainbow (3.1.1)
rake (13.3.1)
+ regexp_parser (2.11.3)
rspec (3.13.2)
rspec-core (~> 3.13.0)
rspec-expectations (~> 3.13.0)
@@ -45,12 +57,37 @@
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.13.0)
rspec-support (3.13.6)
+ rubocop (1.82.1)
+ json (~> 2.3)
+ 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)
+ regexp_parser (>= 2.9.3, < 3.0)
+ rubocop-ast (>= 1.48.0, < 2.0)
+ ruby-progressbar (~> 1.7)
+ unicode-display_width (>= 2.4.0, < 4.0)
+ rubocop-ast (1.49.0)
+ parser (>= 3.3.7.2)
+ prism (~> 1.7)
+ rubocop-performance (1.26.1)
+ lint_roller (~> 1.1)
+ rubocop (>= 1.75.0, < 2.0)
+ rubocop-ast (>= 1.47.1, < 2.0)
+ rubocop-rspec (3.8.0)
+ lint_roller (~> 1.1)
+ rubocop (~> 1.81)
+ ruby-progressbar (1.13.0)
srv (1.0.0)
rack (>= 1.3.0)
thin (1.8.2)
daemons (~> 1.0, >= 1.0.9)
eventmachine (~> 1.0, >= 1.0.4)
rack (>= 1, < 3)
+ unicode-display_width (3.2.0)
+ unicode-emoji (~> 4.1)
+ unicode-emoji (4.2.0)
PLATFORMS
arm64-darwin
@@ -70,6 +107,9 @@
rack-test (~> 0.8.3)
rake (~> 13.3)
rspec (~> 3.7)
+ rubocop (~> 1.82.0)
+ rubocop-performance (~> 1.26.1)
+ rubocop-rspec (~> 3.8.0)
srv (~> 1.0)
thin (~> 1.7)
thrift!