gds-sso 10.0.1 → 10.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -11,7 +11,11 @@ describe GDS::SSO::User do
11
11
  'uid' => 'abcde',
12
12
  'credentials' => {'token' => 'abcdefg', 'secret' => 'abcdefg'},
13
13
  'info' => {'name' => 'Matt Patterson', 'email' => 'matt@alphagov.co.uk'},
14
- 'extra' => {'user' => {'permissions' => [], 'organisation_slug' => nil, 'disabled' => false}}
14
+ 'extra' => {
15
+ 'user' => {
16
+ 'permissions' => [], 'organisation_slug' => nil, "organisation_content_id" => nil, 'disabled' => false
17
+ }
18
+ }
15
19
  }
16
20
  end
17
21
 
@@ -21,6 +25,7 @@ describe GDS::SSO::User do
21
25
  'email' => 'matt@alphagov.co.uk',
22
26
  "permissions" => [],
23
27
  "organisation_slug" => nil,
28
+ "organisation_content_id" => nil,
24
29
  'disabled' => false,
25
30
  }
26
31
  expect(GDS::SSO::User.user_params_from_auth_hash(@auth_hash)).to eq(expected)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gds-sso
3
3
  version: !ruby/object:Gem::Version
4
- version: 10.0.1
4
+ version: 10.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Patterson
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-04-20 00:00:00.000000000 Z
12
+ date: 2015-04-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -73,14 +73,14 @@ dependencies:
73
73
  requirements:
74
74
  - - "~>"
75
75
  - !ruby/object:Gem::Version
76
- version: '3.1'
76
+ version: '3.2'
77
77
  type: :runtime
78
78
  prerelease: false
79
79
  version_requirements: !ruby/object:Gem::Requirement
80
80
  requirements:
81
81
  - - "~>"
82
82
  - !ruby/object:Gem::Version
83
- version: '3.1'
83
+ version: '3.2'
84
84
  - !ruby/object:Gem::Dependency
85
85
  name: warden-oauth2
86
86
  requirement: !ruby/object:Gem::Requirement