fluent-plugin-storage-mongo 0.0.3 → 0.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
  SHA1:
3
- metadata.gz: 040e80ab6cb22f6d11793f09941ad972059deac4
4
- data.tar.gz: 3d441a7770deb581670e48c6ed8ee45516596cad
3
+ metadata.gz: 0d61a645ed7ed4a892bb5ac2822da094582636b2
4
+ data.tar.gz: f048bf25e7cd46fadfcf788f7907a93fb6b49711
5
5
  SHA512:
6
- metadata.gz: 9b4aa8a8239e2aee8455816875e02af5ee3c8a4378ab9ea1a3bb86b21f73df8c3a465e733e553087a58307ec6ea6e3ae74ab59e3ac8202e7c75c24dd81613549
7
- data.tar.gz: 3e5e625b305d66c47ca6ed750a0bb3dc21b52490e3818bc38301b16d49341ebf29da0ee5349d671c6f52d5fbad4c5d6b9f606ddc33ede490ad6d0ab8a619f962
6
+ metadata.gz: 6c7a7bae61b9c6bfff65e0258ccd191bd9bd171e2676b748ed323609f3089b84816605afe1a9721870bd81c09cc8cd23869f74e62fbd1564648ff887d68febda
7
+ data.tar.gz: 8c658c5bf70a7e0d4e3d2c4964e83ed16db671c57f0f98788429eaef18c081f2e9b80060d4da3a9c8539a8ee391d5ea229c5e96d241af0300cf9ede0cb5fe6af
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = "fluent-plugin-storage-mongo"
7
- spec.version = "0.0.3"
7
+ spec.version = "0.0.4"
8
8
  spec.authors = ["Hiroshi Hatake"]
9
9
  spec.email = ["cosmo0920.oucc@gmail.com"]
10
10
 
@@ -41,6 +41,12 @@ module Fluent
41
41
  config_param :ssl_key_pass_phrase, :string, default: nil, secret: true
42
42
  config_param :ssl_verify, :bool, default: false
43
43
  config_param :ssl_ca_cert, :string, default: nil
44
+ # Set persistent true by default
45
+ config_set_default :persistent, true
46
+
47
+ def persistent_always?
48
+ true
49
+ end
44
50
 
45
51
  attr_reader :client_options, :collection_options
46
52
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-storage-mongo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hiroshi Hatake
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-02-18 00:00:00.000000000 Z
11
+ date: 2017-02-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler