cortex-client 0.10.2 → 0.10.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +1 -0
- data/cortex-client.gemspec +2 -2
- data/lib/cortex/connection.rb +1 -1
- data/lib/cortex/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 02ce9a4a7b1352fd5c0a2a66bdeaa8cc2fec7661
|
4
|
+
data.tar.gz: e95ef00dfbff438ac6e61c92a9bef6fd43e53502
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 994d49e69dede85cbc35df5694a050e5d0cea73dbb02f363708663d9e5fbcda5819bc6fb2320d532b5935d57b7a75dd54404c86e4810c02850c32617a63f4e99
|
7
|
+
data.tar.gz: 2a1bba306114cbb29ac081beb4a9552b1f0caf7af030df2555abcb99165948bf45e20db435382423c21982eaee99c57b2e909ead0ae882a7e7a3885c6fd4859d
|
data/CHANGELOG.md
CHANGED
@@ -3,6 +3,7 @@ Version History
|
|
3
3
|
* All Version bumps are required to update this file as well!
|
4
4
|
----
|
5
5
|
|
6
|
+
* 0.10.3 - Stop warnings from FaradayMiddleware and Hashie::Mash
|
6
7
|
* 0.10.2 - Add all_posts function to posts class to retrieve all articles.
|
7
8
|
* 0.10.0:
|
8
9
|
* Utilize `Addressable::URI` as Faraday's default URI parser so that resourceful URI fragments are escaped and parsed properly
|
data/cortex-client.gemspec
CHANGED
@@ -19,10 +19,10 @@ Gem::Specification.new do |s|
|
|
19
19
|
s.add_development_dependency 'mocha', '~> 1.2'
|
20
20
|
s.add_development_dependency 'webmock', '~> 2.3'
|
21
21
|
|
22
|
-
s.add_dependency 'oauth2', '~> 1.
|
22
|
+
s.add_dependency 'oauth2', '~> 1.3'
|
23
23
|
s.add_dependency 'faraday', '~> 0.9'
|
24
24
|
s.add_dependency 'faraday_middleware', '~> 0.10'
|
25
25
|
s.add_dependency 'addressable', '~> 2.5'
|
26
|
-
s.add_dependency 'hashie', '~> 3.
|
26
|
+
s.add_dependency 'hashie', '~> 3.5'
|
27
27
|
s.add_dependency 'cortex-exceptions', '~> 0.0.4'
|
28
28
|
end
|
data/lib/cortex/connection.rb
CHANGED
@@ -23,7 +23,7 @@ module Cortex
|
|
23
23
|
Faraday.new options do |conn|
|
24
24
|
## Request middleware first:
|
25
25
|
conn.use Cortex::FaradayMiddleware::NormalizeURIPath
|
26
|
-
conn.request :oauth2, access_token.is_a?(OAuth2::AccessToken) ? access_token.token : access_token
|
26
|
+
conn.request :oauth2, access_token.is_a?(OAuth2::AccessToken) ? access_token.token : access_token, token_type: 'param'
|
27
27
|
conn.request :json
|
28
28
|
|
29
29
|
## Response middleware second:
|
data/lib/cortex/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cortex-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.10.
|
4
|
+
version: 0.10.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- CareerBuilder Employer Site & Content Products
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-06-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -72,14 +72,14 @@ dependencies:
|
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: '1.
|
75
|
+
version: '1.3'
|
76
76
|
type: :runtime
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: '1.
|
82
|
+
version: '1.3'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: faraday
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -128,14 +128,14 @@ dependencies:
|
|
128
128
|
requirements:
|
129
129
|
- - "~>"
|
130
130
|
- !ruby/object:Gem::Version
|
131
|
-
version: '3.
|
131
|
+
version: '3.5'
|
132
132
|
type: :runtime
|
133
133
|
prerelease: false
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
136
|
- - "~>"
|
137
137
|
- !ruby/object:Gem::Version
|
138
|
-
version: '3.
|
138
|
+
version: '3.5'
|
139
139
|
- !ruby/object:Gem::Dependency
|
140
140
|
name: cortex-exceptions
|
141
141
|
requirement: !ruby/object:Gem::Requirement
|