omniauth-campus 0.3.2 → 0.3.3

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
  SHA1:
3
- metadata.gz: 22ad0f4e89723db0b003431a425c0db97143d2f6
4
- data.tar.gz: 3579d81b9747a593dfa737ea15f2555ba173b51e
3
+ metadata.gz: 338137a795ca410b727b06b0fdd0782c31481fa2
4
+ data.tar.gz: 87c268ad388f880a1ebb3ba1d8bc720614c21c86
5
5
  SHA512:
6
- metadata.gz: 9177866bdc51ffd81de34f81ac894280afc4bad1eca2598d89f11ab5b75673f2cd404dd51ed53bac29157e6f3f6c6f8df46f0d227d3e1f618bee8b50e725e340
7
- data.tar.gz: 1420918512b660dbb71c911eaff936c0e16a6365c0fcf2ab80ffc5bf58f8f315b5b509c9f534215fa27e2b6a95064bad970c0e4c9f638868ed6476576718176b
6
+ metadata.gz: 08c70a9a83c833c0134fbd71d5b172a8653e5fadc7d207d7bd7b6a0bbe9cf5c1084154e61fa3e8e7dd0260d09084a352029efe0adeb114fe2404f38837b53b56
7
+ data.tar.gz: 2074671b9c06730a383a6a810ad95b68f327352a80b354952226cf98f0c7f129a7de56a47ba16f227c39a7418f87bfe1bb1436f7802d23e1f838013a65346af1
Binary file
@@ -70,7 +70,7 @@ module OmniAuth
70
70
 
71
71
  def authentication_response
72
72
  unless @authentication_response
73
- return unless raw_info['name'] && raw_info['email']
73
+ return unless request['name'] && request['email']
74
74
 
75
75
  uri = URI(api_uri)
76
76
  http = Net::HTTP.new(uri.host, uri.port)
@@ -78,7 +78,7 @@ module OmniAuth
78
78
  http.verify_mode = OpenSSL::SSL::VERIFY_PEER
79
79
 
80
80
  req = Net::HTTP::Get.new(uri.request_uri)
81
- req.basic_auth raw_info['name'], raw_info['email']
81
+ req.basic_auth request['name'], request['email']
82
82
  @authentication_response = http.request(req)
83
83
  end
84
84
 
Binary file
@@ -1,6 +1,6 @@
1
1
  module Omniauth
2
2
  module Campus
3
- VERSION = "0.3.2"
3
+ VERSION = "0.3.3"
4
4
  end
5
5
  end
6
6
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-campus
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - johnvehr