export-pull-requests 0.3.2 → 0.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Changes +6 -1
- data/bin/epr +4 -2
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f3ef7be95a92abf1ffcd0eac471f5a3d5251fbe3
|
|
4
|
+
data.tar.gz: 99bba99a08631b69bc8174b83bea1e250eeae28e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 356deeb4db67174cbad7b8b9d3e88a51d004bf6ba10467b26e407478914832da6944060d8a5e0d9a7e67b75622e8c388f22764696418af1d9f5a779001ffcc97
|
|
7
|
+
data.tar.gz: 6780a66037eb01f5ce5de3fa9b62a0eb9e3228fb2fd41a8ab2864aa268d8063e87c6ffc029d267ca09ab4292f34a3f224d5a75d6eb46870694a5a7dfda107850
|
data/Changes
CHANGED
data/bin/epr
CHANGED
|
@@ -9,7 +9,7 @@ require "github_api"
|
|
|
9
9
|
require "gitlab"
|
|
10
10
|
require "bitbucket_rest_api"
|
|
11
11
|
|
|
12
|
-
VERSION = "0.3.
|
|
12
|
+
VERSION = "0.3.3"
|
|
13
13
|
SERVICES = %w[github gitlab bitbucket]
|
|
14
14
|
GIT_CONFIGS = %w[epr.token github.oauth-token]
|
|
15
15
|
|
|
@@ -154,7 +154,9 @@ def github(user, repo)
|
|
|
154
154
|
|
|
155
155
|
rows << [
|
|
156
156
|
"#{user}/#{repo}",
|
|
157
|
-
item.pull_request
|
|
157
|
+
# If we're only retrieving PRs then item.pull_request will be nil
|
|
158
|
+
# It's only populated when retrieving both (issues method).
|
|
159
|
+
item.pull_request || method == :pull_requests ? TYPE_PR : TYPE_ISSUE,
|
|
158
160
|
item.number,
|
|
159
161
|
item.user.login,
|
|
160
162
|
item.title,
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: export-pull-requests
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Skye Shaw
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-
|
|
11
|
+
date: 2019-05-01 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: github_api
|