ey_services_fake 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
@@ -40,6 +40,7 @@ module EyServicesFake
|
|
40
40
|
partner_object = Partner.first
|
41
41
|
partner_object && {
|
42
42
|
:id => partner_object.id,
|
43
|
+
:name => partner_object.name,
|
43
44
|
:auth_id => partner_object.auth_id,
|
44
45
|
:auth_key => partner_object.auth_key,
|
45
46
|
:registration_url => URL_GEN.service_registration(partner_object),
|
@@ -47,7 +48,7 @@ module EyServicesFake
|
|
47
48
|
end
|
48
49
|
|
49
50
|
def create_partner(sso_user, partner_base_url, partner_app)
|
50
|
-
Partner.create(:auth_id => "123edf", :auth_key => "abc456")
|
51
|
+
Partner.create(:auth_id => "123edf", :auth_key => "abc456", :name => "Some-Partner")
|
51
52
|
app.partner_connection = EY::ApiHMAC::BaseConnection.new("123edf", "abc456")
|
52
53
|
app.partner_connection.backend = partner_app
|
53
54
|
find_partner(sso_user)
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ey_services_fake
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 21
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 5
|
10
|
+
version: 0.0.5
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Jacob Burkhart & Josh Lane
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-11-
|
18
|
+
date: 2011-11-15 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
name: sinatra
|