omniauth-socialstream 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
@@ -3,8 +3,6 @@ require 'omniauth-oauth2'
|
|
3
3
|
module OmniAuth
|
4
4
|
module Strategies
|
5
5
|
class Socialstream < OmniAuth::Strategies::OAuth2
|
6
|
-
option :name, 'socialstream'
|
7
|
-
|
8
6
|
option :client_options, {
|
9
7
|
:site => 'https://demo-social-stream.dit.upm.es',
|
10
8
|
:authorize_url => 'https://demo-social-stream.dit.upm.es/oauth2/authorize',
|
@@ -59,7 +59,7 @@ describe OmniAuth::Strategies::Socialstream do
|
|
59
59
|
context "#raw_info" do
|
60
60
|
it "should use relative paths" do
|
61
61
|
access_token.should_receive(:token)
|
62
|
-
access_token.should_receive(:get).with('
|
62
|
+
access_token.should_receive(:get).with('user.json', {:params=>{:access_token=>nil}}).and_return(response)
|
63
63
|
subject.raw_info.should eq(parsed_response)
|
64
64
|
end
|
65
65
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: omniauth-socialstream
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2013-02-
|
13
|
+
date: 2013-02-18 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: omniauth-oauth2
|