basecampeverest 0.1.2.6 → 0.1.2.7
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/lib/basecampeverest/connect.rb +2 -2
- 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: 5b0834700adf46fbbaa454c576d1db507325f2b0
|
|
4
|
+
data.tar.gz: 6a25510428a2366af931ee15a247529a9dc0adc3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
|
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 #{
|
|
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.
|
|
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-
|
|
11
|
+
date: 2014-03-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: httparty
|