franz 2.1.10 → 2.1.11

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 08881d15832d772d150ae2e68e35a752d0a03a81
4
- data.tar.gz: 4bc6e2718660fa664b25f31466a096492b05f5ba
3
+ metadata.gz: 3ac4d511cd616ba167e59aaa1666c42ab68277d1
4
+ data.tar.gz: 7b27d7f6eeffb531f8c9d494fe64fa206a33fb1c
5
5
  SHA512:
6
- metadata.gz: 3d26e1ffc8fa5d4be31ce59dd8b2f874eeb433e0cf02a8f1b677f870734053df491f9bdc5d15c98e0d2a3bf58f52922199eddca64deb0f28b790f81510696ad0
7
- data.tar.gz: a5a75025f74a8995c574cd3198ef12763d38d627596be5efc847bfc7b20c39c8606a28af8c5444bd2a9d82a19704427df255d475b8a84efc043837d8cb09f437
6
+ metadata.gz: f7158f2eefb2397c8d443cf559cf6976eada6e1b29a965149351553a93ed4cf5449a02aea2ff89d505da54078bb96bf463b37035255a336f15a6047c7ca8718a
7
+ data.tar.gz: da95fa7610e4ca297f648060182c86004b9fefbe0118bc8543ea016d3c59d04723a46109daef2cde74e2bb0a930533001c1fafde6bd86a39020ccb3055e4b16a
data/Readme.md CHANGED
@@ -235,6 +235,7 @@ for Chef.
235
235
  - Allow single state file if no glob is used
236
236
  - Add autoreconnect logic to `Kafka` output
237
237
  - Capture errors when parsing structured logs
238
+ - Add `FNM_EXTGLOB` flag for better glob matching
238
239
  - Handle `EACCESS` on `IO.read` gracefully
239
240
  - New `HTTP` output (experimental)
240
241
  - Remove default line limit
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.1.10
1
+ 2.1.11
@@ -102,7 +102,7 @@ private
102
102
  Dir[glob].each do |path|
103
103
  next if known.include? path
104
104
  next if config[:excludes].any? { |exclude|
105
- File.fnmatch? exclude, File::basename(path)
105
+ File.fnmatch? exclude, File::basename(path), File::FNM_EXTGLOB
106
106
  }
107
107
  discovered.push path
108
108
  end
@@ -43,10 +43,10 @@ module Franz
43
43
  rescue KeyError
44
44
  configs.each do |config|
45
45
  type = config[:type] if config[:includes].any? { |glob|
46
- included = File.fnmatch? glob, path
46
+ included = File.fnmatch? glob, path, File::FNM_EXTGLOB
47
47
  excludes = !config[:excludes].nil?
48
48
  excluded = excludes && config[:excludes].any? { |exlude|
49
- File.fnmatch? exlude, File::basename(path)
49
+ File.fnmatch? exlude, File::basename(path), File::FNM_EXTGLOB
50
50
  }
51
51
  included && !excluded
52
52
  }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: franz
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.10
4
+ version: 2.1.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sean Clemmer