aclize 0.2.1 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2dc5b30f8e94b4cb8ec3a2aba6f6c3a4a46d3093
4
- data.tar.gz: 626f6ccc4831edb8101c0d521b49c7b8d35093fe
3
+ metadata.gz: 168b5d55a30f5d662000819b10a6a149d281149c
4
+ data.tar.gz: d2fa8ba170bd756b4a9736cae3979e3010cab228
5
5
  SHA512:
6
- metadata.gz: e0762279bf13cc60194f96cb89b71762f1f6133e8e3f925cdfa5a589513cf622639c73c2d5cf4f1aeab4d40469b1c9e4da22f152aecc24bca386ee7192b70bdc
7
- data.tar.gz: 30bcfd4450eb78434d230bb05e6811d9300075b833c23291c0f5a05d47228ee64ac5684d9be3cd102aee10d16933e703376fc7709fad45554bd94318e66e05e9
6
+ metadata.gz: 8834035bb7cdabf473401ce12894b083f8c2da303f4ff52802dc55797709965fb9facefe2320e90dc8a1a796d931cc39ca7f051eabb92d28627fcd752075b142
7
+ data.tar.gz: 0091bf4b00d513b95417fc96c7eaf62d9b7b747671990ebc467e9691fab98ec176b1f6ec5a24815b8a643f6ace501aed316b2e6c444c8908c210c9b1c11b2aeb
@@ -1,3 +1,3 @@
1
1
  module Aclize
2
- VERSION = "0.2.1"
2
+ VERSION = "0.2.2"
3
3
  end
data/lib/aclize.rb CHANGED
@@ -94,7 +94,7 @@ module Aclize
94
94
  format.html { render 'aclize/403', disposition: "inline", status: 403, layout: false }
95
95
  end
96
96
  else
97
- @_aclize_callback.call(path)
97
+ self.instance_eval(&@_aclize_callback)
98
98
  end
99
99
  end
100
100
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aclize
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Groza Sergiu
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-11-23 00:00:00.000000000 Z
11
+ date: 2016-03-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -108,3 +108,4 @@ signing_key:
108
108
  specification_version: 4
109
109
  summary: ACL for your Rails application
110
110
  test_files: []
111
+ has_rdoc: