bsm-sso-client 0.9.0 → 0.9.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/bsm/sso/client/ability.rb +2 -2
  3. metadata +19 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: aa376b66c0be29cc68a1f449fd5dea1ab1b1e1b9
4
- data.tar.gz: 7f009d7e683eeb5027cca9d416a2ff630e3c44e7
3
+ metadata.gz: 10256de7d813a3abd14b51754eefb9f47b250cd0
4
+ data.tar.gz: 4856b36c22c2ddf30c63890d35293d49d2563072
5
5
  SHA512:
6
- metadata.gz: 5a137b74abd28a7db337147b14f6f6b3dd4dae0d91fe129e71eeadcaec56bcd425007d426ecbf880e20e64c920360b8e403dff0a123325a00f4c9be55f369ebc
7
- data.tar.gz: 21b1fbc24b54d88c9affeb350b41b4956dbed54f1db52026a5392092d3d5c6c9b30a1e25aa636a1d3689647ba20a22c3546f337e858336d6dc31da96778c8abe
6
+ metadata.gz: f92456f403b284964bcb56776f898d67efb95cd8ec0cfd548c17b1dcea07a2b68437346dfff96f73a1afee8770e78e6f9bee7f73cb5756d35fdff2f4519d2a11
7
+ data.tar.gz: 4fae40c18d46a9187e1cc727e586fb0cc5a5f2acf9db4eb1583af63deebcd9597b1160defd6d20f0b6d4720d641cbf2540ff8dcd0bf822eeeae77428cb851298
@@ -50,11 +50,11 @@ module Bsm::Sso::Client::Ability
50
50
  # @param [User] current user record
51
51
  def initialize(user)
52
52
  @user = user
53
+
54
+ same_as(:any)
53
55
  @user.roles.each do |name|
54
56
  same_as(name)
55
57
  end
56
-
57
- same_as(:any)
58
58
  same_as(:administrator) if administrator?
59
59
  end
60
60
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bsm-sso-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.9.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dimitrij Denissenko
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-04-28 00:00:00.000000000 Z
11
+ date: 2015-01-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: 4.1.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: 4.2.0
22
+ version: 5.0.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: 4.1.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: 4.2.0
32
+ version: 5.0.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: actionpack
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -162,6 +162,20 @@ dependencies:
162
162
  - - ">="
163
163
  - !ruby/object:Gem::Version
164
164
  version: '0'
165
+ - !ruby/object:Gem::Dependency
166
+ name: rspec-its
167
+ requirement: !ruby/object:Gem::Requirement
168
+ requirements:
169
+ - - ">="
170
+ - !ruby/object:Gem::Version
171
+ version: '0'
172
+ type: :development
173
+ prerelease: false
174
+ version_requirements: !ruby/object:Gem::Requirement
175
+ requirements:
176
+ - - ">="
177
+ - !ruby/object:Gem::Version
178
+ version: '0'
165
179
  - !ruby/object:Gem::Dependency
166
180
  name: shoulda-matchers
167
181
  requirement: !ruby/object:Gem::Requirement
@@ -275,7 +289,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
275
289
  version: 1.8.0
276
290
  requirements: []
277
291
  rubyforge_project:
278
- rubygems_version: 2.2.2
292
+ rubygems_version: 2.4.3
279
293
  signing_key:
280
294
  specification_version: 4
281
295
  summary: BSM's internal SSO client