rt-logman 0.11.0 → 0.12.0

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: 3532e63f6b57a4160f02ef0d59b85b66ebb8eff6
4
- data.tar.gz: 728484d7773b6767795a6a1b1cb474fb55e6bab3
3
+ metadata.gz: 33569fa0727a96e335b0b8a6c70ecaaf5f575793
4
+ data.tar.gz: 5cd0831f149099f44ffded9bf4284411bd6e308b
5
5
  SHA512:
6
- metadata.gz: 3c975db44a0a5d3721f2fc81267d45a4a7ba4c9e1a75841c0506ff5abdc29df2a51713a0654772d247c87f350e1a6c93cea47a82da7aad193856d5dc0c29e7fc
7
- data.tar.gz: 5435f732788c988d6303a6c56783ccea9e09edb0251f64c04d3830098729a38c54a9446294fbedce1fc877602e8fa825ec255f3c468fdf7f817df11e0324225e
6
+ metadata.gz: 3e2fccba22a26a3afe05f0d0dd79b59f7849a2687e2d4647671b229644f7ee80c7a9f198581ab6284dd7acc2d496580b42eb3c8131507142033bc46dba02440c
7
+ data.tar.gz: 492d8d201abb4740de1d3cecefb1ec5cc37294854117cb2c5a463b12f98020eeea3cf32c5e0ee569f02fe636f7029ad512c53a3cfcf8cde1a1a91510c74f6514
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rt-logman (0.11.0)
4
+ rt-logman (0.12.0)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -1,3 +1,3 @@
1
1
  class Logman
2
- VERSION = "0.11.0".freeze
2
+ VERSION = "0.12.0".freeze
3
3
  end
data/lib/logman.rb CHANGED
@@ -61,9 +61,11 @@ class Logman
61
61
 
62
62
  logger.info("#{name}-started")
63
63
 
64
- yield(logger)
64
+ result = yield(logger)
65
65
 
66
66
  logger.info("#{name}-finished")
67
+
68
+ result
67
69
  rescue StandardError => exception
68
70
  logger.error("#{name}-failed", :type => exception.class.name, :message => exception.message)
69
71
  raise
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rt-logman
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.0
4
+ version: 0.12.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rendered Text
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-12-12 00:00:00.000000000 Z
11
+ date: 2017-12-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler