fluent-plugin-auto-typecast-filter 0.3.1 → 0.3.2

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
  SHA256:
3
- metadata.gz: ba6be83b14e984cfe7a9d57dbcae8e18811ec7f2bb24fba0f7ef381e0cb5d05e
4
- data.tar.gz: f1889e91b6bc7ba59a0ef2e05079f2b69a7833e227cd68326c0fb686dd7004a8
3
+ metadata.gz: 2c1a2e57941f9cd5da31cad09c77872ff316ff924c658cefb56edc0cdca3fe4e
4
+ data.tar.gz: c5f322c9b864aba0e25de4acbbae3290ea6c89dab10ea5cafd2f039f2133b59c
5
5
  SHA512:
6
- metadata.gz: af774b4a0c8038adf7bf64ab0a62f5a79de269f75d6c62f5cb3fb08828a8d60556b80f01182d1aa31770415635a85ea1db049dd2d411b8e97063a4519ae3575d
7
- data.tar.gz: 8812e578a5ab18d8b0d591ced9cec55d7de884b0d620f13c51a39ff79f3f5a6c8ff7a88f206bb6b855e7933748c7abe62d31c1badb4754e4480d4b0b85161d54
6
+ metadata.gz: 9df8a5795382a0a8c7784832abe7ddc2e8f7f8a7272821583e44439f9b5c5320e98072edaa5d8cf308da2520ff4e98e205946b2dabaab8696de5b8c2e3f9ba37
7
+ data.tar.gz: 35bd153010938f0fa9828856e6dbc600130f0180c53add563d812bf063777c230afb8376adc9b1612ea285e95437d16acfcf8277ac741b564f49d64133ed816f
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- fluent-plugin-auto-typecast-filter (0.2.0)
4
+ fluent-plugin-auto-typecast-filter (0.3.1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -52,10 +52,13 @@ module Fluent::Plugin
52
52
  config_param :maxdepth, :integer, default: DEFAULT_MAXDEPTH
53
53
  config_param :ignore_key_regexp, :regexp, default: nil
54
54
 
55
- # def configure(conf)
56
- # super
57
- # # do the usual configuration here
58
- # end
55
+ def configure(conf)
56
+ super
57
+
58
+ if @maxdepth < 0
59
+ raise Fluent::ConfigError, "`maxdepth` is too small: maxdepth = #{@maxdepth}"
60
+ end
61
+ end
59
62
 
60
63
  # def start
61
64
  # super
@@ -1,5 +1,5 @@
1
1
  module Fluent
2
2
  module Plugin
3
- VERSION = "0.3.1"
3
+ VERSION = "0.3.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-auto-typecast-filter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shotaro Chiba
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-08-24 00:00:00.000000000 Z
11
+ date: 2019-08-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler