omniauth-nexaas_id 0.2.1 → 0.2.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0e7963ac636559f36b975678f743fd42a5e005d08b3cb48f9212cce998666e5a
4
- data.tar.gz: e6bc8df0e12727bd29a50e9d16367f1e9ba8ea3f1767365a7c189eb9c5caf1ea
3
+ metadata.gz: ffbdedfc4a67720237e75d81c45154740a9634fd7ae94bf3cd14c8f1f4b7405b
4
+ data.tar.gz: dd340a7b4b4bf2b3e8a649a7e8e1570f868a05d937a8942df30e7b8a138efce9
5
5
  SHA512:
6
- metadata.gz: b88a670531b9e5fa3869dc4741165d80b2006b9d8f82146f6d8ff0caa129efa5b9657ae6b4b77d98a8e0029fc1864c79702c6c9d547f66e1db4358b39fb54e4d
7
- data.tar.gz: 9ff99afb7f9dca9443d4d2cac2347b275f1671ad1171e84020f67699d322fd67309697cb2bd1b178040c699f90ae2389925933027a0e5defdd7334aa34fdede9
6
+ metadata.gz: 8ebed646694821ceaafb0218bb4bc833daeacdc341afa17ffac8c5f3a095eb9a96431c6ba110ee82931f51129a1745fe5a29db5c6204c9b26128a0bfa820af44
7
+ data.tar.gz: ea5f2769c4ebf38ab7ec568e0a4934ee29295bafa3c2b710a1556947f5f3e48b77e9546ad375ac5e9cbb8164a65bec6b8fc2cea6afebfa09df9411000ab89845
@@ -77,7 +77,7 @@ module OmniAuth
77
77
  def retrieve_emails(id)
78
78
  return unless list_emails? # guard: access endpoint only if allowed
79
79
  emails = access_token.get('/api/v1/profile/emails').parsed
80
- got = email['id']
80
+ got = emails['id']
81
81
  raise "unexpected id #{got} retrieving e-mails for #{id}" unless got == id
82
82
  emails['emails']
83
83
 
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = "omniauth-nexaas_id"
7
- spec.version = "0.2.1"
7
+ spec.version = "0.2.2"
8
8
  spec.authors = ["Rodrigo Tassinari de Oliveira", "Luiz Carlos Buiatte"]
9
9
  spec.email = ["rodrigo@pittlandia.net", "luiz.buiatte@nexaas.com"]
10
10
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-nexaas_id
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rodrigo Tassinari de Oliveira