Sha256: a682fa771be98da8d3cef3cfce6aeccde6f50384d09c7c4ca2b4cafd4f6bc46d

Contents?: true

Size: 551 Bytes

Versions: 9

Compression:

Stored size: 551 Bytes

Contents

scope groups: [:doc, :lint, :unit]

group :doc do
  guard :yard do
    watch(%r{^lib/(.+)\.rb$})
  end
end

group :lint do
  guard :rubocop do
    watch(%r{.+\.rb$})
    watch(%r{(?:.+/)?\.rubocop\.yml$}) { |m| File.dirname(m[0]) }
  end
end

group :unit do
  guard :rspec, cmd: 'bundle exec rspec --color --format Fuubar' do
    watch(%r{^lib/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" }
    watch(%r{^lib/config_curator/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" }
    watch(%r{^spec/.+_spec\.rb$})
    watch('spec/spec_helper.rb') { 'spec' }
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
config_curator-1.0.0 Guardfile
config_curator-0.5.0 Guardfile
config_curator-0.4.0 Guardfile
config_curator-0.3.0 Guardfile
config_curator-0.2.4 Guardfile
config_curator-0.2.3 Guardfile
config_curator-0.2.2 Guardfile
config_curator-0.2.1 Guardfile
config_curator-0.2.0 Guardfile