Skip to content

Commit

Permalink
Merge pull request #7 from Sage/GH-6_Resolve_conflict_with_omniauth-jwt
Browse files Browse the repository at this point in the history
GH-6: Resolve conflict with omniauth-jwt
  • Loading branch information
Christoph Petschnig authored Mar 26, 2020
2 parents 38cd4ed + 2c15aad commit 9881dbc
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 5 deletions.
6 changes: 5 additions & 1 deletion RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# v0.1.0 (to be released)
# v0.1.1 (2020-03-26)

* [GH-6](https://github.com/Sage/omniauth-cognito-idp/issues/6): Resolve conflict with omniauth-jwt

# v0.1.0 (2018-05-17)

Initial Release with basic features.
2 changes: 1 addition & 1 deletion lib/omniauth-cognito-idp/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module OmniAuthCognitoIdP
VERSION = '0.1.0'
VERSION = '0.1.1'
end
2 changes: 1 addition & 1 deletion lib/omniauth/strategies/cognito_idp.rb
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def id_token
def parsed_id_token
return nil unless id_token

@parsed_id_token ||= JWT.decode(
@parsed_id_token ||= ::JWT.decode(
id_token,
nil,
false,
Expand Down
2 changes: 1 addition & 1 deletion omniauth-cognito-idp.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Gem::Specification.new do |s|

s.add_development_dependency 'aws-sdk-cognitoidentityprovider'
s.add_development_dependency 'bundler'
s.add_development_dependency 'pry-byebug'
s.add_development_dependency 'pry'
s.add_development_dependency 'rake'
s.add_development_dependency 'rspec'
s.add_development_dependency 'simplecov'
Expand Down
2 changes: 1 addition & 1 deletion spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
add_filter 'lib/omniauth-cognito-idp/version'
end
#
require 'pry-byebug'
require 'pry'
require 'omniauth-cognito-idp'

Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
Expand Down

0 comments on commit 9881dbc

Please sign in to comment.