We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8969c05 commit 618b0a6Copy full SHA for 618b0a6
Gemfile
@@ -8,6 +8,9 @@ group :development, :test do
8
gem 'cookiejar'
9
gem 'rack-contrib'
10
gem 'rubocop', '~> 0.20.1'
11
+ gem 'guard'
12
+ gem 'guard-rspec'
13
+ gem 'guard-rubocop'
14
end
15
16
platforms :rbx do
Guardfile
@@ -0,0 +1,14 @@
1
+# A sample Guardfile
2
+# More info at https://github.com/guard/guard#readme
3
+
4
+guard :rspec do
5
+ watch(%r{^spec/.+_spec\.rb$})
6
+ watch(%r{^lib/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" }
7
+ watch('spec/spec_helper.rb') { "spec" }
+end
+guard :rubocop do
+ watch(%r{.+\.rb$})
+ watch(%r{(?:.+/)?\.rubocop\.yml$}) { |m| File.dirname(m[0]) }
0 commit comments