pivotal-integration 1.6.0.3 → 1.6.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/pivotal-integration/util/git.rb +4 -4
- data/lib/pivotal_integration.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
N2RjNWU3ZWMzYzcyZmYzMGM0ZjEwMDg0NzBhZGQ0ZDMyMjcwMjIyMQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MWJkYTVmNDk3M2QxZGMyNTVlMGFhMWRjYjg3OTU2NzkzZTJmNDI5MQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NzQwMGMyMzk1NzE1NDM0ZTMxMWRkYjUzOWJhMDlhNDQxMzhjNmVlNTZhZjQy
|
10
|
+
NzY3YzZiZjlkMDM4ODY1MmJiNDQ5MGUxZWJiYzk4N2MxYjIyZjZlYWE1YjEw
|
11
|
+
ZjY5ZjdkZGU2NTU1MmRlYmNhMWU4NWUzODhmNjhlZDU4OGYzNzI=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MjI1YmY4YzE4OGRiNzRiYzNkYWU0NTViMWJhNTQ3YzQ2YWE0MjAyYjNmNDlk
|
14
|
+
NzViMzc4MzQxNWU3YzkzMzQ2MmE0Yjg5NWMxNTk0YWZjMTk0ODJiODBkODYy
|
15
|
+
ZGYwNWQ2OTY2ZjliZTliNWFmYjEyODFkYmQ3OTM1MDFmNDIxZmQ=
|
@@ -175,17 +175,17 @@ class PivotalIntegration::Util::Git
|
|
175
175
|
case get_config_with_default('pivotal.pull-request-editor', :web).to_sym
|
176
176
|
when :web
|
177
177
|
# Open the PR editor in a web browser
|
178
|
-
repo = get_config('remote.
|
178
|
+
repo = get_config('remote.upstream.url')[/(?<=git@github.com:)[a-z0-9_-]+\/[a-z0-9_-]+/]
|
179
179
|
title = CGI::escape("[##{story.id}] #{story.name}")
|
180
180
|
|
181
|
+
origin = get_config('remote.origin.url')[/(?<=git@github.com:)[a-z0-9_-]+/]
|
181
182
|
url = "https://github.com/#{repo}/compare/"
|
182
183
|
|
183
184
|
if to_branch
|
184
|
-
|
185
|
-
url << "#{upstream}:#{to_branch}..."
|
185
|
+
url << "#{to_branch}..."
|
186
186
|
end
|
187
187
|
|
188
|
-
url << "#{branch_name}?expand=1&pull_request[title]=#{title}"
|
188
|
+
url << "#{origin}:#{branch_name}?expand=1&pull_request[title]=#{title}"
|
189
189
|
Launchy.open url
|
190
190
|
|
191
191
|
else
|
data/lib/pivotal_integration.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pivotal-integration
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.6.0.
|
4
|
+
version: 1.6.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ben Hale
|
@@ -9,12 +9,12 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2015-03-10 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
type: :runtime
|
16
16
|
prerelease: false
|
17
|
-
name:
|
17
|
+
name: activesupport
|
18
18
|
requirement: !ruby/object:Gem::Requirement
|
19
19
|
requirements:
|
20
20
|
- - ! '>='
|