omniauth-walletone 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 13880151a31374ba8a2327db7723cad010186842
|
4
|
+
data.tar.gz: 2f0648cc01ca996ee6b4b81104eb7c361edfd31f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6a1096476653752f349d9f4a788fd41dc6cc7a258e5ed274319b6366db4f2ebbacd9f084ef37e48e930bd4bc0628e8f4b70067ba438630babb2d769f8008b560
|
7
|
+
data.tar.gz: 9a10c064470459c41d358678ab6e25e982f4cad49950eeb7460d7771b537839d02a7b96c85260232ede3f388559a2debda5bd1eb44873de58f8d927df6621e1f
|
data/omniauth-walletone.gemspec
CHANGED
@@ -9,7 +9,7 @@ Gem::Specification.new do |spec|
|
|
9
9
|
spec.authors = ["Andrey Sidorov"]
|
10
10
|
spec.email = ["vozdelaluz@gmail.com"]
|
11
11
|
spec.summary = %q{OmniAuth strategy for WalletOne}
|
12
|
-
spec.homepage = ""
|
12
|
+
spec.homepage = "https://github.com/heretge/omniauth-walletone"
|
13
13
|
spec.license = "MIT"
|
14
14
|
|
15
15
|
spec.files = `git ls-files -z`.split("\x0")
|
@@ -30,6 +30,16 @@ describe OmniAuth::Strategies::WalletOne do
|
|
30
30
|
end
|
31
31
|
end
|
32
32
|
|
33
|
+
describe 'skip_info option' do
|
34
|
+
context 'when skip info option is enabled' do
|
35
|
+
it 'should not include raw_info in extras hash' do
|
36
|
+
@options = { :skip_info => true }
|
37
|
+
allow(subject).to receive(:raw_info).and_return({:foo => 'bar'})
|
38
|
+
expect(subject.extra[:raw_info]).to eq(nil)
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
42
|
+
|
33
43
|
describe 'expires field is not set by default, then it' do
|
34
44
|
it 'should be taken from session raw_info' do
|
35
45
|
allow(OmniAuth::Strategies::OAuth2).to receive(:credentials_stack).and_return([{'token' => 'token', 'expires' => nil}])
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: omniauth-walletone
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrey Sidorov
|
@@ -112,7 +112,7 @@ files:
|
|
112
112
|
- omniauth-walletone.gemspec
|
113
113
|
- spec/omniauth/strategies/walletone_spec.rb
|
114
114
|
- spec/spec_helper.rb
|
115
|
-
homepage:
|
115
|
+
homepage: https://github.com/heretge/omniauth-walletone
|
116
116
|
licenses:
|
117
117
|
- MIT
|
118
118
|
metadata: {}
|