softwear-lib 1.7.8 → 1.7.9

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: b19079fbdf0658fa027def56170d17accd293772
4
- data.tar.gz: fd0592d957dbd00895076c797d0f4ac89a9cb89b
3
+ metadata.gz: b2c113ae34ddafade26b0acb1ff0189cc3f16eef
4
+ data.tar.gz: 5016db739c40085ca0615fcf5c3186d3933af51c
5
5
  SHA512:
6
- metadata.gz: a2a77ccde36a526ad4c2a30f4702795eb6a6acc9f57f3913dd82a7bbd8c385a7490085447e6c0e21bfc224be64f755bbb3d2547668757a83c0a1fb2bcf2e6620
7
- data.tar.gz: 9f797b18c44428930fbffc6e5a9198f47f929e376c6feb18578912964e376c0a277fc7448bf16039ff8126a4cd3c9ef081bfe6c4326d17d6c497e2b6a9dab980
6
+ metadata.gz: ede3375068855d66c11aae640121c30b9204b40b9403bd22c6ca451d9f1cdc6ec3b1b2a5a209cc122f505303200d7ec7adbc531afabcd071c277401ad3fc2b08
7
+ data.tar.gz: e5083bcc8a87b458550978b4c4858a629baec21246556f844da8f7e7809bc1a0a6f556b8f16355fc1ddc2d7a7ff367da8bf424319556820e76ae9f634790d4d1
@@ -88,7 +88,7 @@ users:
88
88
  end
89
89
 
90
90
  def of_role(*roles)
91
- roles = Array(roles)
91
+ roles = Array(roles).map(&:to_s)
92
92
  all.select { |u| !u.roles.nil? && roles.any? { |r| u.roles.include?(r) } }
93
93
  end
94
94
 
@@ -1,5 +1,5 @@
1
1
  module Softwear
2
2
  module Lib
3
- VERSION = "1.7.8"
3
+ VERSION = "1.7.9"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: softwear-lib
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.8
4
+ version: 1.7.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nigel Baillie