petergate 1.6.9 → 1.7.0

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: 6fbfe5d59028ab9f3a7c6a316749e418891fe828
4
- data.tar.gz: 5f1dd98aaab461d6bad65f79309b7f781a96d179
3
+ metadata.gz: e312e9f0787ffa80a00fe92483d5586fbceedf70
4
+ data.tar.gz: b448b04d7d3170939e6d02f6f176fcaf824819bf
5
5
  SHA512:
6
- metadata.gz: 94052faaf85168e86dc4ce03a12ce99bb497f7f6dd394f866b0480bd8d321d4cad8eaac7d11544a27703226f778efc4996ead361349717f0845c751dcf82105b
7
- data.tar.gz: c804f26772a9e6048767b20c049dd3aaf7456ca34d2f462643014fb0a53734faea146e8b4e083614e6c71b8b9d2c316c10f7c63ec574187d36782eb149c3494c
6
+ metadata.gz: 01d84b89a43800fc64f661bca0f6197056e6f64e7ab354620b4a5745ce153b9582691feb1c28db6bf4e1de2b45733fe519a2b5182cb73d5ba00fdbc67984a9f5
7
+ data.tar.gz: 2efd020e12dfa5564b0caea81a2bd6183cc6ec55f09f34df17775e2aa4fe53347db04947a2de1ea531be39e5ce07f35ebc688e257b6c91ff690ac4e902a03066
@@ -19,7 +19,7 @@ module Petergate
19
19
  end
20
20
 
21
21
  instance_eval do
22
- const_set('ROLES', (roles + [:user]).uniq) unless defined?(User::ROLES)
22
+ const_set('ROLES', (roles + [:user]).uniq.map(&:to_sym)) unless defined?(User::ROLES)
23
23
 
24
24
  if multiple
25
25
  roles.each do |role|
@@ -1,3 +1,3 @@
1
1
  module Petergate
2
- VERSION = "1.6.9"
2
+ VERSION = "1.7.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: petergate
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.9
4
+ version: 1.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Isaac Sloan