omniauth-github 1.2.1 → 1.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
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2446e24843ed56f061f1ff020bf29f9d2c4c2ea4
|
|
4
|
+
data.tar.gz: 91cee0c45c6b919fae286f3e3ce062b04401193d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c71ba32fe6c9f5b451b22fc81a2087c6f7153804a12bd177d0d740e3738778de5bf2d4146dce22a5ab67e5ce5b7d0dba7a499091215513f1b6fa2c22023deecb
|
|
7
|
+
data.tar.gz: f620c886edc4671f5e4d695c5b80a956112f6bd05121e783a738fdb30db5edcedeb255817399e000b8e75af60e7c2ca6a20b59fcac1d5dfec40846a27c79a59f
|
|
@@ -135,6 +135,14 @@ describe OmniAuth::Strategies::GitHub do
|
|
|
135
135
|
end
|
|
136
136
|
end
|
|
137
137
|
|
|
138
|
+
context '#info.email' do
|
|
139
|
+
it 'should use any available email' do
|
|
140
|
+
allow(subject).to receive(:raw_info).and_return({})
|
|
141
|
+
allow(subject).to receive(:email).and_return('you@example.com')
|
|
142
|
+
expect(subject.info['email']).to eq('you@example.com')
|
|
143
|
+
end
|
|
144
|
+
end
|
|
145
|
+
|
|
138
146
|
context '#info.urls' do
|
|
139
147
|
it 'should use html_url from raw_info' do
|
|
140
148
|
allow(subject).to receive(:raw_info).and_return({ 'login' => 'me', 'html_url' => 'http://enterprise/me' })
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: omniauth-github
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.2.
|
|
4
|
+
version: 1.2.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Michael Bleigh
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-02-
|
|
11
|
+
date: 2017-02-12 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: omniauth
|