basecampeverest 0.1.2.6 → 0.1.2.7

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: cd0cb31fd2aab4b67afe699d87775e5fea8a3364
4
- data.tar.gz: ca95351fd89befad125053be3e359f277f8ed01f
3
+ metadata.gz: 5b0834700adf46fbbaa454c576d1db507325f2b0
4
+ data.tar.gz: 6a25510428a2366af931ee15a247529a9dc0adc3
5
5
  SHA512:
6
- metadata.gz: b07638a54d490a8e0f1c0abcdb2658aa2a6747937a96c145c69f30a1ea72b92aaab70389b40dd43940c573b6367e88dc78b675270bdc238d2ad6a819779ca62f
7
- data.tar.gz: 432d289eef043a41935a6d975804608ba36fc0c427a184c2cb27da1e37af49cdf57e4df9a75fec8986fae651d270c2743e32cb2649fa0cda59ea158369e1a028
6
+ metadata.gz: 49164d07f6aba5a916135d2b2805b2f83d0bd5ce0b1baa69a6216306602e2b209959808ae014633e8b76175cbc5198df88ef811d578726bece5f6394fdabf97c
7
+ data.tar.gz: 233eacdf7e4d2e8075ad278fafe102a08abf19b4c86f02402bb2450e2b74af140c1f02573d88b9eca651a746db039432c8be47c5aa42bd6729fb76684217c9de
@@ -89,12 +89,12 @@ module Basecampeverest
89
89
  # nice and pretty now
90
90
  authorization = clensed_auth_hash
91
91
 
92
- if auth_hash.has_key? :access_token
92
+ if authorization.has_key? :access_token
93
93
  # clear the basic_auth, if it's set
94
94
  self.class.default_options.reject!{ |k| k == :basic_auth }
95
95
 
96
96
  # set the Authorization headers
97
- self.class.headers.merge!("Authorization" => "Bearer #{auth_hash[:access_token]}")
97
+ self.class.headers.merge!("Authorization" => "Bearer #{authorization[:access_token]}")
98
98
 
99
99
  elsif authorization.has_key?(:username) && authorization.has_key?(:password)
100
100
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: basecampeverest
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2.6
4
+ version: 0.1.2.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Gordon
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-03-12 00:00:00.000000000 Z
11
+ date: 2014-03-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty