updated guardfile and reverted gemfile after doing something stupid

This commit is contained in:
Scott Davis 2012-01-19 21:39:51 -05:00
parent d6168442e8
commit 1d562a5f6a
2 changed files with 32 additions and 24 deletions

View File

@ -1,17 +1,23 @@
source 'http://rubygems.org' source :rubygems
gemspec
# The gems you'll need for generating your site on your development machine. gem 'rake'
# The deployment strategy you use determines what you need in production, if gem 'rdoc'
# anything.
# # group :debug do
group :development do # gem 'ruby-debug19'
gem 'jekyll', '~> 0.11.0' # end
gem 'compass', '~> 0.11.0'
group :test do
gem 'guard'
gem 'guard-rspec'
gem 'guard-cucumber'
gem 'fakefs'
gem 'webmock'
gem 'aruba', '~> 0.4.11'
#if we are on travis ci ignore these
unless ENV["CI"]
gem 'rb-fsevent'
gem 'ruby_gntp', '~> 0.3.4'
end end
# If your deployment target has you running Ruby, you might have some gems
# listed here. This will be the case if you deploy to Heroku.
#
group :production do
end end

View File

@ -1,15 +1,17 @@
# A sample Guardfile # A sample Guardfile
# More info at https://github.com/guard/guard#readme # More info at https://github.com/guard/guard#readme
group :specs do
guard 'rspec', :version => 2 do guard 'rspec', :version => 2 do
watch(%r{^spec/.+_spec\.rb$}) watch(%r{^spec/.+_spec\.rb$})
watch(%r{^lib/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" } watch(%r{^lib/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" }
watch('spec/spec_helper.rb') { "spec" } watch('spec/spec_helper.rb') { "spec" }
end end
end
group :cukes do
guard 'cucumber' do guard 'cucumber' do
watch(%r{^features/.+\.feature$}) watch(%r{^features/.+\.feature$})
watch(%r{^features/support/.+$}) { 'features' } watch(%r{^features/support/.+$}) { 'features' }
watch(%r{^features/step_definitions/(.+)_steps\.rb$}) { |m| Dir[File.join("**/#{m[1]}.feature")][0] || 'features' } watch(%r{^features/step_definitions/(.+)_steps\.rb$}) { |m| Dir[File.join("**/#{m[1]}.feature")][0] || 'features' }
end end
end