Skip to content

Commit 3e82718

Browse files
authored
Konnorrogers/fix remote links (#218)
* fix remote links * fix remote links * fix inde.html.erb * fix workflow * eslint -.- * update bundler
1 parent a9618cf commit 3e82718

File tree

7 files changed

+143
-106
lines changed

7 files changed

+143
-106
lines changed

.github/workflows/tests.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353

5454
steps:
5555
- uses: actions/checkout@v4
56-
- uses: ruby/setup-ruby@v2
56+
- uses: ruby/setup-ruby@v1
5757
with:
5858
ruby-version: ${{ matrix.ruby }}
5959
bundler-cache: true

.tool-versions

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
ruby 2.7.5
1+
ruby 3.1.3

Gemfile

+2-3
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ source 'https://rubygems.org'
22
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
33

44
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails', branch: 'main'
5-
gem 'rails', '~> 6.1.3', '>= 6.1.3.2'
5+
gem 'rails', '~> 7.0'
66
# Use sqlite3 as the database for Active Record
77
gem 'sqlite3'
88
# Use Puma as the app server
9-
gem 'puma', '~> 5.0'
9+
gem 'puma', '~> 6.0'
1010
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
1111
gem 'jbuilder', '~> 2.7'
1212
# Use Active Model has_secure_password
@@ -33,7 +33,6 @@ group :test do
3333
# Adds support for Capybara system testing and selenium driver
3434
gem 'capybara', '>= 3.26'
3535
gem "evil_systems", "~> 0.2"
36-
gem 'webdrivers', '~> 5.0', require: false
3736
gem "selenium-webdriver", "~> 4.1"
3837
end
3938

Gemfile.lock

+126-97
Original file line numberDiff line numberDiff line change
@@ -1,100 +1,122 @@
11
GEM
22
remote: https://rubygems.org/
33
specs:
4-
actioncable (6.1.7.8)
5-
actionpack (= 6.1.7.8)
6-
activesupport (= 6.1.7.8)
4+
actioncable (7.2.0)
5+
actionpack (= 7.2.0)
6+
activesupport (= 7.2.0)
77
nio4r (~> 2.0)
88
websocket-driver (>= 0.6.1)
9-
actionmailbox (6.1.7.8)
10-
actionpack (= 6.1.7.8)
11-
activejob (= 6.1.7.8)
12-
activerecord (= 6.1.7.8)
13-
activestorage (= 6.1.7.8)
14-
activesupport (= 6.1.7.8)
15-
mail (>= 2.7.1)
16-
actionmailer (6.1.7.8)
17-
actionpack (= 6.1.7.8)
18-
actionview (= 6.1.7.8)
19-
activejob (= 6.1.7.8)
20-
activesupport (= 6.1.7.8)
21-
mail (~> 2.5, >= 2.5.4)
22-
rails-dom-testing (~> 2.0)
23-
actionpack (6.1.7.8)
24-
actionview (= 6.1.7.8)
25-
activesupport (= 6.1.7.8)
26-
rack (~> 2.0, >= 2.0.9)
9+
zeitwerk (~> 2.6)
10+
actionmailbox (7.2.0)
11+
actionpack (= 7.2.0)
12+
activejob (= 7.2.0)
13+
activerecord (= 7.2.0)
14+
activestorage (= 7.2.0)
15+
activesupport (= 7.2.0)
16+
mail (>= 2.8.0)
17+
actionmailer (7.2.0)
18+
actionpack (= 7.2.0)
19+
actionview (= 7.2.0)
20+
activejob (= 7.2.0)
21+
activesupport (= 7.2.0)
22+
mail (>= 2.8.0)
23+
rails-dom-testing (~> 2.2)
24+
actionpack (7.2.0)
25+
actionview (= 7.2.0)
26+
activesupport (= 7.2.0)
27+
nokogiri (>= 1.8.5)
28+
racc
29+
rack (>= 2.2.4, < 3.2)
30+
rack-session (>= 1.0.1)
2731
rack-test (>= 0.6.3)
28-
rails-dom-testing (~> 2.0)
29-
rails-html-sanitizer (~> 1.0, >= 1.2.0)
30-
actiontext (6.1.7.8)
31-
actionpack (= 6.1.7.8)
32-
activerecord (= 6.1.7.8)
33-
activestorage (= 6.1.7.8)
34-
activesupport (= 6.1.7.8)
32+
rails-dom-testing (~> 2.2)
33+
rails-html-sanitizer (~> 1.6)
34+
useragent (~> 0.16)
35+
actiontext (7.2.0)
36+
actionpack (= 7.2.0)
37+
activerecord (= 7.2.0)
38+
activestorage (= 7.2.0)
39+
activesupport (= 7.2.0)
40+
globalid (>= 0.6.0)
3541
nokogiri (>= 1.8.5)
36-
actionview (6.1.7.8)
37-
activesupport (= 6.1.7.8)
42+
actionview (7.2.0)
43+
activesupport (= 7.2.0)
3844
builder (~> 3.1)
39-
erubi (~> 1.4)
40-
rails-dom-testing (~> 2.0)
41-
rails-html-sanitizer (~> 1.1, >= 1.2.0)
42-
activejob (6.1.7.8)
43-
activesupport (= 6.1.7.8)
45+
erubi (~> 1.11)
46+
rails-dom-testing (~> 2.2)
47+
rails-html-sanitizer (~> 1.6)
48+
activejob (7.2.0)
49+
activesupport (= 7.2.0)
4450
globalid (>= 0.3.6)
45-
activemodel (6.1.7.8)
46-
activesupport (= 6.1.7.8)
47-
activerecord (6.1.7.8)
48-
activemodel (= 6.1.7.8)
49-
activesupport (= 6.1.7.8)
50-
activestorage (6.1.7.8)
51-
actionpack (= 6.1.7.8)
52-
activejob (= 6.1.7.8)
53-
activerecord (= 6.1.7.8)
54-
activesupport (= 6.1.7.8)
51+
activemodel (7.2.0)
52+
activesupport (= 7.2.0)
53+
activerecord (7.2.0)
54+
activemodel (= 7.2.0)
55+
activesupport (= 7.2.0)
56+
timeout (>= 0.4.0)
57+
activestorage (7.2.0)
58+
actionpack (= 7.2.0)
59+
activejob (= 7.2.0)
60+
activerecord (= 7.2.0)
61+
activesupport (= 7.2.0)
5562
marcel (~> 1.0)
56-
mini_mime (>= 1.1.0)
57-
activesupport (6.1.7.8)
58-
concurrent-ruby (~> 1.0, >= 1.0.2)
63+
activesupport (7.2.0)
64+
base64
65+
bigdecimal
66+
concurrent-ruby (~> 1.0, >= 1.3.1)
67+
connection_pool (>= 2.2.5)
68+
drb
5969
i18n (>= 1.6, < 2)
70+
logger (>= 1.4.2)
6071
minitest (>= 5.1)
61-
tzinfo (~> 2.0)
62-
zeitwerk (~> 2.3)
72+
securerandom (>= 0.3)
73+
tzinfo (~> 2.0, >= 2.0.5)
6374
addressable (2.8.7)
6475
public_suffix (>= 2.0.2, < 7.0)
76+
base64 (0.2.0)
77+
bigdecimal (3.1.8)
6578
bindex (0.8.1)
6679
bootsnap (1.18.4)
6780
msgpack (~> 1.2)
6881
builder (3.3.0)
6982
byebug (11.1.3)
70-
capybara (3.39.2)
83+
capybara (3.40.0)
7184
addressable
7285
matrix
7386
mini_mime (>= 0.1.3)
74-
nokogiri (~> 1.8)
87+
nokogiri (~> 1.11)
7588
rack (>= 1.6.0)
7689
rack-test (>= 0.6.3)
7790
regexp_parser (>= 1.5, < 3.0)
7891
xpath (~> 3.2)
7992
concurrent-ruby (1.3.4)
93+
connection_pool (2.4.1)
8094
crass (1.0.6)
8195
date (3.3.4)
96+
drb (2.2.1)
8297
dry-cli (1.1.0)
8398
erubi (1.13.0)
8499
evil_systems (0.2.0)
85100
capybara
86101
zeitwerk (>= 2)
87102
ffi (1.17.0)
103+
ffi (1.17.0-x86_64-darwin)
104+
ffi (1.17.0-x86_64-linux-gnu)
88105
globalid (1.2.1)
89106
activesupport (>= 6.1)
90107
i18n (1.14.5)
91108
concurrent-ruby (~> 1.0)
109+
io-console (0.7.2)
110+
irb (1.14.0)
111+
rdoc (>= 4.0.0)
112+
reline (>= 0.4.2)
92113
jbuilder (2.12.0)
93114
actionview (>= 5.0.0)
94115
activesupport (>= 5.0.0)
95116
listen (3.9.0)
96117
rb-fsevent (~> 0.10, >= 0.10.3)
97118
rb-inotify (~> 0.9, >= 0.9.10)
119+
logger (1.6.0)
98120
loofah (2.22.0)
99121
crass (~> 1.0.2)
100122
nokogiri (>= 1.12.0)
@@ -105,10 +127,9 @@ GEM
105127
net-smtp
106128
marcel (1.0.4)
107129
matrix (0.4.2)
108-
method_source (1.1.0)
109130
mini_mime (1.1.5)
110131
mini_portile2 (2.8.7)
111-
minitest (5.24.1)
132+
minitest (5.25.1)
112133
msgpack (1.7.2)
113134
net-imap (0.4.14)
114135
date
@@ -120,80 +141,92 @@ GEM
120141
net-smtp (0.5.0)
121142
net-protocol
122143
nio4r (2.7.3)
123-
nokogiri (1.15.6)
144+
nokogiri (1.16.7)
124145
mini_portile2 (~> 2.8.2)
125146
racc (~> 1.4)
126-
nokogiri (1.15.6-x86_64-darwin)
147+
nokogiri (1.16.7-x86_64-darwin)
127148
racc (~> 1.4)
128-
nokogiri (1.15.6-x86_64-linux)
149+
nokogiri (1.16.7-x86_64-linux)
129150
racc (~> 1.4)
130-
public_suffix (5.1.1)
131-
puma (5.6.8)
151+
psych (5.1.2)
152+
stringio
153+
public_suffix (6.0.1)
154+
puma (6.4.2)
132155
nio4r (~> 2.0)
133156
racc (1.8.1)
134-
rack (2.2.9)
157+
rack (3.1.7)
135158
rack-proxy (0.7.7)
136159
rack
160+
rack-session (2.0.0)
161+
rack (>= 3.0.0)
137162
rack-test (2.1.0)
138163
rack (>= 1.3)
139-
rails (6.1.7.8)
140-
actioncable (= 6.1.7.8)
141-
actionmailbox (= 6.1.7.8)
142-
actionmailer (= 6.1.7.8)
143-
actionpack (= 6.1.7.8)
144-
actiontext (= 6.1.7.8)
145-
actionview (= 6.1.7.8)
146-
activejob (= 6.1.7.8)
147-
activemodel (= 6.1.7.8)
148-
activerecord (= 6.1.7.8)
149-
activestorage (= 6.1.7.8)
150-
activesupport (= 6.1.7.8)
164+
rackup (2.1.0)
165+
rack (>= 3)
166+
webrick (~> 1.8)
167+
rails (7.2.0)
168+
actioncable (= 7.2.0)
169+
actionmailbox (= 7.2.0)
170+
actionmailer (= 7.2.0)
171+
actionpack (= 7.2.0)
172+
actiontext (= 7.2.0)
173+
actionview (= 7.2.0)
174+
activejob (= 7.2.0)
175+
activemodel (= 7.2.0)
176+
activerecord (= 7.2.0)
177+
activestorage (= 7.2.0)
178+
activesupport (= 7.2.0)
151179
bundler (>= 1.15.0)
152-
railties (= 6.1.7.8)
153-
sprockets-rails (>= 2.0.0)
180+
railties (= 7.2.0)
154181
rails-dom-testing (2.2.0)
155182
activesupport (>= 5.0.0)
156183
minitest
157184
nokogiri (>= 1.6)
158185
rails-html-sanitizer (1.6.0)
159186
loofah (~> 2.21)
160187
nokogiri (~> 1.14)
161-
railties (6.1.7.8)
162-
actionpack (= 6.1.7.8)
163-
activesupport (= 6.1.7.8)
164-
method_source
188+
railties (7.2.0)
189+
actionpack (= 7.2.0)
190+
activesupport (= 7.2.0)
191+
irb (~> 1.13)
192+
rackup (>= 1.0.0)
165193
rake (>= 12.2)
166-
thor (~> 1.0)
194+
thor (~> 1.0, >= 1.2.2)
195+
zeitwerk (~> 2.6)
167196
rake (13.2.1)
168197
rb-fsevent (0.11.2)
169198
rb-inotify (0.11.1)
170199
ffi (~> 1.0)
200+
rdoc (6.7.0)
201+
psych (>= 4.0.0)
171202
regexp_parser (2.9.2)
203+
reline (0.5.9)
204+
io-console (~> 0.5)
172205
rexml (3.2.9)
173206
strscan
174207
rubyzip (2.3.2)
175-
selenium-webdriver (4.9.0)
208+
securerandom (0.3.1)
209+
selenium-webdriver (4.23.0)
210+
base64 (~> 0.2)
211+
logger (~> 1.4)
176212
rexml (~> 3.2, >= 3.2.5)
177213
rubyzip (>= 1.2.2, < 3.0)
178214
websocket (~> 1.0)
179-
sprockets (4.2.1)
180-
concurrent-ruby (~> 1.0)
181-
rack (>= 2.2.4, < 4)
182-
sprockets-rails (3.5.2)
183-
actionpack (>= 6.1)
184-
activesupport (>= 6.1)
185-
sprockets (>= 3.0.0)
186-
sqlite3 (1.7.3)
215+
sqlite3 (2.0.4)
187216
mini_portile2 (~> 2.8.0)
217+
sqlite3 (2.0.4-x86_64-darwin)
218+
sqlite3 (2.0.4-x86_64-linux-gnu)
219+
stringio (3.1.1)
188220
strscan (3.1.0)
189221
thor (1.3.1)
190222
timeout (0.4.1)
191223
tzinfo (2.0.6)
192224
concurrent-ruby (~> 1.0)
225+
useragent (0.16.10)
193226
vite_rails (3.0.17)
194227
railties (>= 5.1, < 8)
195228
vite_ruby (~> 3.0, >= 3.2.2)
196-
vite_ruby (3.7.0)
229+
vite_ruby (3.8.0)
197230
dry-cli (>= 0.7, < 2)
198231
rack-proxy (~> 0.6, >= 0.6.1)
199232
zeitwerk (~> 2.2)
@@ -202,10 +235,7 @@ GEM
202235
activemodel (>= 6.0.0)
203236
bindex (>= 0.4.0)
204237
railties (>= 6.0.0)
205-
webdrivers (5.3.1)
206-
nokogiri (~> 1.6)
207-
rubyzip (>= 1.3.0)
208-
selenium-webdriver (~> 4.0, < 4.11)
238+
webrick (1.8.1)
209239
websocket (1.2.11)
210240
websocket-driver (0.7.6)
211241
websocket-extensions (>= 0.1.0)
@@ -226,15 +256,14 @@ DEPENDENCIES
226256
evil_systems (~> 0.2)
227257
jbuilder (~> 2.7)
228258
listen (~> 3.3)
229-
puma (~> 5.0)
230-
rails (~> 6.1.3, >= 6.1.3.2)
259+
puma (~> 6.0)
260+
rails (~> 7.0)
231261
rexml (~> 3.2.4)
232262
selenium-webdriver (~> 4.1)
233263
sqlite3
234264
tzinfo-data
235265
vite_rails (~> 3.0)
236266
web-console (>= 4.1.0)
237-
webdrivers (~> 5.0)
238267

239268
BUNDLED WITH
240-
2.3.5
269+
2.5.17

src/methodSubmission.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,8 @@ function getFormData (method: string): FormData {
8080
* get, post, put, patch, etc
8181
*/
8282
function getElementMethod (element: HTMLElement): string {
83-
const method = element.dataset.method ?? 'get'
83+
// eslint-disable-next-line
84+
const method = element.dataset.method || 'get'
8485
return method.toLowerCase()
8586
}
8687

0 commit comments

Comments
 (0)