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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9d7111c47b15277f9860b27044e33332e6a8162a
4
- data.tar.gz: fa8f50c02dd163682a844253bd7c4789a89921be
3
+ metadata.gz: 486720d76822cabfd9d71eb93977b18e2a6ea0c8
4
+ data.tar.gz: 55a67b025d4d859ac6a434c52bd16b3d4bd34174
5
5
  SHA512:
6
- metadata.gz: 275345f94b66568224246b195a5d05be44754b6c1c5ee9801315ee4d6202da5cd3e149454782a7f72d7c831ccbf552b53d9d4755b0b085efdbc182246f7e5eac
7
- data.tar.gz: edeb57bf4ce697f24ff79131bbeb421168fdae2ea9ae8129e524f9d8fc0799bd44480988c0288b8be4bb0ffb518abd77cde8371631863c01e3e1fc6d82820cdf
6
+ metadata.gz: 0749fa08b16ef63f48340a4e5427b08f5db757077da7fc579816db50026878f365c5d1a8113c474d18947d9c8750a0099665e79da5f9f8c517e0fef55305b191
7
+ data.tar.gz: afd4eede2334ee89850ae8ae8b16ae95726dec256a1fb3f2c124bd3c13f626be7570cc521b03fce1ac189781dc12976bab3b0873f845a7e0158b78ae5ecea46b
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ # 0.0.3 (2014-03-10)
2
+
3
+ * Use the right options to Auth to Github v3 API (@johnf)
4
+
1
5
  # 0.0.2 (2013-02-22)
2
6
 
3
7
  * Add homepage and license to GEM spec (@johnf)
@@ -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 :login => options[:'gh-login'], :oauth_token => options[:'gh-token']
46
+ gh_client = Octokit::Client.new :access_token => options[:'gh-token']
47
47
 
48
48
  begin
49
- gh_user = gh_client.user options[:'gh-repo-user']
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
@@ -1,7 +1,7 @@
1
1
  module Github
2
2
  module Issue
3
3
  module Importer
4
- VERSION = '0.0.2'
4
+ VERSION = '0.0.3'
5
5
  end
6
6
  end
7
7
  end
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.2
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-02-21 00:00:00.000000000 Z
11
+ date: 2014-03-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: octokit