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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f3fee95dbb5188a53db1f9314f5b318f7e5ba3e2
4
- data.tar.gz: 2b3835ed02bb8953a9015040c3d2f1dc4915b68f
3
+ metadata.gz: da5e98b1531720f65bde76c9634d52c3d50f3225
4
+ data.tar.gz: 59197d8d28b138503a35cc5d9a321d951d396ddf
5
5
  SHA512:
6
- metadata.gz: 1b03081f565fe46faa82d9647430255b1dcd8ae3a6b1db5a4f5cc463be9120aa02c8d99539bd2178eb61eb77633c2e63dc4dec4032d38b09bf0b5c31874a5a20
7
- data.tar.gz: 14506257885c109cd59525c307ff811ad0c5c562e3f25f2f13d13d779cf2e957a07c315c4aa3f0a7977cfe0cdaab05f6960ce9e62631fec012c02d39639cb7bf
6
+ metadata.gz: 1dbcce2212ad40a24b612940593fbe77802c0f390086096115192ad89af158a7d72a33242b0e24df17e433a7546a84f49fadb320d5b88a8fb34bfdb65cd787f0
7
+ data.tar.gz: f07fe473ed78befa363897d068c338a8227ee80ab2518f402dedd1d85eb529caa1fd7ae543733ecce1c9e5391b21f45004ac7108f4e5695ece8ab4b438895f56
@@ -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.2
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
- docdb_output.register
30
+ docdb_output.register
31
31
  end
32
32
 
33
- describe "#recieve" do
34
- it "Should successfully send the event to documentdb" do
35
- properties = { "a" => 1, "b" => 2, "c" => 3 }
36
- event = LogStash::Event.new(properties)
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.1.2
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-09 00:00:00.000000000 Z
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: 2.0.0
33
- - - "<"
32
+ version: '1.60'
33
+ - - "<="
34
34
  - !ruby/object:Gem::Version
35
- version: 3.0.0
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: 2.0.0
44
- - - "<"
43
+ version: '1.60'
44
+ - - "<="
45
45
  - !ruby/object:Gem::Version
46
- version: 3.0.0
46
+ version: '2.99'
47
47
  - !ruby/object:Gem::Dependency
48
48
  requirement: !ruby/object:Gem::Requirement
49
49
  requirements: