logstash-input-azure_blob_storage 0.12.3 → 0.12.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,27 +1,29 @@
1
1
  Gem::Specification.new do |s|
2
- s.name = 'logstash-input-azure_blob_storage'
3
- s.version = '0.12.3'
4
- s.licenses = ['Apache-2.0']
5
- s.summary = 'This logstash plugin reads and parses data from Azure Storage Blobs.'
6
- s.description = <<-EOF
2
+ s.name = 'logstash-input-azure_blob_storage'
3
+ s.version = '0.12.4'
4
+ s.licenses = ['Apache-2.0']
5
+ s.summary = 'This logstash plugin reads and parses data from Azure Storage Blobs.'
6
+ s.description = <<-EOF
7
7
  This gem is a Logstash plugin. It reads and parses data from Azure Storage Blobs. The azure_blob_storage is a reimplementation to replace azureblob from azure-diagnostics-tools/Logstash. It can deal with larger volumes and partial file reads and eliminating a delay when rebuilding the registry. Configuration examples can be found on https://github.com/janmg/logstash-input-azure_blob_storage
8
8
  EOF
9
- s.homepage = 'https://github.com/janmg/logstash-input-azure_blob_storage'
10
- s.authors = ['Jan Geertsma']
11
- s.email = 'jan@janmg.com'
12
- s.require_paths = ['lib']
9
+ s.homepage = 'https://github.com/janmg/logstash-input-azure_blob_storage'
10
+ s.authors = ['Jan Geertsma']
11
+ s.email = 'jan@janmg.com'
12
+ s.require_paths = ['lib']
13
13
 
14
- # Files
15
- s.files = Dir['lib/**/*','spec/**/*','vendor/**/*','*.gemspec','*.md','CONTRIBUTORS','Gemfile','LICENSE','NOTICE.TXT']
16
- # Tests
17
- s.test_files = s.files.grep(%r{^(test|spec|features)/})
14
+ # Files
15
+ s.files = Dir['lib/**/*','spec/**/*','vendor/**/*','*.gemspec','*.md','CONTRIBUTORS','Gemfile','LICENSE']
16
+ # Tests
17
+ s.test_files = s.files.grep(%r{^(test|spec|features)/})
18
18
 
19
- # Special flag to let us know this is actually a logstash plugin
20
- s.metadata = { "logstash_plugin" => "true", "logstash_group" => "input" }
19
+ # Special flag to let us know this is actually a logstash plugin
20
+ s.metadata = { "logstash_plugin" => "true", "logstash_group" => "input" }
21
21
 
22
- # Gem dependencies
23
- s.add_runtime_dependency 'logstash-core-plugin-api', '~> 2.0'
24
- s.add_runtime_dependency 'stud', '~> 0.0.23'
25
- s.add_runtime_dependency 'azure-storage-blob', '~> 2', '>= 2.0.3'
26
- s.add_development_dependency 'logstash-devutils'
22
+ # Gem dependencies
23
+ s.add_runtime_dependency 'logstash-core-plugin-api', '~> 2.0'
24
+ s.add_runtime_dependency 'stud', '~> 0.0.23'
25
+ s.add_runtime_dependency 'azure-storage-blob', '~> 2', '>= 2.0.3'
26
+
27
+ s.add_development_dependency 'logstash-devutils'
28
+ s.add_development_dependency 'rubocop'
27
29
  end
@@ -4,19 +4,15 @@ require "logstash/inputs/azure_blob_storage"
4
4
 
5
5
  describe LogStash::Inputs::AzureBlobStorage do
6
6
 
7
- it_behaves_like "an interruptible input plugin" do
8
- let(:config) { { "interval" => 100 } }
9
- end
7
+ it_behaves_like "an interruptible input plugin" do
8
+ let(:config) { { "interval" => 100 } }
9
+ end
10
10
 
11
- def test_val
12
- assert_qual('abc', val('letters=abc'))
13
- end
14
-
15
- def test_helper_methodes
16
- assert_equal('b', AzureBlobStorage.val('a=b'))
17
- assert_equal('whatever', AzureBlobStorage.strip_comma(',whatever'))
18
- assert_equal('whatever', AzureBlobStorage.strip_comma('whatever,'))
19
- assert_equal('whatever', AzureBlobStorage.strip_comma(',whatever,'))
20
- assert_equal('whatever', AzureBlobStorage.strip_comma('whatever'))
21
- end
11
+ def test_helper_methodes
12
+ assert_equal('b', AzureBlobStorage.val('a=b'))
13
+ assert_equal('whatever', AzureBlobStorage.strip_comma(',whatever'))
14
+ assert_equal('whatever', AzureBlobStorage.strip_comma('whatever,'))
15
+ assert_equal('whatever', AzureBlobStorage.strip_comma(',whatever,'))
16
+ assert_equal('whatever', AzureBlobStorage.strip_comma('whatever'))
17
+ end
22
18
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-input-azure_blob_storage
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.3
4
+ version: 0.12.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Geertsma
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-01-09 00:00:00.000000000 Z
11
+ date: 2022-09-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
@@ -72,6 +72,20 @@ dependencies:
72
72
  - - ">="
73
73
  - !ruby/object:Gem::Version
74
74
  version: '0'
75
+ - !ruby/object:Gem::Dependency
76
+ requirement: !ruby/object:Gem::Requirement
77
+ requirements:
78
+ - - ">="
79
+ - !ruby/object:Gem::Version
80
+ version: '0'
81
+ name: rubocop
82
+ prerelease: false
83
+ type: :development
84
+ version_requirements: !ruby/object:Gem::Requirement
85
+ requirements:
86
+ - - ">="
87
+ - !ruby/object:Gem::Version
88
+ version: '0'
75
89
  description: " This gem is a Logstash plugin. It reads and parses data from Azure\
76
90
  \ Storage Blobs. The azure_blob_storage is a reimplementation to replace azureblob\
77
91
  \ from azure-diagnostics-tools/Logstash. It can deal with larger volumes and partial\
@@ -91,7 +105,6 @@ files:
91
105
  - lib/logstash/inputs/azure_blob_storage.rb
92
106
  - logstash-input-azure_blob_storage.gemspec
93
107
  - spec/inputs/azure_blob_storage_spec.rb
94
- - spec/inputs/test.rb
95
108
  homepage: https://github.com/janmg/logstash-input-azure_blob_storage
96
109
  licenses:
97
110
  - Apache-2.0
@@ -113,10 +126,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
113
126
  - !ruby/object:Gem::Version
114
127
  version: '0'
115
128
  requirements: []
116
- rubygems_version: 3.1.6
129
+ rubygems_version: 3.2.29
117
130
  signing_key:
118
131
  specification_version: 4
119
132
  summary: This logstash plugin reads and parses data from Azure Storage Blobs.
120
133
  test_files:
121
134
  - spec/inputs/azure_blob_storage_spec.rb
122
- - spec/inputs/test.rb
data/spec/inputs/test.rb DELETED
@@ -1,11 +0,0 @@
1
- # encoding: utf-8
2
- require "logstash/devutils/rspec/spec_helper"
3
- require "logstash/inputs/test"
4
-
5
- describe LogStash::Inputs::Test do
6
-
7
- it_behaves_like "an interruptible input plugin" do
8
- let(:config) { { "interval" => 100 } }
9
- end
10
-
11
- end