rolypoly 1.0.1 → 1.0.2

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: fff8ef8307324d9a78a9fb9c3afd914499dc74fe
4
- data.tar.gz: 47aacd12ad43ae050717250122765241a1347c99
3
+ metadata.gz: 6f4da324f740e09486d891362c4ccca59293f1e6
4
+ data.tar.gz: 8e81b842251b29657c0d853d1c30b686006dcba4
5
5
  SHA512:
6
- metadata.gz: 279d13a72e3e985446b8ee9b46d578dad869351f160a6d9f87e4bbcf1a719950930db72abb24e201c3e8fb17e3592f84b874b500ce0ee5f9ad5a144ca661fb2b
7
- data.tar.gz: 0f804d55a1fcff5a80c6b9bce14647215d051574136e5dd74f5aa452c093dbcc1ce54becde7be0f418bcbcfe7c3ac9fb65492040602fcc17716a02d9253906b8
6
+ metadata.gz: bb720596c9c935a5d5f9f2d0483b67c09de67cd8572569322acecf9c487031a54aeb3cf46810333bfb2502e729922ff304ccca177c415972bfe25b2774a1854f
7
+ data.tar.gz: 27b4a65a2a1f986488f35e39f6b543079927fa8ec5efd6f4aeb0b62676e90e04654834696b8cf8433ccd114b88213e6e65277abc73d32c44075e3f6953321945
@@ -14,13 +14,13 @@ module Rolypoly
14
14
 
15
15
  def self.included(base)
16
16
  unless base.method_defined?(:current_user_roles)
17
- define_method(:current_user_roles) do
17
+ base.send(:define_method, :current_user_roles) do
18
18
  []
19
19
  end
20
20
  end
21
21
 
22
22
  unless base.method_defined?(:rolypoly_resource_map)
23
- define_method(:rolypoly_resource_map) do
23
+ base.send(:define_method, :rolypoly_resource_map) do
24
24
  {}
25
25
  end
26
26
  end
@@ -1,3 +1,3 @@
1
1
  module Rolypoly
2
- VERSION = "1.0.1"
2
+ VERSION = "1.0.2"
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.1
4
+ version: 1.0.2
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-26 00:00:00.000000000 Z
12
+ date: 2017-07-25 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -101,7 +101,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
101
101
  version: '0'
102
102
  requirements: []
103
103
  rubyforge_project:
104
- rubygems_version: 2.6.10
104
+ rubygems_version: 2.4.6
105
105
  signing_key:
106
106
  specification_version: 4
107
107
  summary: Tools for handling per-action and per-app Role authorization