logstash-input-couchdb_changes 0.1.1 → 0.1.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
  SHA1:
3
- metadata.gz: 08d8fd80e27c6ab8877b599ac947060e4028fdee
4
- data.tar.gz: 1b176733452b924a819430ed6397a51c2724ec8c
3
+ metadata.gz: 8c21a98522d2a49b05a62885f488a8caf5cbe130
4
+ data.tar.gz: 4343752852f48efdbe05f307ace98c00b4719698
5
5
  SHA512:
6
- metadata.gz: 3e4362208c4244b95814389879ad99702e390009538ed963a913107ced7dd52d3b1889ae0fab3605738fbf146ad27531d056ec7d190c113190b66964328f3788
7
- data.tar.gz: e9d45e052779bc1c45272618781d927f3510a5de095dd95ce2ffce640e2f92c1a7b4eb1ab386680c900d9dd075f0451b93e7267354e64523b32708bdf424e766
6
+ metadata.gz: b093501b3aa3c3e3c90e688a753d0a121f4cb9d6d195926882336fe839957756ba950c404dc66f6c8cd5715bf20a400a5ec9835c79fd31e99d4a4f969cb6c4d9
7
+ data.tar.gz: 9c723b462344753f0a91d2b54c964e07f491a6997babd37a3b952e6afbc0cdc59bca5edbccea98dc7acafbf83e56fa334360b4e6ce0edc2d3d9676922f67cbc3
@@ -0,0 +1,12 @@
1
+ The following is a list of people who have contributed ideas, code, bug
2
+ reports, or in general have helped logstash along its way.
3
+
4
+ Contributors:
5
+ * Aaron Mildenstein (untergeek)
6
+ * Pier-Hugues Pellerin (ph)
7
+ * Suyog Rao (suyograo)
8
+
9
+ Note: If you've sent us patches, bug reports, or otherwise contributed to
10
+ Logstash, and you aren't on the list above and want to be, please let us know
11
+ and we'll make sure you're here. Contributions from folks like you are what make
12
+ open source awesome.
@@ -5,9 +5,18 @@ require "logstash/namespace"
5
5
  require "net/http"
6
6
  require "uri"
7
7
 
8
- # Stream events from the CouchDB _changes URI.
9
- # Use event metadata to allow for upsert and
10
- # document deletion.
8
+ # This CouchDB input allows you to automatically stream events from the
9
+ # CouchDB http://guide.couchdb.org/draft/notifications.html[_changes] URI.
10
+ # Moreover, any "future" changes will automatically be streamed as well making it easy to synchronize
11
+ # your CouchDB data with any target destination
12
+ #
13
+ # ### Upsert and delete
14
+ # You can use event metadata to allow for document deletion.
15
+ # All non-delete operations are treated as upserts
16
+ #
17
+ # ### Starting at a Specific Sequence
18
+ # The CouchDB input stores the last sequence number value in location defined by `sequence_path`.
19
+ # You can use this fact to start or resume the stream at a particular sequence.
11
20
  class LogStash::Inputs::CouchDBChanges < LogStash::Inputs::Base
12
21
  config_name "couchdb_changes"
13
22
 
@@ -43,7 +52,7 @@ class LogStash::Inputs::CouchDBChanges < LogStash::Inputs::Base
43
52
  config :heartbeat, :validate => :number, :default => 1000
44
53
 
45
54
  # File path where the last sequence number in the _changes
46
- # stream is stored. If unset it will write to "$HOME/.couchdb_seq"
55
+ # stream is stored. If unset it will write to `$HOME/.couchdb_seq`
47
56
  config :sequence_path, :validate => :string
48
57
 
49
58
  # If unspecified, Logstash will attempt to read the last sequence number
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
 
3
3
  s.name = 'logstash-input-couchdb_changes'
4
- s.version = '0.1.1'
4
+ s.version = '0.1.2'
5
5
  s.licenses = ['Apache License (2.0)']
6
6
  s.summary = "This input captures the _changes stream from a CouchDB instance"
7
7
  s.description = "This gem is a logstash plugin required to be installed on top of the Logstash core pipeline using $LS_HOME/bin/plugin install gemname. This gem is not a stand-alone program"
@@ -22,10 +22,9 @@ Gem::Specification.new do |s|
22
22
  # Gem dependencies
23
23
  s.add_runtime_dependency 'logstash', '>= 1.4.0', '< 2.0.0'
24
24
  s.add_runtime_dependency 'logstash-codec-plain'
25
- s.add_runtime_dependency 'ftw', '>= 0.0.41'
26
25
  s.add_runtime_dependency 'json'
27
26
 
28
- s.add_development_dependency 'ftw', '>= 0.0.41'
27
+ s.add_development_dependency 'ftw', '~> 0.0.42'
29
28
  s.add_development_dependency 'logstash-devutils', '>= 0.0.6'
30
29
  s.add_development_dependency 'logstash-output-elasticsearch'
31
30
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-input-couchdb_changes
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elasticsearch
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-21 00:00:00.000000000 Z
11
+ date: 2015-01-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: logstash
@@ -44,20 +44,6 @@ dependencies:
44
44
  version: '0'
45
45
  prerelease: false
46
46
  type: :runtime
47
- - !ruby/object:Gem::Dependency
48
- name: ftw
49
- version_requirements: !ruby/object:Gem::Requirement
50
- requirements:
51
- - - '>='
52
- - !ruby/object:Gem::Version
53
- version: 0.0.41
54
- requirement: !ruby/object:Gem::Requirement
55
- requirements:
56
- - - '>='
57
- - !ruby/object:Gem::Version
58
- version: 0.0.41
59
- prerelease: false
60
- type: :runtime
61
47
  - !ruby/object:Gem::Dependency
62
48
  name: json
63
49
  version_requirements: !ruby/object:Gem::Requirement
@@ -76,14 +62,14 @@ dependencies:
76
62
  name: ftw
77
63
  version_requirements: !ruby/object:Gem::Requirement
78
64
  requirements:
79
- - - '>='
65
+ - - ~>
80
66
  - !ruby/object:Gem::Version
81
- version: 0.0.41
67
+ version: 0.0.42
82
68
  requirement: !ruby/object:Gem::Requirement
83
69
  requirements:
84
- - - '>='
70
+ - - ~>
85
71
  - !ruby/object:Gem::Version
86
- version: 0.0.41
72
+ version: 0.0.42
87
73
  prerelease: false
88
74
  type: :development
89
75
  - !ruby/object:Gem::Dependency
@@ -121,6 +107,7 @@ extensions: []
121
107
  extra_rdoc_files: []
122
108
  files:
123
109
  - .gitignore
110
+ - CONTRIBUTORS
124
111
  - DEVELOPER.md
125
112
  - Gemfile
126
113
  - LICENSE