Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
C
cocoapods
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gengmeiios
cocoapods
Commits
adca7097
Commit
adca7097
authored
Apr 17, 2016
by
Orta Therox
Committed by
Samuel Giddins
Apr 18, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add support for rubocop with the Dangerfile
parent
63133d29
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
4 deletions
+10
-4
.rubocop.yml
.rubocop.yml
+6
-0
.travis.yml
.travis.yml
+2
-2
Dangerfile
Dangerfile
+2
-2
No files found.
.rubocop.yml
View file @
adca7097
...
@@ -8,6 +8,8 @@ ParameterLists:
...
@@ -8,6 +8,8 @@ ParameterLists:
CountKeywordArgs
:
false
CountKeywordArgs
:
false
AllCops
:
AllCops
:
Include
:
-
Dangerfile
Exclude
:
Exclude
:
-
spec/fixtures/**/*.rb
-
spec/fixtures/**/*.rb
-
spec/fixtures/banana-lib/libPusher/Scripts/pusher
-
spec/fixtures/banana-lib/libPusher/Scripts/pusher
...
@@ -16,3 +18,7 @@ Style/FileName:
...
@@ -16,3 +18,7 @@ Style/FileName:
Exclude
:
Exclude
:
-
bin/*
-
bin/*
-
Rakefile
-
Rakefile
Style/SignalException
:
Exclude
:
-
Dangerfile
.travis.yml
View file @
adca7097
...
@@ -27,8 +27,8 @@ before_script:
...
@@ -27,8 +27,8 @@ before_script:
-
bundle exec pod repo update --silent
-
bundle exec pod repo update --silent
script
:
script
:
bundle exec rake
-
bundle exec rake
bundle exec danger
-
bundle exec danger
addons
:
addons
:
code_climate
:
code_climate
:
...
...
Dangerfile
View file @
adca7097
# Don't let testing shortcuts get into master by accident
# Don't let testing shortcuts get into master by accident
fail(
"fdescribe left in tests"
) if `grep -r fdescribe spec/`.length > 1
fail(
'fdescribe left in tests'
) if `grep -r fdescribe spec/`.length > 1
fail(
"fit left in tests"
) if `grep -r "fit spec/ `.length > 1
fail(
'fit left in tests'
) if `grep -r "fit spec/ `.length > 1
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment