summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordB <dblock@dblock.org>2014-08-23 19:52:21 -0400
committerdB <dblock@dblock.org>2014-08-24 13:22:25 -0400
commit8244d4456bd30c6df57c9807e5dde826517b0af3 (patch)
treee863e8acbc868465105a05c4a0bc21ad5d60de18
parentcb1c92ce9811466f2d2ed4b317a60bf83bb259c0 (diff)
downloadhashie-8244d4456bd30c6df57c9807e5dde826517b0af3.tar.gz
Fix: working guard.
-rw-r--r--Gemfile11
-rw-r--r--Guardfile2
2 files changed, 8 insertions, 5 deletions
diff --git a/Gemfile b/Gemfile
index d57b961..1e908f6 100644
--- a/Gemfile
+++ b/Gemfile
@@ -9,11 +9,14 @@ end
group :development do
gem 'pry'
gem 'pry-stack_explorer', platforms: [:ruby_19, :ruby_20, :ruby_21]
+ gem 'rubocop', '~> 0.25'
+ gem 'guard', '~> 2.6.1'
+ gem 'guard-rspec', '~> 4.3.1', require: false
end
gemspec
-gem 'rubocop', '~> 0.25'
-
-# ActiveSupport required to test compatibility with ActiveSupport Core Extensions.
-gem 'activesupport', require: false
+group :test do
+ # ActiveSupport required to test compatibility with ActiveSupport Core Extensions.
+ gem 'activesupport', require: false
+end
diff --git a/Guardfile b/Guardfile
index f5a8d1a..191a66a 100644
--- a/Guardfile
+++ b/Guardfile
@@ -1,4 +1,4 @@
-guard 'rspec' do
+guard 'rspec', all_on_start: false, cmd: 'bundle exec rspec' do
watch(/^spec\/.+_spec\.rb/)
watch(/^lib\/(.+)\.rb/) { |m| "spec/#{m[1]}_spec.rb" }
watch('spec/spec_helper.rb') { 'spec' }