Skip to content

Commit db93bd6

Browse files
committed
Merge branch 'develop' into content-items
2 parents d09eca2 + 4dca54b commit db93bd6

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@
33
.ruby-version
44
Gemfile.lock
55
*.gem
6+
.ruby-version

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ Version History
33
* All Version bumps are required to update this file as well!
44
----
55

6+
* 0.10.3 - Stop warnings from FaradayMiddleware and Hashie::Mash
67
* 0.10.2 - Add all_posts function to posts class to retrieve all articles.
78
* 0.10.0:
89
* Utilize `Addressable::URI` as Faraday's default URI parser so that resourceful URI fragments are escaped and parsed properly

cortex-client.gemspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ Gem::Specification.new do |s|
1919
s.add_development_dependency 'mocha', '~> 1.2'
2020
s.add_development_dependency 'webmock', '~> 2.3'
2121

22-
s.add_dependency 'oauth2', '~> 1.1'
22+
s.add_dependency 'oauth2', '~> 1.3'
2323
s.add_dependency 'faraday', '~> 0.9'
2424
s.add_dependency 'faraday_middleware', '~> 0.10'
2525
s.add_dependency 'addressable', '~> 2.5'
26-
s.add_dependency 'hashie', '~> 3.4'
26+
s.add_dependency 'hashie', '~> 3.5'
2727
s.add_dependency 'cortex-exceptions', '~> 0.0.4'
2828
end

lib/cortex/connection.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def connection
2323
Faraday.new options do |conn|
2424
## Request middleware first:
2525
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'
2727
conn.request :json
2828

2929
## Response middleware second:

0 commit comments

Comments
 (0)