gh 0.12.1 → 0.12.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2517df4f03a6ef34d397b40196454b49d1e043c5
4
- data.tar.gz: 53452297cb9f73175890aed21b7e06b28f5cf851
3
+ metadata.gz: 17c62259f2ff6776d135b5079091dee7976a24e5
4
+ data.tar.gz: 7cd1b53054db693b769fa6e82efd4503125a8ea1
5
5
  SHA512:
6
- metadata.gz: 0adf5c9f3ebf7b7cf93e3c7acb071d0944f99dfccea15399a4849591660789be1b5f8294af825bd97551f755f1701bc98563ba1e7845c72724c5238445a05318
7
- data.tar.gz: 23041635dd030d364874e57c3eba40e50737d471bd34d7042ba88b0eb559ee8906c1d38e76f89e00eebaae1d69e29fc539ea5e2c71233e39678b2fbf42edcde0
6
+ metadata.gz: c051a03e105602daee90fef644b4e9a88a9ba71f5482676670615530c553b4f4706da8fbe89975d07fa8b3219d1aeb21772089e69c5ea5d056781847e6361d06
7
+ data.tar.gz: 27d56e64807726a167d68985709d4b880b9a9adfe44b608f1e9ec33b1dc55f6f41b71d9881565d83b679c4e2a98f344a1ea26718b816706c96f9d8704c345149
@@ -18,7 +18,7 @@ module GH
18
18
  @check_token = false
19
19
 
20
20
  auth_header = "Basic %s" % Base64.encode64("#{client_id}:#{client_secret}").gsub("\n", "")
21
- http :head, "/applications/#{client_id}/tokens/#{token}?client_id=#{client_id}&client_secret=#{client_secret}", "Authorization" => auth_header
21
+ http :head, path_for("/applications/#{client_id}/tokens/#{token}?client_id=#{client_id}&client_secret=#{client_secret}"), "Authorization" => auth_header
22
22
  rescue GH::Error(:response_status => 404) => error
23
23
  raise GH::TokenInvalid, error
24
24
  end
data/lib/gh/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  module GH
2
2
  # Public: Library version.
3
- VERSION = "0.12.1"
3
+ VERSION = "0.12.2"
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gh
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.1
4
+ version: 0.12.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Konstantin Haase
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-09-02 00:00:00.000000000 Z
11
+ date: 2013-09-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec