logstash-codec-avro 0.1.5 → 2.0.1

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: d9c1b3c14872acb5cb2bdd2b634a332325324f68
4
- data.tar.gz: 3c8ca866d27207ba5e63c5e5104318361730bbae
3
+ metadata.gz: 648489fa5d5063086f68b90951c4ab5e1408c957
4
+ data.tar.gz: 76933f3b0e6129cc48d2f183a60f328b01c93c61
5
5
  SHA512:
6
- metadata.gz: 47ec492a293d19165fdf9a4c501f6082980d0950f7678014a73749a3cb62742a0a076af896f49fd1441644adbc287ad3ca506945c544318430f7e1575559630e
7
- data.tar.gz: e9372e35cd1650e95ffd3b4103ba0e2ca56ff1ee03cb056ab08acdab4ecdaa11102ea90e5035abd3fccf8b40ce4fca9a1a674438877ccaa83b00ca3161f1d7c1
6
+ metadata.gz: fbb81be1ccd8524c3d51af60b36927df4f7e93ebb43a617266496a38f962e656d8772af31da547b2ef0d5ab8c0e66d7d16b2cd7e262ec875c76c01566feba923
7
+ data.tar.gz: 9ed9b47678bedc78296ba5266dc01bfb8855eb19973b3e33e470692ed392e748beb10c1925ed6ff8daacbf26d820485d88dfe89ef4b555d71f909790ba7c3688
data/CHANGELOG.md CHANGED
@@ -0,0 +1,5 @@
1
+ ## 2.0.0
2
+ - Plugins were updated to follow the new shutdown semantic, this mainly allows Logstash to instruct input plugins to terminate gracefully,
3
+ instead of using Thread.raise on the plugins' threads. Ref: https://github.com/elastic/logstash/pull/3895
4
+ - Dependency on logstash-core update to 2.0
5
+
data/README.md CHANGED
@@ -1,15 +1,15 @@
1
1
  # Logstash Plugin
2
2
 
3
- This is a plugin for [Logstash](https://github.com/elasticsearch/logstash).
3
+ This is a plugin for [Logstash](https://github.com/elastic/logstash).
4
4
 
5
5
  It is fully free and fully open source. The license is Apache 2.0, meaning you are pretty much free to use it however you want in whatever way.
6
6
 
7
7
  ## Documentation
8
8
 
9
- Logstash provides infrastructure to automatically generate documentation for this plugin. We use the asciidoc format to write documentation so any comments in the source code will be first converted into asciidoc and then into html. All plugin documentation are placed under one [central location](http://www.elasticsearch.org/guide/en/logstash/current/).
9
+ Logstash provides infrastructure to automatically generate documentation for this plugin. We use the asciidoc format to write documentation so any comments in the source code will be first converted into asciidoc and then into html. All plugin documentation are placed under one [central location](http://www.elastic.co/guide/en/logstash/current/).
10
10
 
11
11
  - For formatting code or config example, you can use the asciidoc `[source,ruby]` directive
12
- - For more asciidoc formatting tips, see the excellent reference here https://github.com/elasticsearch/docs#asciidoc-guide
12
+ - For more asciidoc formatting tips, see the excellent reference here https://github.com/elastic/docs#asciidoc-guide
13
13
 
14
14
  ## Need Help?
15
15
 
@@ -83,4 +83,4 @@ Programming is not a required skill. Whatever you've seen about open source and
83
83
 
84
84
  It is more important to the community that you are able to contribute.
85
85
 
86
- For more information about contributing, see the [CONTRIBUTING](https://github.com/elasticsearch/logstash/blob/master/CONTRIBUTING.md) file.
86
+ For more information about contributing, see the [CONTRIBUTING](https://github.com/elastic/logstash/blob/master/CONTRIBUTING.md) file.
@@ -12,20 +12,20 @@ require "logstash/util"
12
12
  # Avro datums, as well as deserializing Avro datums into
13
13
  # Logstash events.
14
14
  #
15
- # === Encoding
15
+ # ==== Encoding
16
16
  #
17
17
  # This codec is for serializing individual Logstash events
18
18
  # as Avro datums that are Avro binary blobs. It does not encode
19
19
  # Logstash events into an Avro file.
20
20
  #
21
21
  #
22
- # === Decoding
22
+ # ==== Decoding
23
23
  #
24
24
  # This codec is for deserializing individual Avro records. It is not for reading
25
25
  # Avro files. Avro files have a unique format that must be handled upon input.
26
26
  #
27
27
  #
28
- # === Usage
28
+ # ==== Usage
29
29
  # Example usage with Kafka input.
30
30
  #
31
31
  # [source,ruby]
@@ -50,11 +50,12 @@ class LogStash::Codecs::Avro < LogStash::Codecs::Base
50
50
  config_name "avro"
51
51
 
52
52
 
53
- # schema path to fetch the schema from
53
+ # schema path to fetch the schema from.
54
54
  # This can be a 'http' or 'file' scheme URI
55
55
  # example:
56
- # http - "http://example.com/schema.avsc"
57
- # file - "/path/to/schema.avsc"
56
+ #
57
+ # * http - `http://example.com/schema.avsc`
58
+ # * file - `/path/to/schema.avsc`
58
59
  config :schema_uri, :validate => :string, :required => true
59
60
 
60
61
  def open_and_read(uri_string)
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
 
3
3
  s.name = 'logstash-codec-avro'
4
- s.version = '0.1.5'
4
+ s.version = '2.0.1'
5
5
  s.licenses = ['Apache License (2.0)']
6
6
  s.summary = "Encode and decode avro formatted data"
7
7
  s.description = "Encode and decode avro formatted data"
@@ -11,7 +11,7 @@ Gem::Specification.new do |s|
11
11
  s.require_paths = ["lib"]
12
12
 
13
13
  # Files
14
- s.files = `git ls-files`.split($\)
14
+ s.files = Dir['lib/**/*','spec/**/*','vendor/**/*','*.gemspec','*.md','CONTRIBUTORS','Gemfile','LICENSE','NOTICE.TXT']
15
15
 
16
16
  # Tests
17
17
  s.test_files = s.files.grep(%r{^(test|spec|features)/})
@@ -20,7 +20,7 @@ Gem::Specification.new do |s|
20
20
  s.metadata = { "logstash_plugin" => "true", "logstash_group" => "codec" }
21
21
 
22
22
  # Gem dependencies
23
- s.add_runtime_dependency "logstash-core", '>= 1.4.0', '< 2.0.0'
23
+ s.add_runtime_dependency "logstash-core", ">= 2.0.0.snapshot", "< 3.0.0"
24
24
 
25
25
  s.add_runtime_dependency "avro" #(Apache 2.0 license)
26
26
 
metadata CHANGED
@@ -1,70 +1,69 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-codec-avro
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elastic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-08-04 00:00:00.000000000 Z
11
+ date: 2015-10-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: logstash-core
15
- version_requirements: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - '>='
18
- - !ruby/object:Gem::Version
19
- version: 1.4.0
20
- - - <
21
- - !ruby/object:Gem::Version
22
- version: 2.0.0
23
14
  requirement: !ruby/object:Gem::Requirement
24
15
  requirements:
25
16
  - - '>='
26
17
  - !ruby/object:Gem::Version
27
- version: 1.4.0
18
+ version: 2.0.0.snapshot
28
19
  - - <
29
20
  - !ruby/object:Gem::Version
30
- version: 2.0.0
21
+ version: 3.0.0
22
+ name: logstash-core
31
23
  prerelease: false
32
24
  type: :runtime
33
- - !ruby/object:Gem::Dependency
34
- name: avro
35
25
  version_requirements: !ruby/object:Gem::Requirement
36
26
  requirements:
37
27
  - - '>='
38
28
  - !ruby/object:Gem::Version
39
- version: '0'
29
+ version: 2.0.0.snapshot
30
+ - - <
31
+ - !ruby/object:Gem::Version
32
+ version: 3.0.0
33
+ - !ruby/object:Gem::Dependency
40
34
  requirement: !ruby/object:Gem::Requirement
41
35
  requirements:
42
36
  - - '>='
43
37
  - !ruby/object:Gem::Version
44
38
  version: '0'
39
+ name: avro
45
40
  prerelease: false
46
41
  type: :runtime
47
- - !ruby/object:Gem::Dependency
48
- name: logstash-devutils
49
42
  version_requirements: !ruby/object:Gem::Requirement
50
43
  requirements:
51
44
  - - '>='
52
45
  - !ruby/object:Gem::Version
53
46
  version: '0'
47
+ - !ruby/object:Gem::Dependency
54
48
  requirement: !ruby/object:Gem::Requirement
55
49
  requirements:
56
50
  - - '>='
57
51
  - !ruby/object:Gem::Version
58
52
  version: '0'
53
+ name: logstash-devutils
59
54
  prerelease: false
60
55
  type: :development
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - '>='
59
+ - !ruby/object:Gem::Version
60
+ version: '0'
61
61
  description: Encode and decode avro formatted data
62
62
  email: info@elastic.co
63
63
  executables: []
64
64
  extensions: []
65
65
  extra_rdoc_files: []
66
66
  files:
67
- - .gitignore
68
67
  - CHANGELOG.md
69
68
  - CONTRIBUTORS
70
69
  - DEVELOPER.md
@@ -72,7 +71,6 @@ files:
72
71
  - LICENSE
73
72
  - NOTICE.TXT
74
73
  - README.md
75
- - Rakefile
76
74
  - lib/logstash/codecs/avro.rb
77
75
  - logstash-codec-avro.gemspec
78
76
  - spec/codecs/avro_spec.rb
@@ -98,7 +96,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
98
96
  version: '0'
99
97
  requirements: []
100
98
  rubyforge_project:
101
- rubygems_version: 2.1.9
99
+ rubygems_version: 2.4.8
102
100
  signing_key:
103
101
  specification_version: 4
104
102
  summary: Encode and decode avro formatted data
data/.gitignore DELETED
@@ -1,3 +0,0 @@
1
- *.gem
2
- Gemfile.lock
3
- .bundle
data/Rakefile DELETED
@@ -1,7 +0,0 @@
1
- @files=[]
2
-
3
- task :default do
4
- system("rake -T")
5
- end
6
-
7
- require "logstash/devutils/rake"