Skip to content

Commit 7197900

Browse files
committed
Add standardrb and ci step for this
1 parent 0b8a5ef commit 7197900

File tree

3 files changed

+40
-9
lines changed

3 files changed

+40
-9
lines changed

.circleci/config.yml

+9-9
Original file line numberDiff line numberDiff line change
@@ -57,15 +57,15 @@ jobs:
5757
- run:
5858
name: Run Tests
5959
command: bundle exec rake test
60-
# - store_test_results:
61-
# name: Store test results
62-
# path: tmp/test-results
63-
# - run:
64-
# name: Run Rubocop
65-
# command: bundle exec rake ci:rubocop
66-
# - store_artifacts:
67-
# name: Saves documentation
68-
# path: doc
60+
- store_test_results:
61+
name: Store test results
62+
path: tmp/test-results
63+
- run:
64+
name: Run StandardRB
65+
command: bundle exec rake standardrb --no-fix
66+
- store_artifacts:
67+
name: Saves documentation
68+
path: doc
6969
- persist_to_workspace:
7070
root: .
7171
paths:

Gemfile.lock

+29
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ GEM
6565
minitest (~> 5.1)
6666
tzinfo (~> 1.1)
6767
zeitwerk (~> 2.2, >= 2.2.2)
68+
ast (2.4.2)
6869
builder (3.2.4)
6970
coderay (1.1.3)
7071
concurrent-ruby (1.1.8)
@@ -92,6 +93,9 @@ GEM
9293
racc (~> 1.4)
9394
nokogiri (1.11.1-x86_64-linux)
9495
racc (~> 1.4)
96+
parallel (1.20.1)
97+
parser (3.0.0.0)
98+
ast (~> 2.4.1)
9599
pry (0.13.1)
96100
coderay (~> 1.1)
97101
method_source (~> 1.0)
@@ -125,7 +129,25 @@ GEM
125129
method_source
126130
rake (>= 0.8.7)
127131
thor (>= 0.20.3, < 2.0)
132+
rainbow (3.0.0)
128133
rake (13.0.3)
134+
regexp_parser (2.0.3)
135+
rexml (3.2.4)
136+
rubocop (1.8.1)
137+
parallel (~> 1.10)
138+
parser (>= 3.0.0.0)
139+
rainbow (>= 2.2.2, < 4.0)
140+
regexp_parser (>= 1.8, < 3.0)
141+
rexml
142+
rubocop-ast (>= 1.2.0, < 2.0)
143+
ruby-progressbar (~> 1.7)
144+
unicode-display_width (>= 1.4.0, < 3.0)
145+
rubocop-ast (1.4.1)
146+
parser (>= 2.7.1.5)
147+
rubocop-performance (1.9.2)
148+
rubocop (>= 0.90.0, < 2.0)
149+
rubocop-ast (>= 0.4.0)
150+
ruby-progressbar (1.11.0)
129151
sprockets (4.0.2)
130152
concurrent-ruby (~> 1.0)
131153
rack (> 1, < 3)
@@ -134,10 +156,16 @@ GEM
134156
activesupport (>= 4.0)
135157
sprockets (>= 3.0.0)
136158
sqlite3 (1.4.2)
159+
standard (0.12.0)
160+
rubocop (= 1.8.1)
161+
rubocop-performance (= 1.9.2)
162+
standardrb (1.0.0)
163+
standard
137164
thor (1.1.0)
138165
thread_safe (0.3.6)
139166
tzinfo (1.2.9)
140167
thread_safe (~> 0.1)
168+
unicode-display_width (2.0.0)
141169
websocket-driver (0.7.3)
142170
websocket-extensions (>= 0.1.0)
143171
websocket-extensions (0.1.5)
@@ -152,6 +180,7 @@ DEPENDENCIES
152180
rails
153181
rake-ui!
154182
sqlite3
183+
standardrb
155184

156185
BUNDLED WITH
157186
2.2.8

rake-ui.gemspec

+2
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,6 @@ Gem::Specification.new do |spec|
2020
spec.add_dependency "actionpack"
2121
spec.add_dependency "railties"
2222
spec.add_dependency "rake"
23+
24+
spec.add_development_dependency "standardrb"
2325
end

0 commit comments

Comments
 (0)