petergate 1.1.2 → 1.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/petergate.rb +1 -1
- data/lib/petergate/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0513baf0efe509d8dc89970f477be3f1d8131c1f
|
4
|
+
data.tar.gz: b47dbc9efc8e44d95820fe7643fbdde16d7b497e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2c423bc6a4692b235c3df4c2c48ed60bd7d8e49e355dd82e12fafabe6959cee95709a26fb84a82f65be2b430db7f5220b3d6fe2e025e73ee8245478ace7f3953
|
7
|
+
data.tar.gz: f389480b9c5a96c1751e13db841f01938561894be21909cafd27f831bab655616edc745d90831a81b4972d87e9a13e8366f5d6a78096d9c7224fcb5f3bafefbf
|
data/lib/petergate.rb
CHANGED
@@ -129,7 +129,7 @@ module Petergate
|
|
129
129
|
end
|
130
130
|
|
131
131
|
def roles=(v)
|
132
|
-
self[:roles] = v.map(&:to_sym).to_a.select{|r| r.size > 0 && available_roles.include?(r)}
|
132
|
+
self[:roles] = Array(v).map(&:to_sym).to_a.select{|r| r.size > 0 && available_roles.include?(r)}
|
133
133
|
end
|
134
134
|
|
135
135
|
def roles
|
data/lib/petergate/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: petergate
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Isaac Sloan
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-02-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|