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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1c6bb01335ae726fb9111f4e67114216130876b2
4
- data.tar.gz: ec55f513adceccfba351f00635895da22db55865
3
+ metadata.gz: 0513baf0efe509d8dc89970f477be3f1d8131c1f
4
+ data.tar.gz: b47dbc9efc8e44d95820fe7643fbdde16d7b497e
5
5
  SHA512:
6
- metadata.gz: b8e3d3549fd6985170c2385c951e9cb5a6229e4811ba5055f1a67704cf42a2f0b65e123a3b2501be502f17f8cb7d9480db95c4a8ac3cac886ab52b97b4db4c50
7
- data.tar.gz: 106830457161d0832a1b518417fbf3bc9fb7037ee8f6b68bb015f7f137f1ac13476f193a87741811cd243f9136301df6185762b782caf518671810881deecce9
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
@@ -1,3 +1,3 @@
1
1
  module Petergate
2
- VERSION = "1.1.2"
2
+ VERSION = "1.1.3"
3
3
  end
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.2
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-01-29 00:00:00.000000000 Z
11
+ date: 2015-02-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler