logstash-output-documentdb 0.1.2 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/logstash-output-documentdb.gemspec +2 -1
- data/spec/outputs/documentdb_spec.rb +5 -7
- metadata +9 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: da5e98b1531720f65bde76c9634d52c3d50f3225
|
4
|
+
data.tar.gz: 59197d8d28b138503a35cc5d9a321d951d396ddf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1dbcce2212ad40a24b612940593fbe77802c0f390086096115192ad89af158a7d72a33242b0e24df17e433a7546a84f49fadb320d5b88a8fb34bfdb65cd787f0
|
7
|
+
data.tar.gz: f07fe473ed78befa363897d068c338a8227ee80ab2518f402dedd1d85eb529caa1fd7ae543733ecce1c9e5391b21f45004ac7108f4e5695ece8ab4b438895f56
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,8 @@
|
|
1
|
+
## 0.2.0
|
2
|
+
|
3
|
+
* Support Logstash 5.X [Issue#2](https://github.com/yokawasa/logstash-output-documentdb/issues/2): Depend on logstash-core-plugin-api instead of logstash-core
|
4
|
+
* Added CI scripts
|
5
|
+
|
1
6
|
## 0.1.2
|
2
7
|
|
3
8
|
* Fixed up [Issue#3](https://github.com/yokawasa/logstash-output-documentdb/issues/3)
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.2.0
|
@@ -19,7 +19,8 @@ Gem::Specification.new do |s|
|
|
19
19
|
|
20
20
|
# Gem dependencies
|
21
21
|
s.add_runtime_dependency "rest-client", "1.8.0"
|
22
|
-
s.add_runtime_dependency "logstash-core", ">= 2.0.0", "< 3.0.0"
|
22
|
+
#s.add_runtime_dependency "logstash-core", ">= 2.0.0", "< 3.0.0"
|
23
|
+
s.add_runtime_dependency "logstash-core-plugin-api", ">= 1.60", "<= 2.99"
|
23
24
|
s.add_runtime_dependency "logstash-codec-plain"
|
24
25
|
s.add_development_dependency "logstash-devutils"
|
25
26
|
end
|
@@ -27,15 +27,13 @@ describe LogStash::Outputs::Documentdb do
|
|
27
27
|
let(:docdb_output) { LogStash::Outputs::Documentdb.new(docdb_config) }
|
28
28
|
|
29
29
|
before do
|
30
|
-
|
30
|
+
docdb_output.register
|
31
31
|
end
|
32
32
|
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
expect {docdb_output.receive(event)}.to_not raise_error
|
38
|
-
end
|
33
|
+
it "Should successfully send the event to documentdb" do
|
34
|
+
properties = { "a" => 1, "b" => 2, "c" => 3 }
|
35
|
+
event = LogStash::Event.new(properties)
|
36
|
+
expect {docdb_output.receive(event)}.to_not raise_error
|
39
37
|
end
|
40
38
|
|
41
39
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logstash-output-documentdb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yoichi Kawasaki
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-04
|
11
|
+
date: 2017-06-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|
@@ -29,21 +29,21 @@ dependencies:
|
|
29
29
|
requirements:
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version:
|
33
|
-
- - "
|
32
|
+
version: '1.60'
|
33
|
+
- - "<="
|
34
34
|
- !ruby/object:Gem::Version
|
35
|
-
version:
|
36
|
-
name: logstash-core
|
35
|
+
version: '2.99'
|
36
|
+
name: logstash-core-plugin-api
|
37
37
|
prerelease: false
|
38
38
|
type: :runtime
|
39
39
|
version_requirements: !ruby/object:Gem::Requirement
|
40
40
|
requirements:
|
41
41
|
- - ">="
|
42
42
|
- !ruby/object:Gem::Version
|
43
|
-
version:
|
44
|
-
- - "
|
43
|
+
version: '1.60'
|
44
|
+
- - "<="
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version:
|
46
|
+
version: '2.99'
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
requirement: !ruby/object:Gem::Requirement
|
49
49
|
requirements:
|