Skip to content

Commit 5a8eefb

Browse files
author
Jason Fox
committedNov 13, 2013
installed and configured guard and rubo cop
1 parent 0fe4495 commit 5a8eefb

File tree

4 files changed

+79
-0
lines changed

4 files changed

+79
-0
lines changed
 

‎.rubocop.yml

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
LineLength:
2+
Enabled: false
3+
4+
MethodLength:
5+
Max: 30
6+
7+
SymbolName:
8+
AllowCamelCase: false
9+
10+
Documentation:
11+
Enabled: false
12+
13+
AllCops:
14+
Includes:
15+
- Rakefile
16+
- Gemfile
17+
- config.ru
18+
Excludes:
19+
- lib/public/**
20+
- build/**

‎Gemfile

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Encoding: utf-8
2+
3+
source 'https://rubygems.org'
4+
ruby '2.0.0'
5+
6+
group :development do
7+
gem 'rubocop'
8+
gem 'guard-rubocop'
9+
end

‎Gemfile.lock

+43
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,50 @@
11
GEM
2+
remote: https://rubygems.org/
23
specs:
4+
ast (1.1.0)
5+
celluloid (0.15.2)
6+
timers (~> 1.1.0)
7+
coderay (1.1.0)
8+
ffi (1.9.3)
9+
formatador (0.2.4)
10+
guard (2.2.3)
11+
formatador (>= 0.2.4)
12+
listen (~> 2.1)
13+
lumberjack (~> 1.0)
14+
pry (>= 0.9.12)
15+
thor (>= 0.18.1)
16+
guard-rubocop (1.0.0)
17+
guard (~> 2.0)
18+
rubocop (~> 0.10)
19+
listen (2.2.0)
20+
celluloid (>= 0.15.2)
21+
rb-fsevent (>= 0.9.3)
22+
rb-inotify (>= 0.9)
23+
lumberjack (1.0.4)
24+
method_source (0.8.2)
25+
parser (2.0.0)
26+
ast (~> 1.1)
27+
slop (~> 3.4, >= 3.4.5)
28+
powerpack (0.0.9)
29+
pry (0.9.12.3)
30+
coderay (~> 1.0)
31+
method_source (~> 0.8)
32+
slop (~> 3.4)
33+
rainbow (1.1.4)
34+
rb-fsevent (0.9.3)
35+
rb-inotify (0.9.2)
36+
ffi (>= 0.5.0)
37+
rubocop (0.15.0)
38+
parser (~> 2.0)
39+
powerpack (~> 0.0.6)
40+
rainbow (>= 1.1.4)
41+
slop (3.4.6)
42+
thor (0.18.1)
43+
timers (1.1.0)
344

445
PLATFORMS
546
ruby
647

748
DEPENDENCIES
49+
guard-rubocop
50+
rubocop

‎Guardfile

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
guard :rubocop, all_on_start: false do
2+
watch(%r{^spec/.+\.rb$})
3+
watch(%r{^lib/.+\.rb$})
4+
watch(%r{^.+\.(rb|ru)$})
5+
watch 'Gemfile'
6+
watch 'Rakefile'
7+
end

0 commit comments

Comments
 (0)