Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 13 lines (11 sloc) 0.375 kb
e8dc6f9 Cezary Baginski setup Rubocop
e2 authored
1 group :development, halt_on_fail: true do
2 guard :rspec, cmd: 'bundle exec rspec' do
3 watch(%r{^spec/(.*)_spec\.rb$})
4 watch(%r{^(lib/.*/)?([^/]+)\.rb$}) { |m| "spec/#{m[1]}#{m[2]}_spec.rb" }
5 watch(%r{^spec/spec_helper\.rb$}) { 'spec' }
6 end
7
8 guard :rubocop do
9 watch(%r{.+\.rb$})
10 watch(%r{(?:.+/)?\.rubocop\.yml$}) { |m| File.dirname(m[0]) }
11 end
bf61028 Yann Lugrin initial commit with basic documentation, gemspec and lib files
yannlugrin authored
12 end
Something went wrong with that request. Please try again.