Sha256: e1e8c61d63e0e7c677d4c0ba32f126c47c49d7fc3469c8f301b3a501c078b385

Contents?: true

Size: 1.26 KB

Versions: 9

Compression:

Stored size: 1.26 KB

Contents

# A sample Guardfile
# More info at https://github.com/guard/guard#readme

guard 'bundler' do
  watch('Gemfile')
  watch(/^.+\.gemspec/)
end

guard 'rspec' do
  watch(%r{^spec/.+_spec\.rb$})

  watch('spec/spec_helper.rb')  { "spec" }

  watch('lib/tekeya.rb') { "spec/tekeya_spec.rb" }
  watch('lib/tekeya/configuration.rb') { "spec/tekeya_spec.rb" }
  watch('lib/tekeya/railtie.rb') { "spec/tekeya_spec.rb" }

  watch('lib/tekeya/entity.rb') { "spec/tekeya/entity_spec.rb" }
  watch(%r{^lib/tekeya/entity/.+\.rb$}) { "spec/tekeya/entity_spec.rb" }

  watch(%r{^lib/tekeya/feed/.+\.rb$}) { "spec/tekeya/feed_spec.rb" }
  watch(%r{^lib/tekeya/feed/resque/.+\.rb$}) { "spec/tekeya/feed_spec.rb" }
end


guard 'rspec', :env => {'TEKEYA_ORM' => 'mongoid'} do
  watch(%r{^spec/.+_spec\.rb$})

  watch('spec/spec_helper.rb')  { "spec" }

  watch('lib/tekeya.rb') { "spec/tekeya_spec.rb" }
  watch('lib/tekeya/configuration.rb') { "spec/tekeya_spec.rb" }
  watch('lib/tekeya/railtie.rb') { "spec/tekeya_spec.rb" }

  watch('lib/entity.rb') { "spec/tekeya/entity_spec.rb" }
  watch(%r{^lib/tekeya/entity/.+\.rb$}) { "spec/tekeya/entity_spec.rb" }

  watch(%r{^lib/tekeya/feed/.+\.rb$}) { "spec/tekeya/feed_spec.rb" }
  watch(%r{^lib/tekeya/feed/resque/.+\.rb$}) { "spec/tekeya/feed_spec.rb" }
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
tekeya-0.0.10 Guardfile
tekeya-0.0.9 Guardfile
tekeya-0.0.7 Guardfile
tekeya-0.0.6 Guardfile
tekeya-0.0.5 Guardfile
tekeya-0.0.4 Guardfile
tekeya-0.0.3 Guardfile
tekeya-0.0.2 Guardfile
tekeya-0.0.1 Guardfile