added rubocop

pull/29/head
Adam Townsend 2023-10-22 13:05:43 -07:00
parent 15a5017c86
commit e0392f2483
2 changed files with 40 additions and 15 deletions

29
Gemfile
View File

@ -1,32 +1,31 @@
# frozen_string_literal: true # frozen_string_literal: true
source "https://rubygems.org" source 'https://rubygems.org'
gem 'roda', '~> 3.72'
gem "roda", "~> 3.72" gem 'sequel', '~> 5.72'
gem "sequel", "~> 5.72" gem 'tilt', '~> 2.2'
gem "tilt", "~> 2.2" gem 'sqlite3', '~> 1.6'
gem "sqlite3", "~> 1.6" gem 'erubi', '~> 1.12'
gem "erubi", "~> 1.12"
group :test do group :test do
gem 'cucumber', '~> 9.0'
gem "cucumber", "~> 9.0" gem 'capybara', '~> 3.39'
gem "capybara", "~> 3.39" gem 'rspec', '~> 3.12'
gem "rspec", "~> 3.12" gem 'selenium-webdriver', '~> 4.13'
gem "selenium-webdriver", "~> 4.13" gem 'simplecov'
gem "simplecov"
gem 'rubocop', require: false
end end
gem "puma", "~> 6.4" gem 'puma', '~> 6.4'
gem "rackup", "~> 2.1" gem 'rackup', '~> 2.1'

View File

@ -3,6 +3,8 @@ GEM
specs: specs:
addressable (2.8.5) addressable (2.8.5)
public_suffix (>= 2.0.2, < 6.0) public_suffix (>= 2.0.2, < 6.0)
ast (2.4.2)
base64 (0.1.1)
bigdecimal (3.1.4) bigdecimal (3.1.4)
builder (3.2.4) builder (3.2.4)
capybara (3.39.2) capybara (3.39.2)
@ -42,6 +44,8 @@ GEM
docile (1.4.0) docile (1.4.0)
erubi (1.12.0) erubi (1.12.0)
ffi (1.16.2) ffi (1.16.2)
json (2.6.3)
language_server-protocol (3.17.0.3)
matrix (0.4.2) matrix (0.4.2)
mini_mime (1.1.5) mini_mime (1.1.5)
mini_portile2 (2.8.4) mini_portile2 (2.8.4)
@ -50,6 +54,10 @@ GEM
nokogiri (1.15.4) nokogiri (1.15.4)
mini_portile2 (~> 2.8.2) mini_portile2 (~> 2.8.2)
racc (~> 1.4) racc (~> 1.4)
parallel (1.23.0)
parser (3.2.2.4)
ast (~> 2.4.1)
racc
public_suffix (5.0.3) public_suffix (5.0.3)
puma (6.4.0) puma (6.4.0)
nio4r (~> 2.0) nio4r (~> 2.0)
@ -60,6 +68,7 @@ GEM
rackup (2.1.0) rackup (2.1.0)
rack (>= 3) rack (>= 3)
webrick (~> 1.8) webrick (~> 1.8)
rainbow (3.1.1)
regexp_parser (2.8.1) regexp_parser (2.8.1)
rexml (3.2.6) rexml (3.2.6)
roda (3.72.0) roda (3.72.0)
@ -77,6 +86,21 @@ GEM
diff-lcs (>= 1.2.0, < 2.0) diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.12.0) rspec-support (~> 3.12.0)
rspec-support (3.12.1) rspec-support (3.12.1)
rubocop (1.57.1)
base64 (~> 0.1.1)
json (~> 2.3)
language_server-protocol (>= 3.17.0)
parallel (~> 1.10)
parser (>= 3.2.2.4)
rainbow (>= 2.2.2, < 4.0)
regexp_parser (>= 1.8, < 3.0)
rexml (>= 3.2.5, < 4.0)
rubocop-ast (>= 1.28.1, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 2.4.0, < 3.0)
rubocop-ast (1.29.0)
parser (>= 3.2.1.0)
ruby-progressbar (1.13.0)
rubyzip (2.3.2) rubyzip (2.3.2)
selenium-webdriver (4.13.1) selenium-webdriver (4.13.1)
rexml (~> 3.2, >= 3.2.5) rexml (~> 3.2, >= 3.2.5)
@ -95,6 +119,7 @@ GEM
sys-uname (1.2.3) sys-uname (1.2.3)
ffi (~> 1.1) ffi (~> 1.1)
tilt (2.3.0) tilt (2.3.0)
unicode-display_width (2.5.0)
webrick (1.8.1) webrick (1.8.1)
websocket (1.2.10) websocket (1.2.10)
xpath (3.2.0) xpath (3.2.0)
@ -111,6 +136,7 @@ DEPENDENCIES
rackup (~> 2.1) rackup (~> 2.1)
roda (~> 3.72) roda (~> 3.72)
rspec (~> 3.12) rspec (~> 3.12)
rubocop
selenium-webdriver (~> 4.13) selenium-webdriver (~> 4.13)
sequel (~> 5.72) sequel (~> 5.72)
simplecov simplecov