summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Herold <michael.j.herold+github@gmail.com>2014-08-24 17:51:51 -0500
committerMichael Herold <michael.j.herold+github@gmail.com>2014-08-24 17:51:51 -0500
commit79d688cf625d2f205bb1b5e350e850ef4ac66fe3 (patch)
treee863e8acbc868465105a05c4a0bc21ad5d60de18
parentcb1c92ce9811466f2d2ed4b317a60bf83bb259c0 (diff)
parent8244d4456bd30c6df57c9807e5dde826517b0af3 (diff)
downloadhashie-79d688cf625d2f205bb1b5e350e850ef4ac66fe3.tar.gz
Merge pull request #211 from dblock/guard
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' }