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
2368fa3f
Commit
2368fa3f
authored
May 14, 2016
by
Samuel Giddins
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #5227 from CocoaPods/seg-danger-no-merges
[Danger] Fail if there are merges from upstream in the PR
parents
1c126b89
6b872563
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
4 deletions
+8
-4
Dangerfile
Dangerfile
+4
-0
Gemfile.lock
Gemfile.lock
+3
-3
integration.rb
spec/integration.rb
+1
-1
No files found.
Dangerfile
View file @
2368fa3f
...
@@ -8,3 +8,7 @@
...
@@ -8,3 +8,7 @@
fail("`fdescribe` left in tests (#{file})") if contents =~ /^\w*fdescribe/
fail("`fdescribe` left in tests (#{file})") if contents =~ /^\w*fdescribe/
end
end
end
end
if commits.any? { |c| c.message =~ /^Merge branch '#{branch_for_merge}'/ }
fail("Please rebase to get rid of the merge commits in this PR")
end
Gemfile.lock
View file @
2368fa3f
...
@@ -121,7 +121,7 @@ GEM
...
@@ -121,7 +121,7 @@ GEM
minitest (~> 5.1)
minitest (~> 5.1)
thread_safe (~> 0.3, >= 0.3.4)
thread_safe (~> 0.3, >= 0.3.4)
tzinfo (~> 1.1)
tzinfo (~> 1.1)
addressable (2.
3.6
)
addressable (2.
4.0
)
ast (2.2.0)
ast (2.2.0)
awesome_print (1.6.1)
awesome_print (1.6.1)
bacon (1.2.0)
bacon (1.2.0)
...
@@ -136,7 +136,7 @@ GEM
...
@@ -136,7 +136,7 @@ GEM
colored (1.2)
colored (1.2)
crack (0.4.2)
crack (0.4.2)
safe_yaml (~> 1.0.0)
safe_yaml (~> 1.0.0)
danger (0.7.
2
)
danger (0.7.
4
)
claide
claide
colored (~> 1.2)
colored (~> 1.2)
faraday
faraday
...
@@ -263,4 +263,4 @@ DEPENDENCIES
...
@@ -263,4 +263,4 @@ DEPENDENCIES
xcodeproj!
xcodeproj!
BUNDLED WITH
BUNDLED WITH
1.1
1.2
1.1
2.1
spec/integration.rb
View file @
2368fa3f
...
@@ -139,7 +139,7 @@ describe_cli 'pod' do
...
@@ -139,7 +139,7 @@ describe_cli 'pod' do
s
.
replace_pattern
/git checkout -b <new-branch-name>/
,
'git checkout -b new_branch_name'
s
.
replace_pattern
/git checkout -b <new-branch-name>/
,
'git checkout -b new_branch_name'
# git sometimes prints this, but not always ¯\_(ツ)_/¯
# git sometimes prints this, but not always ¯\_(ツ)_/¯
s
.
replace_pattern
/^\s*Checking out files.*done\.
[\n]?
/
,
''
s
.
replace_pattern
/^\s*Checking out files.*done\./
,
''
s
.
replace_path
%r{
s
.
replace_path
%r{
`[^`]*? # The opening backtick on a plugin path
`[^`]*? # The opening backtick on a plugin path
...
...
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