github-issue-importer 0.0.2 → 0.0.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/CHANGELOG.md +4 -0
- data/bin/github-issue-importer +2 -2
- data/lib/github-issue-importer/version.rb +1 -1
- 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: 486720d76822cabfd9d71eb93977b18e2a6ea0c8
|
|
4
|
+
data.tar.gz: 55a67b025d4d859ac6a434c52bd16b3d4bd34174
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0749fa08b16ef63f48340a4e5427b08f5db757077da7fc579816db50026878f365c5d1a8113c474d18947d9c8750a0099665e79da5f9f8c517e0fef55305b191
|
|
7
|
+
data.tar.gz: afd4eede2334ee89850ae8ae8b16ae95726dec256a1fb3f2c124bd3c13f626be7570cc521b03fce1ac189781dc12976bab3b0873f845a7e0158b78ae5ecea46b
|
data/CHANGELOG.md
CHANGED
data/bin/github-issue-importer
CHANGED
|
@@ -43,10 +43,10 @@ Trollop::die :'gh-repo', "Please specify a GitHub Repository" if options[:'gh-re
|
|
|
43
43
|
options[:'gh-repo-user'], options[:'gh-repo-name'] = options[:'gh-repo'].split('/')
|
|
44
44
|
Trollop::die :'gh-repo', "Please specify a valid GitHub Repository" if options[:'gh-repo-user'].nil? or options[:'gh-repo-name'].nil?
|
|
45
45
|
|
|
46
|
-
gh_client = Octokit::Client.new :
|
|
46
|
+
gh_client = Octokit::Client.new :access_token => options[:'gh-token']
|
|
47
47
|
|
|
48
48
|
begin
|
|
49
|
-
|
|
49
|
+
gh_client.user options[:'gh-repo-user']
|
|
50
50
|
rescue Octokit::Unauthorized, Octokit::Forbidden => e
|
|
51
51
|
$stderr.puts "Authorization failed: #{e}"
|
|
52
52
|
exit 1
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: github-issue-importer
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- John Ferlito
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-
|
|
11
|
+
date: 2014-03-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: octokit
|