Skip to content

Commit 64fc75b

Browse files
committed
update dependencies and setup rubocop
1 parent 78fb86a commit 64fc75b

File tree

9 files changed

+93
-64
lines changed

9 files changed

+93
-64
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
node_modules/
12
public/assets/
23
# do NOT track default memo files
34
memos/2021/08/21/hgfe-dcba/

.rubocop

+1
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
--parallel
12
--server

.rubocop.yml

+5-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,10 @@
88
# where the inspected file is and continue its way up to the root directory.
99
#
1010
# See https://docs.rubocop.org/rubocop/configuration
11-
11+
require:
12+
- rubocop-performance
13+
- rubocop-rake
14+
- rubocop-minitest
1215

1316
AllCops:
1417
TargetRubyVersion: 3.0
@@ -30,4 +33,4 @@ Metrics/BlockLength:
3033
- app.rb
3134

3235
Metrics/MethodLength:
33-
Max: 20
36+
Max: 20

.solargraph.yml

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
---
22
include:
3-
- "**/*.rb"
3+
- "**/*.rb"
44
exclude:
5-
- spec/**/*
6-
- test/**/*
7-
- vendor/**/*
8-
- ".bundle/**/*"
5+
- spec/**/*
6+
- test/**/*
7+
- vendor/**/*
8+
- ".bundle/**/*"
99
require: []
1010
domains: []
1111
reporters:
12-
- rubocop
13-
- require_not_found
12+
- rubocop
13+
- require_not_found
1414
formatter:
1515
rubocop:
1616
cops: safe

.tool-versions

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
ruby 3.3.0
1+
ruby 3.3.4
22
rust 1.73.0
3-
nodejs 20.10.0
3+
nodejs 22.7.0

Gemfile

+4
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
source 'https://rubygems.org'
44

5+
gem 'minitar-cli', '~> 0.12'
56
gem 'puma', '~> 6.4'
67
gem 'rack-unreloader', '~> 2.1'
78
gem 'rackup', '~> 2.1.0'
@@ -15,6 +16,9 @@ group :development do
1516
gem 'htmlbeautifier', require: false
1617
gem 'pry'
1718
gem 'rubocop', '~> 1.60', require: false
19+
gem 'rubocop-minitest', '~> 0.34.5', require: false
20+
gem 'rubocop-performance', '~> 1.20', require: false
21+
gem 'rubocop-rake', '~> 0.6.0', require: false
1822
gem 'solargraph', '~> 0.50', require: false
1923
gem 'yard', '~> 0.9.34'
2024
end

Gemfile.lock

+53-34
Original file line numberDiff line numberDiff line change
@@ -5,75 +5,89 @@ GEM
55
backport (1.2.0)
66
benchmark (0.3.0)
77
coderay (1.1.3)
8-
concurrent-ruby (1.2.2)
9-
diff-lcs (1.5.0)
8+
concurrent-ruby (1.3.4)
9+
diff-lcs (1.5.1)
1010
e2mmap (0.1.0)
11-
htmlbeautifier (1.4.2)
12-
jaro_winkler (1.5.6)
13-
json (2.7.1)
11+
hashie (5.0.0)
12+
htmlbeautifier (1.4.3)
13+
jaro_winkler (1.6.0)
14+
json (2.7.2)
1415
kramdown (2.4.0)
1516
rexml
1617
kramdown-parser-gfm (1.1.0)
1718
kramdown (~> 2.0)
1819
language_server-protocol (3.17.0.3)
19-
method_source (1.0.0)
20-
mini_portile2 (2.8.5)
21-
minitar (0.9)
22-
minitest (5.21.2)
23-
nio4r (2.7.0)
24-
nokogiri (1.16.0)
20+
method_source (1.1.0)
21+
mini_portile2 (2.8.7)
22+
minitar (0.12.1)
23+
minitar-cli (0.12)
24+
minitar (~> 0.12.0)
25+
powerbar (~> 1.0)
26+
minitest (5.25.1)
27+
nio4r (2.7.3)
28+
nokogiri (1.16.7)
2529
mini_portile2 (~> 2.8.2)
2630
racc (~> 1.4)
27-
nokogiri (1.16.0-arm64-darwin)
31+
nokogiri (1.16.7-arm64-darwin)
2832
racc (~> 1.4)
29-
nokogiri (1.16.0-x86_64-linux)
33+
nokogiri (1.16.7-x86_64-linux)
3034
racc (~> 1.4)
31-
parallel (1.24.0)
32-
parser (3.3.0.5)
35+
parallel (1.26.3)
36+
parser (3.3.4.2)
3337
ast (~> 2.4.1)
3438
racc
39+
powerbar (1.0.18)
40+
hashie (>= 1.1.0)
3541
pry (0.14.2)
3642
coderay (~> 1.1)
3743
method_source (~> 1.0)
3844
puma (6.4.2)
3945
nio4r (~> 2.0)
40-
racc (1.7.3)
41-
rack (3.0.8)
46+
racc (1.8.1)
47+
rack (3.1.7)
4248
rack-test (2.1.0)
4349
rack (>= 1.3)
4450
rack-unreloader (2.1.0)
4551
rackup (2.1.0)
4652
rack (>= 3)
4753
webrick (~> 1.8)
4854
rainbow (3.1.1)
49-
rake (13.1.0)
55+
rake (13.2.1)
5056
rbs (2.8.4)
5157
redcarpet (3.6.0)
52-
regexp_parser (2.9.0)
58+
regexp_parser (2.9.2)
5359
reverse_markdown (2.1.1)
5460
nokogiri
55-
rexml (3.2.6)
56-
roda (3.76.0)
61+
rexml (3.3.6)
62+
strscan
63+
roda (3.83.0)
5764
rack
58-
rubocop (1.60.2)
65+
rubocop (1.66.0)
5966
json (~> 2.3)
6067
language_server-protocol (>= 3.17.0)
6168
parallel (~> 1.10)
6269
parser (>= 3.3.0.2)
6370
rainbow (>= 2.2.2, < 4.0)
64-
regexp_parser (>= 1.8, < 3.0)
65-
rexml (>= 3.2.5, < 4.0)
66-
rubocop-ast (>= 1.30.0, < 2.0)
71+
regexp_parser (>= 2.4, < 3.0)
72+
rubocop-ast (>= 1.32.1, < 2.0)
6773
ruby-progressbar (~> 1.7)
6874
unicode-display_width (>= 2.4.0, < 3.0)
69-
rubocop-ast (1.30.0)
70-
parser (>= 3.2.1.0)
75+
rubocop-ast (1.32.1)
76+
parser (>= 3.3.1.0)
77+
rubocop-minitest (0.34.5)
78+
rubocop (>= 1.39, < 2.0)
79+
rubocop-ast (>= 1.30.0, < 2.0)
80+
rubocop-performance (1.21.1)
81+
rubocop (>= 1.48.1, < 2.0)
82+
rubocop-ast (>= 1.31.1, < 2.0)
83+
rubocop-rake (0.6.0)
84+
rubocop (~> 1.0)
7185
ruby-next (0.14.1)
7286
ruby-next-core (= 0.14.1)
7387
ruby-next-parser (>= 3.1.1.0)
7488
unparser (~> 0.6.0)
7589
ruby-next-core (0.14.1)
76-
ruby-next-parser (3.1.1.3)
90+
ruby-next-parser (3.2.2.0)
7791
parser (>= 3.0.3.1)
7892
ruby-progressbar (1.13.0)
7993
rutie (0.0.4)
@@ -93,6 +107,7 @@ GEM
93107
thor (~> 1.0)
94108
tilt (~> 2.0)
95109
yard (~> 0.9, >= 0.9.24)
110+
strscan (3.1.0)
96111
tantiny (0.3.3)
97112
concurrent-ruby (~> 1.0)
98113
rake (~> 13.0)
@@ -103,15 +118,15 @@ GEM
103118
minitar (~> 0.5)
104119
rake (>= 10)
105120
tomlrb (~> 1.2)
106-
thor (1.3.0)
107-
tilt (2.3.0)
121+
thor (1.3.2)
122+
tilt (2.4.0)
108123
tomlrb (1.3.0)
109124
unicode-display_width (2.5.0)
110-
unparser (0.6.9)
125+
unparser (0.6.15)
111126
diff-lcs (~> 1.3)
112-
parser (>= 3.2.2.4)
127+
parser (>= 3.3.0)
113128
webrick (1.8.1)
114-
yard (0.9.34)
129+
yard (0.9.36)
115130

116131
PLATFORMS
117132
arm64-darwin-22
@@ -120,6 +135,7 @@ PLATFORMS
120135

121136
DEPENDENCIES
122137
htmlbeautifier
138+
minitar-cli (~> 0.12)
123139
minitest (~> 5.21)
124140
pry
125141
puma (~> 6.4)
@@ -130,10 +146,13 @@ DEPENDENCIES
130146
redcarpet (~> 3.6)
131147
roda (~> 3.76)
132148
rubocop (~> 1.60)
149+
rubocop-minitest (~> 0.34.5)
150+
rubocop-performance (~> 1.20)
151+
rubocop-rake (~> 0.6.0)
133152
solargraph (~> 0.50)
134153
tantiny (= 0.3.3)
135154
tilt (~> 2.3)
136155
yard (~> 0.9.34)
137156

138157
BUNDLED WITH
139-
2.5.4
158+
2.5.18

config.ru

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# frozen_string_literal: true
22

33
dev = ENV['RACK_ENV'] == 'development'
4-
require 'pry' if dev
4+
prod = ENV['RACK_ENV'] == 'production'
5+
require 'pry' unless prod
56

67
require 'yaml'
78
require 'tantiny'

public/favicon/site.webmanifest

+18-18
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
{
2-
"name": "",
3-
"short_name": "",
4-
"icons": [
5-
{
6-
"src": "/favicon/android-chrome-192x192.png",
7-
"sizes": "192x192",
8-
"type": "image/png"
9-
},
10-
{
11-
"src": "/favicon/android-chrome-512x512.png",
12-
"sizes": "512x512",
13-
"type": "image/png"
14-
}
15-
],
16-
"theme_color": "#ffffff",
17-
"background_color": "#ffffff",
18-
"display": "standalone"
19-
}
2+
"name": "",
3+
"short_name": "",
4+
"icons": [
5+
{
6+
"src": "/favicon/android-chrome-192x192.png",
7+
"sizes": "192x192",
8+
"type": "image/png"
9+
},
10+
{
11+
"src": "/favicon/android-chrome-512x512.png",
12+
"sizes": "512x512",
13+
"type": "image/png"
14+
}
15+
],
16+
"theme_color": "#ffffff",
17+
"background_color": "#ffffff",
18+
"display": "standalone"
19+
}

0 commit comments

Comments
 (0)