Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

add guard, ruby gntp to gemfile

  • Loading branch information...
commit cbb1e58398d1194de6cffb2999576f3d263d787b 1 parent 0ee304d
Dan Buettner authored
Showing with 62 additions and 0 deletions.
  1. +5 −0 Gemfile
  2. +33 −0 Gemfile.lock
  3. +24 −0 Guardfile
5 Gemfile
View
@@ -5,3 +5,8 @@ ruby "2.0.0"
gem "faraday"
gem "nokogiri"
gem "rspec"
+
+group :development do
+ gem 'guard-rspec', require: false
+ gem 'ruby_gntp'
+end
33 Gemfile.lock
View
@@ -1,13 +1,40 @@
GEM
remote: https://rubygems.org/
specs:
+ celluloid (0.15.2)
+ timers (~> 1.1.0)
+ coderay (1.1.0)
diff-lcs (1.2.5)
faraday (0.8.8)
multipart-post (~> 1.2.0)
+ ffi (1.9.3)
+ formatador (0.2.4)
+ guard (2.2.5)
+ formatador (>= 0.2.4)
+ listen (~> 2.1)
+ lumberjack (~> 1.0)
+ pry (>= 0.9.12)
+ thor (>= 0.18.1)
+ guard-rspec (4.2.4)
+ guard (~> 2.1)
+ rspec (>= 2.14, < 4.0)
+ listen (2.4.0)
+ celluloid (>= 0.15.2)
+ rb-fsevent (>= 0.9.3)
+ rb-inotify (>= 0.9)
+ lumberjack (1.0.4)
+ method_source (0.8.2)
mini_portile (0.5.2)
multipart-post (1.2.0)
nokogiri (1.6.1)
mini_portile (~> 0.5.0)
+ pry (0.9.12.4)
+ coderay (~> 1.0)
+ method_source (~> 0.8)
+ slop (~> 3.4)
+ rb-fsevent (0.9.4)
+ rb-inotify (0.9.3)
+ ffi (>= 0.5.0)
rspec (2.14.1)
rspec-core (~> 2.14.0)
rspec-expectations (~> 2.14.0)
@@ -16,11 +43,17 @@ GEM
rspec-expectations (2.14.4)
diff-lcs (>= 1.1.3, < 2.0)
rspec-mocks (2.14.4)
+ ruby_gntp (0.3.4)
+ slop (3.4.7)
+ thor (0.18.1)
+ timers (1.1.0)
PLATFORMS
ruby
DEPENDENCIES
faraday
+ guard-rspec
nokogiri
rspec
+ ruby_gntp
24 Guardfile
View
@@ -0,0 +1,24 @@
+# A sample Guardfile
+# More info at https://github.com/guard/guard#readme
+
+guard :rspec do
+ watch(%r{^spec/.+_spec\.rb$})
+ watch(%r{^lib/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" }
+ watch('spec/spec_helper.rb') { "spec" }
+
+ # Rails example
+ watch(%r{^app/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" }
+ watch(%r{^app/(.*)(\.erb|\.haml|\.slim)$}) { |m| "spec/#{m[1]}#{m[2]}_spec.rb" }
+ watch(%r{^app/controllers/(.+)_(controller)\.rb$}) { |m| ["spec/routing/#{m[1]}_routing_spec.rb", "spec/#{m[2]}s/#{m[1]}_#{m[2]}_spec.rb", "spec/acceptance/#{m[1]}_spec.rb"] }
+ watch(%r{^spec/support/(.+)\.rb$}) { "spec" }
+ watch('config/routes.rb') { "spec/routing" }
+ watch('app/controllers/application_controller.rb') { "spec/controllers" }
+
+ # Capybara features specs
+ watch(%r{^app/views/(.+)/.*\.(erb|haml|slim)$}) { |m| "spec/features/#{m[1]}_spec.rb" }
+
+ # Turnip features and steps
+ watch(%r{^spec/acceptance/(.+)\.feature$})
+ watch(%r{^spec/acceptance/steps/(.+)_steps\.rb$}) { |m| Dir[File.join("**/#{m[1]}.feature")][0] || 'spec/acceptance' }
+end
+
Please sign in to comment.
Something went wrong with that request. Please try again.