ezlog 0.9.0 → 0.9.1

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: 1060267c8ecacef2fc5c231f9287f09b4b36e9ad7fc536199e2458eb5f56d275
4
- data.tar.gz: 4d176d6aeb4192fe42240a2a23e0ac0c1c2f4c15487ac8371a22d8907ea123e6
3
+ metadata.gz: 887b24709271ea85b1b00a7de9d88ed253e7494e6b96d555afbabf7c88b84f02
4
+ data.tar.gz: a9dd5994ed7e8a5562df8c17ecbe1ac1e790d5f90408cce82083f3ebf1e79be7
5
5
  SHA512:
6
- metadata.gz: dd779463c0f5a50955f01c7eaf6cf7c90d0668e9c4d9cc49c4b676cff5508f10cfb2e6ed3b28f922f67bd1eab38fc393052ce72ef57a7b69d3daaeb2b62cadac
7
- data.tar.gz: 29acb94a878f3aaa7f96c1b806aede63473d5b5a288eece64b7b2d7082ef1d56aacfc31c10a70399152d4a4afef1338799a9a24caa5d4b82078fe65726a9548a
6
+ metadata.gz: a5d03acb158fb0be072d425b107a67d397af02f3b6ffe54aac3d688b65d5ae65f15498c3b49208ff8f5414021a084099442aa947c06e96ba663ec740e05b971e
7
+ data.tar.gz: 591cb4c0f959c5fefc2eb5a54d3550a5c99d74eb5317565d6c8dbf1707edfbaa8319cc8bc7e699613fd55a96b3ee5aff19d148469830b720469e7fdeb251ed35
@@ -1,3 +1,11 @@
1
+ ### 0.9.1 (2020-05-10)
2
+
3
+ [Full Changelog](https://github.com/emartech/ezlog/compare/v0.9.0...v0.9.1)
4
+
5
+ * Bug fixed
6
+ * Fixed a bug in access log exclusion pattern matching that would exclude partial matches for a path if it was
7
+ specified as a string (expecting to be excluded only in case of a full match).
8
+
1
9
  ### 0.9.0 (2020-05-10)
2
10
 
3
11
  [Full Changelog](https://github.com/emartech/ezlog/compare/v0.8.0...v0.9.0)
@@ -44,7 +44,14 @@ module Ezlog
44
44
  end
45
45
 
46
46
  def path_ignored?(request)
47
- @config.exclude_paths.any? { |pattern| pattern.match? request.path }
47
+ @config.exclude_paths.any? do |pattern|
48
+ case pattern
49
+ when Regexp
50
+ pattern.match? request.path
51
+ else
52
+ pattern == request.path
53
+ end
54
+ end
48
55
  end
49
56
 
50
57
  def params_to_log(request)
@@ -1,3 +1,3 @@
1
1
  module Ezlog
2
- VERSION = '0.9.0'
2
+ VERSION = '0.9.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ezlog
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zoltan Ormandi