Skip to content

Commit 6872e91

Browse files
committed
Use FastRuby Styleguide
1 parent 462a530 commit 6872e91

File tree

7 files changed

+296
-79
lines changed

7 files changed

+296
-79
lines changed

Gemfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ gem "discordrb"
88
gem "dotenv-rails"
99

1010
gem "propshaft"
11+
gem "dartsass-rails"
1112
# Use postgresql as the database for Active Record
1213
gem "pg", "~> 1.5.9"
1314
# Use the Puma web server [https://github.com/puma/puma]
@@ -47,6 +48,8 @@ gem "thruster", require: false
4748
gem "slack-ruby-block-kit", ">= 0.24.0"
4849
gem "slack-ruby-client", ">= 2.4.0"
4950

51+
gem "fastruby-styleguide", github: "fastruby/styleguide", branch: "gh-pages"
52+
5053
# auth gems
5154
gem "omniauth"
5255
gem "omniauth-google-oauth2"

Gemfile.lock

Lines changed: 101 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
GIT
2+
remote: https://github.com/fastruby/styleguide.git
3+
revision: 72e40c19980e37acaccb741dc1a8a47e3242cba3
4+
branch: gh-pages
5+
specs:
6+
fastruby-styleguide (0.1.0)
7+
bootstrap-sass (>= 3.4.0)
8+
jquery-rails (>= 4.3.0)
9+
material_design_lite-sass (>= 1.3.0)
10+
popper_js (>= 1.14.5)
11+
rails (>= 5.2.1)
12+
sass-rails (>= 5.0)
13+
114
GEM
215
remote: https://rubygems.org/
316
specs:
@@ -75,6 +88,8 @@ GEM
7588
addressable (2.8.7)
7689
public_suffix (>= 2.0.2, < 7.0)
7790
ast (2.4.2)
91+
autoprefixer-rails (10.4.21.0)
92+
execjs (~> 2)
7893
base64 (0.3.0)
7994
bcrypt_pbkdf (1.1.1)
8095
bcrypt_pbkdf (1.1.1-arm64-darwin)
@@ -83,6 +98,9 @@ GEM
8398
bindex (0.8.1)
8499
bootsnap (1.18.6)
85100
msgpack (~> 1.2)
101+
bootstrap-sass (3.4.1)
102+
autoprefixer-rails (>= 5.2.1)
103+
sassc (>= 2.0.0)
86104
brakeman (7.1.0)
87105
racc
88106
builder (3.3.0)
@@ -98,6 +116,9 @@ GEM
98116
concurrent-ruby (1.3.5)
99117
connection_pool (2.5.3)
100118
crass (1.0.6)
119+
dartsass-rails (0.5.1)
120+
railties (>= 6.0.0)
121+
sass-embedded (~> 1.63)
101122
date (3.4.1)
102123
debug (1.11.0)
103124
irb (~> 1.10)
@@ -122,6 +143,7 @@ GEM
122143
et-orbi (1.2.11)
123144
tzinfo
124145
event_emitter (0.2.6)
146+
execjs (2.10.0)
125147
faraday (2.13.1)
126148
faraday-net_http (>= 2.0, < 3.5)
127149
json
@@ -147,6 +169,24 @@ GEM
147169
ostruct
148170
globalid (1.2.1)
149171
activesupport (>= 6.1)
172+
google-protobuf (4.33.0)
173+
bigdecimal
174+
rake (>= 13)
175+
google-protobuf (4.33.0-aarch64-linux-gnu)
176+
bigdecimal
177+
rake (>= 13)
178+
google-protobuf (4.33.0-aarch64-linux-musl)
179+
bigdecimal
180+
rake (>= 13)
181+
google-protobuf (4.33.0-arm64-darwin)
182+
bigdecimal
183+
rake (>= 13)
184+
google-protobuf (4.33.0-x86_64-linux-gnu)
185+
bigdecimal
186+
rake (>= 13)
187+
google-protobuf (4.33.0-x86_64-linux-musl)
188+
bigdecimal
189+
rake (>= 13)
150190
hashie (5.0.0)
151191
http-accept (1.7.0)
152192
http-cookie (1.0.8)
@@ -165,6 +205,10 @@ GEM
165205
jbuilder (2.13.0)
166206
actionview (>= 5.0.0)
167207
activesupport (>= 5.0.0)
208+
jquery-rails (4.6.1)
209+
rails-dom-testing (>= 1, < 3)
210+
railties (>= 4.2.0)
211+
thor (>= 0.14, < 2.0)
168212
json (2.10.2)
169213
jwt (2.10.1)
170214
base64
@@ -191,6 +235,9 @@ GEM
191235
net-pop
192236
net-smtp
193237
marcel (1.0.4)
238+
material_design_lite-sass (1.3.0.1)
239+
autoprefixer-rails (>= 6.5)
240+
sass (>= 3.3)
194241
matrix (0.4.2)
195242
mime-types (3.6.0)
196243
logger
@@ -243,8 +290,9 @@ GEM
243290
rack (>= 1.2, < 4)
244291
snaky_hash (~> 2.0, >= 2.0.3)
245292
version_gem (>= 1.1.8, < 3)
246-
omniauth (2.1.3)
293+
omniauth (2.1.4)
247294
hashie (>= 3.4.6)
295+
logger
248296
rack (>= 2.2.3)
249297
rack-protection
250298
omniauth-google-oauth2 (1.2.1)
@@ -263,6 +311,7 @@ GEM
263311
ast (~> 2.4.1)
264312
racc
265313
pg (1.5.9)
314+
popper_js (2.11.8)
266315
pp (0.6.2)
267316
prettyprint
268317
prettyprint (0.2.0)
@@ -279,18 +328,17 @@ GEM
279328
nio4r (~> 2.0)
280329
raabro (1.4.0)
281330
racc (1.8.1)
282-
rack (3.1.15)
283-
rack-protection (4.1.1)
284-
base64 (>= 0.1.0)
285-
logger (>= 1.6.0)
286-
rack (>= 3.0.0, < 4)
287-
rack-session (2.1.1)
331+
rack (2.2.20)
332+
rack-protection (3.2.0)
288333
base64 (>= 0.1.0)
289-
rack (>= 3.0.0)
334+
rack (~> 2.2, >= 2.2.4)
335+
rack-session (1.0.2)
336+
rack (< 3)
290337
rack-test (2.2.0)
291338
rack (>= 1.3)
292-
rackup (2.2.1)
293-
rack (>= 3)
339+
rackup (1.0.1)
340+
rack (< 3)
341+
webrick
294342
rails (8.0.2)
295343
actioncable (= 8.0.2)
296344
actionmailbox (= 8.0.2)
@@ -322,6 +370,9 @@ GEM
322370
zeitwerk (~> 2.6)
323371
rainbow (3.1.1)
324372
rake (13.3.0)
373+
rb-fsevent (0.11.2)
374+
rb-inotify (0.11.1)
375+
ffi (~> 1.0)
325376
rdoc (6.14.1)
326377
erb
327378
psych (>= 4.0.0)
@@ -367,6 +418,35 @@ GEM
367418
rubyzip (2.4.1)
368419
rufus-scheduler (3.9.2)
369420
fugit (~> 1.1, >= 1.11.1)
421+
sass (3.7.4)
422+
sass-listen (~> 4.0.0)
423+
sass-embedded (1.93.2-aarch64-linux-gnu)
424+
google-protobuf (~> 4.31)
425+
sass-embedded (1.93.2-aarch64-linux-musl)
426+
google-protobuf (~> 4.31)
427+
sass-embedded (1.93.2-arm-linux-gnueabihf)
428+
google-protobuf (~> 4.31)
429+
sass-embedded (1.93.2-arm-linux-musleabihf)
430+
google-protobuf (~> 4.31)
431+
sass-embedded (1.93.2-arm64-darwin)
432+
google-protobuf (~> 4.31)
433+
sass-embedded (1.93.2-x86_64-linux-gnu)
434+
google-protobuf (~> 4.31)
435+
sass-embedded (1.93.2-x86_64-linux-musl)
436+
google-protobuf (~> 4.31)
437+
sass-listen (4.0.0)
438+
rb-fsevent (~> 0.9, >= 0.9.4)
439+
rb-inotify (~> 0.9, >= 0.9.7)
440+
sass-rails (6.0.0)
441+
sassc-rails (~> 2.1, >= 2.1.1)
442+
sassc (2.4.0)
443+
ffi (~> 1.9)
444+
sassc-rails (2.1.2)
445+
railties (>= 4.0.0)
446+
sassc (>= 2.0)
447+
sprockets (> 3.0)
448+
sprockets-rails
449+
tilt
370450
securerandom (0.4.1)
371451
selenium-webdriver (4.33.0)
372452
base64 (~> 0.2)
@@ -418,6 +498,14 @@ GEM
418498
fugit (~> 1.11.0)
419499
railties (>= 7.1)
420500
thor (~> 1.3.1)
501+
sprockets (4.2.2)
502+
concurrent-ruby (~> 1.0)
503+
logger
504+
rack (>= 2.2.4, < 4)
505+
sprockets-rails (3.5.2)
506+
actionpack (>= 6.1)
507+
activesupport (>= 6.1)
508+
sprockets (>= 3.0.0)
421509
sshkit (1.24.0)
422510
base64
423511
logger
@@ -451,6 +539,7 @@ GEM
451539
activemodel (>= 6.0.0)
452540
bindex (>= 0.4.0)
453541
railties (>= 6.0.0)
542+
webrick (1.9.1)
454543
websocket (1.2.11)
455544
websocket-client-simple (0.9.0)
456545
base64
@@ -481,9 +570,11 @@ DEPENDENCIES
481570
bootsnap
482571
brakeman
483572
capybara
573+
dartsass-rails
484574
debug
485575
discordrb
486576
dotenv-rails
577+
fastruby-styleguide!
487578
importmap-rails
488579
jbuilder
489580
kamal

app/assets/config/manifest.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
// This file is required by Sprockets (pulled in by styleguide gem dependencies)
2+
// Propshaft actually serves the assets, this manifest is just to prevent Sprockets errors
3+
// JavaScript is handled by importmap, not the asset pipeline
4+
//= link_tree ../images
5+
//= link application.css
6+

0 commit comments

Comments
 (0)