logstash-output-qingstor 0.3.4 → 0.3.5

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: 3c17d2f3c3498c58c9a99bfb78fb39e1dec09d1dd72d8a4c8c56c0c1ea500855
4
- data.tar.gz: dc01d1554f162363e75876155f0338b1efb740804cd673fd8afc047f51f02b71
3
+ metadata.gz: 64d8b5728b44d998c149b1688844f76eb0081da7d8a833461e57b4d00930cdbd
4
+ data.tar.gz: e1155278134ec0977fe7ad970b2f8acc373c894da1f9bac277f9fbfd36fa97a3
5
5
  SHA512:
6
- metadata.gz: 0c23b81601ac731bccb9214d45b67f9b44917947afa7de30e264972ace16720c4b1e8d309beefda4b97f8f1d5cdbe550d5504e3d19fdb1c8ec6adc53979792dc
7
- data.tar.gz: 5c06847d78b3f526b0ca671561923964a28a55f096f7dd17d73c66a2d56afa53b433eedcf93373a3e1a7a47c5006a89a3b69aa472e01381f16145b2c0853923e
6
+ metadata.gz: 1fa4285173f09630f00ce90e0ef7f11725197ed8c0f570bb4fbecf12fcaebb5ff6724393a4303ff759f80b45eb5f14ff69b4b9512f4dcea440d24ccf21bd4d67
7
+ data.tar.gz: 26353623d9435b71285a6c2c125fa856d38ecd0b44808edfd4fb7e39b638f82ccb9b5a08450d287dbee024c88858433dadc8fde50038e3a7901be74249aa6da4
@@ -1,3 +1,6 @@
1
+ ## 0.3.5
2
+ - spec: chang redirection error type
3
+
1
4
  ## 0.3.4
2
5
  - Change some events log level to 'info'
3
6
 
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'logstash-output-qingstor'
3
- s.version = '0.3.4'
3
+ s.version = '0.3.5'
4
4
  s.licenses = ['Apache-2.0']
5
5
  s.summary = 'logstash output plugin for qingstor'
6
6
  s.description = 'Collect the outputs of logstash and store into QingStor'
@@ -69,12 +69,12 @@ describe LogStash::Outputs::Qingstor do
69
69
  it 'redirect to the specified host without specified port' do
70
70
  new_options = options.merge('host' => 'qingstor.dev', 'port' => 444)
71
71
  expect { fetch_event(new_options, events_and_encoded) }
72
- .to raise_error(Net::HTTP::Persistent::Error)
72
+ .to raise_error(QingStor::SDK::NetworkError)
73
73
  end
74
74
 
75
75
  it 'redirect to the specified host without specified port' do
76
76
  new_options = options.merge('host' => 'qingstor.dev', 'port' => 444)
77
77
  expect { fetch_event(new_options, events_and_encoded) }
78
- .to raise_error(Net::HTTP::Persistent::Error)
78
+ .to raise_error(QingStor::SDK::NetworkError)
79
79
  end
80
80
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-output-qingstor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.4
4
+ version: 0.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Evan Zhao
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-02-01 00:00:00.000000000 Z
11
+ date: 2018-03-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement