tuersteher 1.0.3 → 1.0.4

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: 4f398db7053f9f23341dbc4dbbdb057644681103322280bec6823579a288881a
4
- data.tar.gz: 71756dc536be6cb1ef6d3477cc4bd5aee363ab6374d0443c6463a0b316785b6c
3
+ metadata.gz: 9b864e0f5b8661ce2f4e91eea1b84647c1609279046742b84062e20db2cf0cb4
4
+ data.tar.gz: 046c6a19867021b5eacafc9dbeff3c2157c7e909e2b2a910092dc242d23ae0f0
5
5
  SHA512:
6
- metadata.gz: f0fa5cbf6c03650ad66ae40f32a0a3078ddabcdb1318aa547245a77c3c5100266300e122a09121f158043c50e50a4de54537ad87897cc1d31a3e7db87a0fe3bf
7
- data.tar.gz: 981e0c7710037b1dd7c06f7197c7d23543d565da6e52c4a2e65c46e75e816d07dcb915b2dd4363610b9d47f2d87fd184d69f8ea2033e22abe0208be3a5e9b9a7
6
+ metadata.gz: d594fbce7f3306ac0a3d1cfa9d72f5b5d8f8f51818e07ea864f78526ad548630abaa6e93d1d29e24403162ab2ad65662156a95d462f9d4880869a5e9067e0ea7
7
+ data.tar.gz: 6f0c130fdf28a7933fd0ef6f43c7c1e98fc5b6e8f6a6ead27630578deb2ea2c4f96f1693bfa815c2d1d87eb49e8d3dcdee1e08f47f55e2ea99b1ab6bd7e44dc4
@@ -332,7 +332,7 @@ module Tuersteher
332
332
  req_method = req_method.downcase.to_sym if req_method.is_a?(String)
333
333
  url_path = request.fullpath
334
334
  unless path_access?(url_path, req_method)
335
- lc_id = login_context && login_context.respond_to?(:id) ? login_context.id : login_context.object_id
335
+ lc_id = login_context && (login_context.respond_to?(:id) ? login_context.id : login_context.object_id)
336
336
  msg = "Tuersteher#check_access: access denied for #{url_path} :#{req_method} login_context.id=#{lc_id}"
337
337
  Tuersteher::TLogger.logger.warn msg
338
338
  logger.warn msg # log message also for Rails-Default logger
@@ -3,7 +3,7 @@ $:.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.3'
6
+ s.version = '1.0.4'
7
7
  s.authors = ["Bernd Ledig"]
8
8
  s.email = ["bernd@ledig.info","bernd.ledig@ottogroup.com"]
9
9
  s.homepage = "https://gitlab.com/osp-stb-public/tuersteher"
@@ -11,7 +11,7 @@ Gem::Specification.new do |s|
11
11
  s.description = <<-EOT
12
12
  Security-Layer for Rails-Application acts like a firewall.
13
13
  EOT
14
- s.licenses = ["GPL-3.0-or-later"]
14
+ s.licenses = ["GPL-3.0+"]
15
15
 
16
16
  s.rubyforge_project = "tuersteher"
17
17
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tuersteher
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bernd Ledig
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-02-06 00:00:00.000000000 Z
11
+ date: 2020-03-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -67,7 +67,7 @@ files:
67
67
  - tuersteher.gemspec
68
68
  homepage: https://gitlab.com/osp-stb-public/tuersteher
69
69
  licenses:
70
- - GPL-3.0-or-later
70
+ - GPL-3.0+
71
71
  metadata: {}
72
72
  post_install_message:
73
73
  rdoc_options: []