Permalink
Browse files

Add guard notification stuff

  • Loading branch information...
1 parent 1353c4b commit fa1fc948cf3d2e28a222ac1980c4aef5a55f0945 @mattwynne committed May 15, 2012
Showing with 30 additions and 1 deletion.
  1. +5 −1 Gemfile
  2. +17 −0 Gemfile.lock
  3. +8 −0 Guardfile
View
@@ -4,4 +4,8 @@ gem 'cucumber'
gem 'rspec'
gem 'capybara'
gem 'sinatra'
-
+gem 'guard-cucumber'
+gem 'rb-fsevent', :require => RUBY_PLATFORM.include?('darwin') && 'rb-fsevent'
+gem 'ruby_gntp', :require => RUBY_PLATFORM.include?('darwin') && 'ruby_gntp'
+gem 'rb-inotify', :require => RUBY_PLATFORM.include?('linux') && 'rb-inotify'
+gem 'libnotify', :require => RUBY_PLATFORM.include?('linux') && 'rb-inotify'
View
@@ -21,7 +21,14 @@ GEM
ffi (1.0.11)
gherkin (2.10.0)
json (>= 1.4.6)
+ guard (1.0.3)
+ ffi (>= 0.5.0)
+ thor (>= 0.14.6)
+ guard-cucumber (0.8.0)
+ cucumber (>= 1.2.0)
+ guard (>= 0.8.3)
json (1.7.3)
+ libnotify (0.7.2)
libwebsocket (0.1.3)
addressable
mime-types (1.18)
@@ -32,6 +39,9 @@ GEM
rack
rack-test (0.6.1)
rack (>= 1.0)
+ rb-fsevent (0.9.1)
+ rb-inotify (0.8.8)
+ ffi (>= 0.5.0)
rspec (2.10.0)
rspec-core (~> 2.10.0)
rspec-expectations (~> 2.10.0)
@@ -40,6 +50,7 @@ GEM
rspec-expectations (2.10.0)
diff-lcs (~> 1.1.3)
rspec-mocks (2.10.1)
+ ruby_gntp (0.3.4)
rubyzip (0.9.8)
selenium-webdriver (2.21.2)
childprocess (>= 0.2.5)
@@ -51,6 +62,7 @@ GEM
rack (~> 1.3, >= 1.3.6)
rack-protection (~> 1.2)
tilt (~> 1.3, >= 1.3.3)
+ thor (0.15.2)
tilt (1.3.3)
xpath (0.1.4)
nokogiri (~> 1.3)
@@ -61,5 +73,10 @@ PLATFORMS
DEPENDENCIES
capybara
cucumber
+ guard-cucumber
+ libnotify
+ rb-fsevent
+ rb-inotify
rspec
+ ruby_gntp
sinatra
View
@@ -0,0 +1,8 @@
+# A sample Guardfile
+# More info at https://github.com/guard/guard#readme
+
+guard 'cucumber' do
+ watch(%r{^features/.+\.feature$})
+ watch(%r{^features/support/.+$}) { 'features' }
+ watch(%r{^features/step_definitions/(.+)_steps\.rb$}) { |m| Dir[File.join("**/#{m[1]}.feature")][0] || 'features' }
+end

0 comments on commit fa1fc94

Please sign in to comment.