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 +4 -4
- data/CHANGELOG.md +29 -0
- data/README.md +1 -1
- data/lib/bugsnag/delivery/fluent.rb +3 -0
- data/lib/bugsnag/delivery/fluent/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7ac769379295204652bde51d589e89ae23f51b67
|
4
|
+
data.tar.gz: 40cf2223757dab73138d54fb5bf993a6d40e7389
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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://
|
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
|
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.
|
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-
|
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
|