ezlog 0.9.0 → 0.9.1
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 +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/ezlog/rails/access_log.rb +8 -1
- data/lib/ezlog/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 887b24709271ea85b1b00a7de9d88ed253e7494e6b96d555afbabf7c88b84f02
|
|
4
|
+
data.tar.gz: a9dd5994ed7e8a5562df8c17ecbe1ac1e790d5f90408cce82083f3ebf1e79be7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a5d03acb158fb0be072d425b107a67d397af02f3b6ffe54aac3d688b65d5ae65f15498c3b49208ff8f5414021a084099442aa947c06e96ba663ec740e05b971e
|
|
7
|
+
data.tar.gz: 591cb4c0f959c5fefc2eb5a54d3550a5c99d74eb5317565d6c8dbf1707edfbaa8319cc8bc7e699613fd55a96b3ee5aff19d148469830b720469e7fdeb251ed35
|
data/CHANGELOG.md
CHANGED
|
@@ -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?
|
|
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)
|
data/lib/ezlog/version.rb
CHANGED