bugsnag-delivery-fluent 0.2.2 → 0.2.3

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: 429b8232aae18a10307d37a5a8f87965f5335d2d
4
- data.tar.gz: 92bc528b63b5d1ffadebaf3bbe12dbf5fc4104fc
3
+ metadata.gz: 7ac769379295204652bde51d589e89ae23f51b67
4
+ data.tar.gz: 40cf2223757dab73138d54fb5bf993a6d40e7389
5
5
  SHA512:
6
- metadata.gz: 2153af654da1b4bf79ca77ca7f7eb8c797791bd2d022025ed52dae36230d02a4d4b9d939286c329c6f7d6b380aac8d0f30599242545228df31b68528a5b1863f
7
- data.tar.gz: 89c47450a2a268d2eba2f119d019f2583cdf055a78f295cc55b59b8678f74cd4fb988900fa1f00848fae95766f298f4fb516eb660d3e93c348db2913973b15a7
6
+ metadata.gz: 3985cfa4d77e126ef1aaf3c27624b0c1271d91a867a84b9d08ad3459b7540708b690c017a3d3bd357b1ce2ecd8aee76f7d7000f6832e62021ec5e767f085bb7d
7
+ data.tar.gz: 660fc9730921fbca2a2b4093f73d5940a4164a013274f766c58a89e7eb2cc5d6ce7b6f0c47e976f5e92d12b2a1f8db78f6ab58d28cacb0f08d08967d73ae9a67
data/CHANGELOG.md ADDED
@@ -0,0 +1,29 @@
1
+ Changelog
2
+ ====
3
+
4
+
5
+ [unreleased](https://github.com/feedforce/bugsnag-delivery-fluent/compare/v0.2.3...master)
6
+ ----
7
+
8
+ [Full Changelog](https://github.com/feedforce/bugsnag-delivery-fluent/compare/v0.2.3...master)
9
+
10
+ ### Enhancements:
11
+
12
+ ### Fixed Bugs:
13
+
14
+ ### Breaking Changes:
15
+
16
+
17
+ [v0.2.3](https://github.com/feedforce/bugsnag-delivery-fluent/compare/v0.2.2...v0.2.3)
18
+ ----
19
+
20
+ [Full Changelog](https://github.com/feedforce/bugsnag-delivery-fluent/compare/v0.2.2...v0.2.3)
21
+
22
+ ### Enhancements:
23
+
24
+ ### Fixed Bugs:
25
+
26
+ - [#6](https://github.com/feedforce/bugsnag-delivery-fluent/pull/6) Close connection after deliver data
27
+
28
+ ### Breaking Changes:
29
+
data/README.md CHANGED
@@ -1,5 +1,5 @@
1
1
  [![Gem Version](https://badge.fury.io/rb/bugsnag-delivery-fluent.svg)](http://badge.fury.io/rb/bugsnag-delivery-fluent)
2
- ![Build Status](https://circleci.com/gh/feedforce/bugsnag-delivery-fluent.svg?style=shield)
2
+ [![Build Status](https://travis-ci.org/feedforce/bugsnag-delivery-fluent.svg?branch=master)](https://travis-ci.org/feedforce/bugsnag-delivery-fluent)
3
3
 
4
4
  # Bugsnag::Delivery::Fluent
5
5
 
@@ -24,6 +24,7 @@ module Bugsnag
24
24
  module Delivery
25
25
  class Fluent
26
26
  def self.deliver(url, body, configuration, options = {})
27
+ logger = nil
27
28
  begin
28
29
  logger = ::Fluent::Logger::FluentLogger.new(
29
30
  configuration.fluent_tag_prefix,
@@ -40,6 +41,8 @@ module Bugsnag
40
41
 
41
42
  configuration.warn("Notification to #{url} failed, #{e.inspect}")
42
43
  configuration.warn(e.backtrace)
44
+ ensure
45
+ logger.close if logger
43
46
  end
44
47
  end
45
48
  end
@@ -1,7 +1,7 @@
1
1
  module Bugsnag
2
2
  module Delivery
3
3
  class Fluent
4
- VERSION = "0.2.2"
4
+ VERSION = "0.2.3"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bugsnag-delivery-fluent
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - koshigoe
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-01-30 00:00:00.000000000 Z
11
+ date: 2018-10-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -110,6 +110,7 @@ files:
110
110
  - ".gitignore"
111
111
  - ".rspec"
112
112
  - ".travis.yml"
113
+ - CHANGELOG.md
113
114
  - Gemfile
114
115
  - README.md
115
116
  - Rakefile