rolypoly 1.0.0 → 1.0.1

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: da6a1122ac0be69431906e1943c0c0e6cbf7eb6a
4
- data.tar.gz: e998ef6b5a0c1ed2655c1e09ebc31472bbdad714
3
+ metadata.gz: fff8ef8307324d9a78a9fb9c3afd914499dc74fe
4
+ data.tar.gz: 47aacd12ad43ae050717250122765241a1347c99
5
5
  SHA512:
6
- metadata.gz: 1a7ef1c1c348c1176e74c70f42e8660f516e4ef3bcfd2f68327b699261ba385701980e687da7a6bc395ec58e38c47614dfda8d3034c47e85b22aee5131a67953
7
- data.tar.gz: 1f77bce2c1d4464c2eaa4f47ecda8e6d75c3b1687872d4048bc0cd2efad4cf595211141305a2aec41e52852d244bd515b7705e085ecdb941c010b8d5070e89ed
6
+ metadata.gz: 279d13a72e3e985446b8ee9b46d578dad869351f160a6d9f87e4bbcf1a719950930db72abb24e201c3e8fb17e3592f84b874b500ce0ee5f9ad5a144ca661fb2b
7
+ data.tar.gz: 0f804d55a1fcff5a80c6b9bce14647215d051574136e5dd74f5aa452c093dbcc1ce54becde7be0f418bcbcfe7c3ac9fb65492040602fcc17716a02d9253906b8
@@ -31,6 +31,8 @@ module Rolypoly
31
31
  end
32
32
 
33
33
  def current_roles
34
+ return [] if rolypoly_gatekeepers.empty?
35
+
34
36
  allowed_roles(action_name)
35
37
  end
36
38
 
@@ -1,3 +1,3 @@
1
1
  module Rolypoly
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rolypoly
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jon Phenow
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-06-22 00:00:00.000000000 Z
12
+ date: 2017-06-26 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler