logstash-input-azure_blob_storage 0.10.6 → 0.10.7

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
  SHA256:
3
- metadata.gz: 409d47c61b8f38963281ca655d7664bba48c6d311adbcbbbb6a4e2e5d0356363
4
- data.tar.gz: 1648a2174502fb84d015bcb1b76f192c7c7583b3e71ce5ec738ee20da12d0f8b
3
+ metadata.gz: 1d724246f3b086f02716a7eafba64cbf18f07553623ca3d98f70d48cd6bdcb5f
4
+ data.tar.gz: 5631a24d37b769b8efbf372bb90304c06c9f25fc43b80be70047c3477499dca7
5
5
  SHA512:
6
- metadata.gz: '0795b03a70aee648d1cd7c951c1f3bc6fc6d8bc3989098ed4982e1011f66cca7a83c77a366351db00254cf3b2ee3b3b1389d8db0f2e9fc2d6424e7218c470a06'
7
- data.tar.gz: 85e0d362dfacc7369fdb04e4dc47ea3754ba64c175029bc8c46e0ce14fd30ad2a0660f9b051f0b93eeb5ddffd6b6f06a111819116cbb7e07f20d9e310f418e2d
6
+ metadata.gz: c43a79fe53cc185dead527b0705dce6d68754f068e035fc068c57c8b9b79a9a9ae7f3e6bf89c342c76b3035ea73309d86709d677736981fe6b02fec85e311e4e
7
+ data.tar.gz: e658c02488625a4accfd60a647cf3839bb49bbbad3b9f37534808af1fbab860d90f4aebf4f984f3eaedbb1cf7e25ad26adc8463d1ab174bc002250a997e9fd3e
@@ -214,7 +214,7 @@ def run(queue)
214
214
  now = Time.now.to_i
215
215
  if ((now - chrono) > interval)
216
216
  save_registry(@registry)
217
- chrono =+ interval
217
+ chrono += interval
218
218
  end
219
219
  end
220
220
  # Save the registry and sleep until the remaining polling interval is over
@@ -343,6 +343,8 @@ end
343
343
 
344
344
  def learn_encapsulation
345
345
  # From one file, read first block and last block to learn head and tail
346
+ # If the blobstorage can't be found, an error from farraday middleware will come with the text
347
+ # org.jruby.ext.set.RubySet cannot be cast to class org.jruby.RubyFixnum
346
348
  blob = @blob_client.list_blobs(container, { maxresults: 1, prefix: @prefix }).first
347
349
  return if blob.nil?
348
350
  blocks = @blob_client.list_blob_blocks(container, blob.name)[:committed]
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'logstash-input-azure_blob_storage'
3
- s.version = '0.10.6'
3
+ s.version = '0.10.7'
4
4
  s.licenses = ['Apache-2.0']
5
5
  s.summary = 'This logstash plugin reads and parses data from Azure Storage Blobs.'
6
6
  s.description = <<-EOF
@@ -20,8 +20,8 @@ EOF
20
20
  s.metadata = { "logstash_plugin" => "true", "logstash_group" => "input" }
21
21
 
22
22
  # Gem dependencies
23
- s.add_runtime_dependency "logstash-core-plugin-api", "~> 2.0"
24
- s.add_runtime_dependency 'stud', '~> 0.0.22'
25
- s.add_runtime_dependency 'azure-storage-blob', '~> 1.0'
23
+ s.add_runtime_dependency "logstash-core-plugin-api", "~> 2.1"
24
+ s.add_runtime_dependency 'stud', '~> 0.0.23'
25
+ s.add_runtime_dependency 'azure-storage-blob', '~> 1.1'
26
26
  s.add_development_dependency 'logstash-devutils', '~> 1.0', '>= 1.0.0'
27
27
  end
metadata CHANGED
@@ -1,21 +1,21 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-input-azure_blob_storage
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.6
4
+ version: 0.10.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Geertsma
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-08-07 00:00:00.000000000 Z
11
+ date: 2019-11-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
15
15
  requirements:
16
16
  - - "~>"
17
17
  - !ruby/object:Gem::Version
18
- version: '2.0'
18
+ version: '2.1'
19
19
  name: logstash-core-plugin-api
20
20
  prerelease: false
21
21
  type: :runtime
@@ -23,13 +23,13 @@ dependencies:
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '2.0'
26
+ version: '2.1'
27
27
  - !ruby/object:Gem::Dependency
28
28
  requirement: !ruby/object:Gem::Requirement
29
29
  requirements:
30
30
  - - "~>"
31
31
  - !ruby/object:Gem::Version
32
- version: 0.0.22
32
+ version: 0.0.23
33
33
  name: stud
34
34
  prerelease: false
35
35
  type: :runtime
@@ -37,13 +37,13 @@ dependencies:
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 0.0.22
40
+ version: 0.0.23
41
41
  - !ruby/object:Gem::Dependency
42
42
  requirement: !ruby/object:Gem::Requirement
43
43
  requirements:
44
44
  - - "~>"
45
45
  - !ruby/object:Gem::Version
46
- version: '1.0'
46
+ version: '1.1'
47
47
  name: azure-storage-blob
48
48
  prerelease: false
49
49
  type: :runtime
@@ -51,7 +51,7 @@ dependencies:
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '1.0'
54
+ version: '1.1'
55
55
  - !ruby/object:Gem::Dependency
56
56
  requirement: !ruby/object:Gem::Requirement
57
57
  requirements: