Add guard gem

This commit is contained in:
Sami Samhuri 2026-01-02 14:50:22 -08:00
parent f261ce9cb8
commit bec3f4a1f3
No known key found for this signature in database
3 changed files with 48 additions and 0 deletions

View file

@ -1,5 +1,7 @@
source "https://rubygems.org" source "https://rubygems.org"
gem "guard", "~> 2.19"
gem "guard-rake", "~> 1.0"
gem "minitest", "~> 6.0" gem "minitest", "~> 6.0"
gem "parser", "~> 3.3.10" gem "parser", "~> 3.3.10"
gem "rake", "~> 13.0" gem "rake", "~> 13.0"

View file

@ -2,20 +2,57 @@ GEM
remote: https://rubygems.org/ remote: https://rubygems.org/
specs: specs:
ast (2.4.3) ast (2.4.3)
coderay (1.1.3)
ffi (1.17.3-arm64-darwin)
ffi (1.17.3-x86_64-linux-gnu)
formatador (1.2.3)
reline
guard (2.19.1)
formatador (>= 0.2.4)
listen (>= 2.7, < 4.0)
logger (~> 1.6)
lumberjack (>= 1.0.12, < 2.0)
nenv (~> 0.1)
notiffany (~> 0.0)
ostruct (~> 0.6)
pry (>= 0.13.0)
shellany (~> 0.0)
thor (>= 0.18.1)
guard-rake (1.0.0)
guard
rake
io-console (0.8.2) io-console (0.8.2)
json (2.18.0) json (2.18.0)
language_server-protocol (3.17.0.5) language_server-protocol (3.17.0.5)
lint_roller (1.1.0) lint_roller (1.1.0)
listen (3.9.0)
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
logger (1.7.0)
lumberjack (1.4.2)
method_source (1.1.0)
minitest (6.0.1) minitest (6.0.1)
prism (~> 1.5) prism (~> 1.5)
nenv (0.3.0)
notiffany (0.1.3)
nenv (~> 0.1)
shellany (~> 0.0)
ostruct (0.6.3)
parallel (1.27.0) parallel (1.27.0)
parser (3.3.10.0) parser (3.3.10.0)
ast (~> 2.4.1) ast (~> 2.4.1)
racc racc
prism (1.7.0) prism (1.7.0)
pry (0.16.0)
coderay (~> 1.1)
method_source (~> 1.0)
reline (>= 0.6.0)
racc (1.8.1) racc (1.8.1)
rainbow (3.1.1) rainbow (3.1.1)
rake (13.3.1) rake (13.3.1)
rb-fsevent (0.11.2)
rb-inotify (0.11.1)
ffi (~> 1.0)
regexp_parser (2.11.3) regexp_parser (2.11.3)
reline (0.6.3) reline (0.6.3)
io-console (~> 0.5) io-console (~> 0.5)
@ -38,6 +75,7 @@ GEM
rubocop (>= 1.75.0, < 2.0) rubocop (>= 1.75.0, < 2.0)
rubocop-ast (>= 1.47.1, < 2.0) rubocop-ast (>= 1.47.1, < 2.0)
ruby-progressbar (1.13.0) ruby-progressbar (1.13.0)
shellany (0.0.1)
standard (1.52.0) standard (1.52.0)
language_server-protocol (~> 3.17.0.2) language_server-protocol (~> 3.17.0.2)
lint_roller (~> 1.0) lint_roller (~> 1.0)
@ -50,6 +88,7 @@ GEM
standard-performance (1.9.0) standard-performance (1.9.0)
lint_roller (~> 1.1) lint_roller (~> 1.1)
rubocop-performance (~> 1.26.0) rubocop-performance (~> 1.26.0)
thor (1.4.0)
unicode-display_width (3.2.0) unicode-display_width (3.2.0)
unicode-emoji (~> 4.1) unicode-emoji (~> 4.1)
unicode-emoji (4.2.0) unicode-emoji (4.2.0)
@ -63,6 +102,8 @@ PLATFORMS
x86_64-linux x86_64-linux
DEPENDENCIES DEPENDENCIES
guard (~> 2.19)
guard-rake
minitest (~> 6.0) minitest (~> 6.0)
parser (~> 3.3.10) parser (~> 3.3.10)
rake (~> 13.0) rake (~> 13.0)

5
ruby/Guardfile Normal file
View file

@ -0,0 +1,5 @@
guard :rake, task: "test" do
watch(%r{^test/.*_test\.rb$})
watch(%r{^shell/.*\.rb$}) { "test" }
watch("shell.rb") { "test" }
end