fluent-plugin-sumologic-2 0.0.4 → 0.0.5

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: 46bda3c26972498aa9a0d588d27e7f264671fd6a
4
- data.tar.gz: d0b031550a259f7f0b70f87fd2b5a53bdb552acd
3
+ metadata.gz: 31b737e4630abca78b84f9d8c86cc2a8ec1e0ee7
4
+ data.tar.gz: b3daf325a35d3bbc72d8ec495bdc25c65dd9203a
5
5
  SHA512:
6
- metadata.gz: ec0540de56be46e14d27c4f6cdcbc49346ea2adc2ffd6f6903a7caf8357cf20de9c25d66dd86a303685d191dbba25b7e8fdab18e2d9992a7cce1aebe1171affe
7
- data.tar.gz: df41c4874aedc355c2fc7365c8bb252d7a35e2027b9dfc4295c2d8bdc9c225203287928618ff8fb00d40f963ef7bafd6b9cdf495098b9bfa07ebc15841801a5f
6
+ metadata.gz: 6d3e5c388afe5daf7db0d3318f77574c8a84616b0f84a714172f3aade64372f86860dcad369b1b30ec8d455ca121a6c592c54574fe4896b63db0d8d1e8ede314
7
+ data.tar.gz: 6cae552a0b19a2d445fe72e4a7593ddd39b0a7ae5916bfd476240cc72f879a964d2127391c033d31f1376dbcb55b3fb1f9e40e1325da3335f41ff1b421d59507
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = "fluent-plugin-sumologic-2"
7
- spec.version = "0.0.4"
7
+ spec.version = "0.0.5"
8
8
  spec.authors = ["memorycraft", "adambom"]
9
9
  spec.email = ["memorycraft@gmail.com", "adam.savitzky@gmail.com"]
10
10
  spec.description = %q{fluent plugin for sumologic}
@@ -66,10 +66,10 @@ class Fluent::SumologicOutput< Fluent::BufferedOutput
66
66
 
67
67
  http = Net::HTTP.new(@host, @port.to_i)
68
68
  proxy_string = if ENV['http_proxy'] then ENV['http_proxy'] else @proxy end
69
- if(proxy_string){
69
+ if proxy_string
70
70
  (proxy,proxy_port) = proxy_string.split(':')
71
71
  http = Net::HTTP::Proxy(proxy,proxy_port).new(@host, @port.to_i)
72
- }
72
+ end
73
73
  http.use_ssl = true
74
74
  http.verify_mode = @verify_ssl ? OpenSSL::SSL::VERIFY_PEER : OpenSSL::SSL::VERIFY_NONE
75
75
  http.set_debug_output $stderr
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-sumologic-2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - memorycraft