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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 75d9524809994df44c397d4b61a7679245e9155e9170a52e4669ad424501b077
4
- data.tar.gz: aebdc4bcf3723217544dd6d7a032cba0a763ded1b4bbf02652de6ef77a638a4b
3
+ metadata.gz: 4f398db7053f9f23341dbc4dbbdb057644681103322280bec6823579a288881a
4
+ data.tar.gz: 71756dc536be6cb1ef6d3477cc4bd5aee363ab6374d0443c6463a0b316785b6c
5
5
  SHA512:
6
- metadata.gz: 250f03314650921efdfd4ea6b8b82c01a6d3dfc4321993c65d7d41eefb4ebf17566db8508a9ad5a41f9dfb7ca6e027e266ddd945456a21ac7681e3506fe3ca17
7
- data.tar.gz: e72fcd1ba11b5df1cf25a933900e7dd0d29a4af24099205284c21790294160807aabe65cc0b41a467e8993855bf3f37796038295254c043a7c215f15667ad82a
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 :path_access?, :model_access?, :purge_collection
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.2'
7
- s.authors = ["Bernd Ledig","BerndL"]
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/bledig/tuersteher"
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.2
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/bledig/tuersteher
68
+ homepage: https://gitlab.com/osp-stb-public/tuersteher
70
69
  licenses:
71
70
  - GPL-3.0-or-later
72
71
  metadata: {}