summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorytti <saku@ytti.fi>2018-04-25 18:04:40 +0300
committerGitHub <noreply@github.com>2018-04-25 18:04:40 +0300
commitcc22060553df70db059bd6f4273f2ec391060f52 (patch)
treeb1f53cd584883df15ce4e6d0ff185662c91db73b
parent8afffb852b55dfa74f2e694e5c27d9db4cc34373 (diff)
parent57348a626811688eb014d97d5aa401a10b3898bd (diff)
Merge pull request #1306 from wk/minor-fixups
move hook tests into own directory and regen rubocop todo
-rw-r--r--.rubocop_todo.yml10
-rw-r--r--spec/hook/githubrepo_spec.rb (renamed from spec/githubrepo_spec.rb)0
2 files changed, 5 insertions, 5 deletions
diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml
index b4c59f2..db70e00 100644
--- a/.rubocop_todo.yml
+++ b/.rubocop_todo.yml
@@ -1,6 +1,6 @@
# This configuration was generated by
# `rubocop --auto-gen-config`
-# on 2018-04-21 13:24:05 +0200 using RuboCop version 0.55.0.
+# on 2018-04-25 15:40:14 +0200 using RuboCop version 0.55.0.
# The point is for the user to remove these configuration records
# one by one as the offenses are removed from the code base.
# Note that changes in the inspected code, or installation of new
@@ -354,7 +354,7 @@ Style/EmptyMethod:
Exclude:
- 'lib/oxidized/hook.rb'
-# Offense count: 2
+# Offense count: 1
# Cop supports --auto-correct.
Style/ExpandPathArguments:
Exclude:
@@ -405,7 +405,7 @@ Style/IfInsideElse:
Exclude:
- 'lib/oxidized/output/file.rb'
-# Offense count: 38
+# Offense count: 39
# Cop supports --auto-correct.
Style/IfUnlessModifier:
Enabled: false
@@ -526,7 +526,7 @@ Style/ParenthesesAroundCondition:
- 'lib/oxidized/model/powerconnect.rb'
- 'lib/oxidized/source/http.rb'
-# Offense count: 9
+# Offense count: 6
# Cop supports --auto-correct.
# Configuration parameters: PreferredDelimiters.
Style/PercentLiteralDelimiters:
@@ -733,7 +733,7 @@ Style/ZeroLengthPredicate:
- 'lib/oxidized/model/ciscosmb.rb'
- 'lib/oxidized/output/git.rb'
-# Offense count: 269
+# Offense count: 270
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
# URISchemes: http, https
Metrics/LineLength:
diff --git a/spec/githubrepo_spec.rb b/spec/hook/githubrepo_spec.rb
index 67c99f0..67c99f0 100644
--- a/spec/githubrepo_spec.rb
+++ b/spec/hook/githubrepo_spec.rb