tuersteher 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/tuersteher.rb +3 -1
- data/tuersteher.gemspec +3 -3
- metadata +2 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4f398db7053f9f23341dbc4dbbdb057644681103322280bec6823579a288881a
|
4
|
+
data.tar.gz: 71756dc536be6cb1ef6d3477cc4bd5aee363ab6374d0443c6463a0b316785b6c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f0fa5cbf6c03650ad66ae40f32a0a3078ddabcdb1318aa547245a77c3c5100266300e122a09121f158043c50e50a4de54537ad87897cc1d31a3e7db87a0fe3bf
|
7
|
+
data.tar.gz: 981e0c7710037b1dd7c06f7197c7d23543d565da6e52c4a2e65c46e75e816d07dcb915b2dd4363610b9d47f2d87fd184d69f8ea2033e22abe0208be3a5e9b9a7
|
data/lib/tuersteher.rb
CHANGED
@@ -303,7 +303,9 @@ module Tuersteher
|
|
303
303
|
def self.included(base)
|
304
304
|
base.class_eval do
|
305
305
|
# Diese Methoden auch als Helper fuer die Views bereitstellen
|
306
|
-
helper_method
|
306
|
+
if(self.respond_to?(:helper_method))
|
307
|
+
helper_method :path_access?, :model_access?, :purge_collection
|
308
|
+
end
|
307
309
|
end
|
308
310
|
end
|
309
311
|
|
data/tuersteher.gemspec
CHANGED
@@ -3,10 +3,10 @@ $:.push File.expand_path("../lib", __FILE__)
|
|
3
3
|
|
4
4
|
Gem::Specification.new do |s|
|
5
5
|
s.name = 'tuersteher'
|
6
|
-
s.version = '1.0.
|
7
|
-
s.authors = ["Bernd Ledig"
|
6
|
+
s.version = '1.0.3'
|
7
|
+
s.authors = ["Bernd Ledig"]
|
8
8
|
s.email = ["bernd@ledig.info","bernd.ledig@ottogroup.com"]
|
9
|
-
s.homepage = "https://gitlab.com/
|
9
|
+
s.homepage = "https://gitlab.com/osp-stb-public/tuersteher"
|
10
10
|
s.summary = "Access-Handling for Rails-Apps"
|
11
11
|
s.description = <<-EOT
|
12
12
|
Security-Layer for Rails-Application acts like a firewall.
|
metadata
CHANGED
@@ -1,11 +1,10 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tuersteher
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bernd Ledig
|
8
|
-
- BerndL
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
@@ -66,7 +65,7 @@ files:
|
|
66
65
|
- spec/path_access_rule_spec.rb
|
67
66
|
- spec/spec_helper.rb
|
68
67
|
- tuersteher.gemspec
|
69
|
-
homepage: https://gitlab.com/
|
68
|
+
homepage: https://gitlab.com/osp-stb-public/tuersteher
|
70
69
|
licenses:
|
71
70
|
- GPL-3.0-or-later
|
72
71
|
metadata: {}
|