gitcycle 0.2.24 → 0.2.25
Sign up to get free protection for your applications and to get access to all the features.
- data/features/push.feature +0 -1
- data/features/qa.feature +0 -2
- data/features/ready.feature +0 -4
- data/gitcycle.gemspec +1 -1
- data/lib/gitcycle.rb +4 -3
- metadata +2 -2
data/features/push.feature
CHANGED
@@ -15,7 +15,6 @@ Scenario: Collaborator
|
|
15
15
|
Then output includes
|
16
16
|
"""
|
17
17
|
Retrieving branch information from gitcycle.
|
18
|
-
Adding remote repo 'config.owner/config.repo'.
|
19
18
|
Fetching remote 'config.owner'.
|
20
19
|
Merging remote branch 'master-ticket.id' from 'config.owner/config.repo'.
|
21
20
|
Pushing branch 'config.owner/master-ticket.id'.
|
data/features/qa.feature
CHANGED
@@ -62,7 +62,6 @@ Scenario: QA issue pass w/ issue number
|
|
62
62
|
Pushing branch 'qa_master_config.user'.
|
63
63
|
Retrieving branch information from gitcycle.
|
64
64
|
Checking out branch 'master'.
|
65
|
-
Adding remote repo 'config.owner/config.repo'.
|
66
65
|
Fetching remote 'config.owner'.
|
67
66
|
Merging remote branch 'qa_master_config.user' from 'config.owner/config.repo'.
|
68
67
|
Pushing branch 'master'.
|
@@ -78,7 +77,6 @@ Scenario: QA issue pass
|
|
78
77
|
"""
|
79
78
|
Retrieving branch information from gitcycle.
|
80
79
|
Checking out branch 'master'.
|
81
|
-
Adding remote repo 'config.owner/config.repo'.
|
82
80
|
Fetching remote 'config.owner'.
|
83
81
|
Merging remote branch 'qa_master_config.user' from 'config.owner/config.repo'.
|
84
82
|
Pushing branch 'master'.
|
data/features/ready.feature
CHANGED
@@ -12,7 +12,6 @@ Scenario: Ready issue
|
|
12
12
|
Then output includes
|
13
13
|
"""
|
14
14
|
Retrieving branch information from gitcycle.
|
15
|
-
Adding remote repo 'config.owner/config.repo'.
|
16
15
|
Fetching remote 'config.owner'.
|
17
16
|
Merging remote branch 'master' from 'config.owner/config.repo'.
|
18
17
|
Adding remote repo 'config.user/config.repo'.
|
@@ -48,10 +47,8 @@ Scenario: Reopen pull request
|
|
48
47
|
Then output includes
|
49
48
|
"""
|
50
49
|
Retrieving branch information from gitcycle.
|
51
|
-
Adding remote repo 'config.owner/config.repo'.
|
52
50
|
Fetching remote 'config.owner'.
|
53
51
|
Merging remote branch 'master' from 'config.owner/config.repo'.
|
54
|
-
Adding remote repo 'config.user/config.repo'.
|
55
52
|
Fetching remote 'config.user'.
|
56
53
|
Merging remote branch 'master-ticket.id' from 'config.user/config.repo'.
|
57
54
|
Creating GitHub pull request.
|
@@ -79,7 +76,6 @@ Scenario: Collaborator
|
|
79
76
|
Then output includes
|
80
77
|
"""
|
81
78
|
Retrieving branch information from gitcycle.
|
82
|
-
Adding remote repo 'config.owner/config.repo'.
|
83
79
|
Fetching remote 'config.owner'.
|
84
80
|
Merging remote branch 'some_branch' from 'config.owner/gitcycle_test'.
|
85
81
|
Pushing branch 'config.owner/some_branch'.
|
data/gitcycle.gemspec
CHANGED
data/lib/gitcycle.rb
CHANGED
@@ -536,9 +536,10 @@ class Gitcycle
|
|
536
536
|
unless $remotes[owner]
|
537
537
|
$remotes[owner] = true
|
538
538
|
|
539
|
-
|
540
|
-
|
541
|
-
|
539
|
+
unless remotes(:match => owner)
|
540
|
+
puts "Adding remote repo '#{owner}/#{repo}'.\n".green
|
541
|
+
run("git remote add #{owner} git@github.com:#{owner}/#{repo}.git")
|
542
|
+
end
|
542
543
|
|
543
544
|
puts "Fetching remote '#{owner}'.\n".green
|
544
545
|
run("git fetch -q #{owner}")
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gitcycle
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.25
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-10-
|
12
|
+
date: 2012-10-04 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: cucumber
|