export-pull-requests 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/Changes +5 -0
- data/README.md +3 -1
- data/bin/epr +7 -7
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 1d97b2bc9bdd7af36dbdedfbf88790086f34fc2f
|
4
|
+
data.tar.gz: cd10591a4ca3335bbde2c326593daf2add5e256e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 602ab846c160677ce24b0ace2112aa224c3b56f841b6ef55bdf0bc28facd0ab908dfe2a1e6b336830135db07300096c8f7ae22a3eaad7f677e1efb6bcb573fe9
|
7
|
+
data.tar.gz: 919eee85dda2996ac15db4b069342a669c740ff593d1a40f1d40e7953b36018c761af0a9438bd123db7eebb9e4fd7f19615ba5ad4e2409a8b27c7293445d51c9
|
data/Changes
CHANGED
data/README.md
CHANGED
@@ -71,7 +71,9 @@ To connect to a custom/"Enterprise" installation of any of the supported service
|
|
71
71
|
### Bitbucket
|
72
72
|
|
73
73
|
You can use [app passwords](https://confluence.atlassian.com/bitbucket/app-passwords-828781300.html) for the API token.
|
74
|
-
Just provide your token
|
74
|
+
Just provide your token info in `bitbucket_username:app_password` format:
|
75
|
+
|
76
|
+
epr -p bitbucket -t bitbucket_username:app_password user/repo1
|
75
77
|
|
76
78
|
### GitLab
|
77
79
|
|
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.2"
|
13
13
|
SERVICES = %w[github gitlab bitbucket]
|
14
14
|
GIT_CONFIGS = %w[epr.token github.oauth-token]
|
15
15
|
|
@@ -138,12 +138,12 @@ def github(user, repo)
|
|
138
138
|
options[:endpoint] = $endpoint if $endpoint
|
139
139
|
|
140
140
|
$gh ||= Github.new(options)
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
141
|
+
|
142
|
+
options = { :user => user, :repo => repo, :state => $filter, :labels => $labels }
|
143
|
+
options[:milestone] = $milestone if $milestone
|
144
|
+
options[:assignee] = $assignee if $assignee
|
145
|
+
|
146
|
+
$gh.public_send(method).list(options).each_page do |page|
|
147
147
|
|
148
148
|
next if page.size.zero? # Needed for auto_pagination
|
149
149
|
|
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.2
|
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-02-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: github_api
|
@@ -99,7 +99,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
99
99
|
version: '0'
|
100
100
|
requirements: []
|
101
101
|
rubyforge_project:
|
102
|
-
rubygems_version: 2.
|
102
|
+
rubygems_version: 2.6.14
|
103
103
|
signing_key:
|
104
104
|
specification_version: 4
|
105
105
|
summary: Export pull requests and issues to a CSV file.
|