technologic 0.25.5 → 0.25.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/technologic.rb +3 -3
- data/lib/technologic/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8862051627d0660bf5af09d000c98fde7202bfdafa589abb169caaae0deade1a
|
4
|
+
data.tar.gz: e0d130ac7d14db924d3ba7e5de667677f5b76c84352597335c2fafa3c2351895
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2624b7de7926d4d9f094f817d6c09043522305c205c09b99b5df8b0ab51803d2a6032e8d49e012ebf5672bdd4de7f437e21a16df37946e13950afaf050ebcaae
|
7
|
+
data.tar.gz: 1ca96df750bfccf41267565aac1f084ff6b06d15c6e5f2615192d4fc7a19739ced8cd060d39e891dee767a7acabc782de4ce5700d4fa8e83e39ed8920a476fe8
|
data/lib/technologic.rb
CHANGED
@@ -75,8 +75,8 @@ module Technologic
|
|
75
75
|
|
76
76
|
raise ArgumentError, "Invalid severity: #{severity}" unless severity.to_sym.in?(SEVERITIES)
|
77
77
|
|
78
|
-
|
79
|
-
|
78
|
+
_tl_instrument(severity, "#{event}_started", **data)
|
79
|
+
_tl_instrument(severity, "#{event}_finished", &block)
|
80
80
|
end
|
81
81
|
|
82
82
|
SEVERITIES.each do |severity|
|
@@ -99,7 +99,7 @@ module Technologic
|
|
99
99
|
|
100
100
|
raise exception
|
101
101
|
else
|
102
|
-
|
102
|
+
_tl_instrument severity, exception.name.demodulize, message: message, **data, &block
|
103
103
|
raise exception, message
|
104
104
|
end
|
105
105
|
end
|
data/lib/technologic/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: technologic
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.25.
|
4
|
+
version: 0.25.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eric Garside
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - '='
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.25.
|
33
|
+
version: 0.25.6
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - '='
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 0.25.
|
40
|
+
version: 0.25.6
|
41
41
|
description: A clean and terse way to produce standardized, highly actionable, and
|
42
42
|
data-rich logs
|
43
43
|
email:
|
@@ -87,7 +87,7 @@ metadata:
|
|
87
87
|
homepage_uri: https://github.com/Freshly/spicerack/tree/master/technologic
|
88
88
|
source_code_uri: https://github.com/Freshly/spicerack/tree/master/technologic
|
89
89
|
changelog_uri: https://github.com/Freshly/spicerack/blob/master/technologic/CHANGELOG.md
|
90
|
-
documentation_uri: https://www.rubydoc.info/gems/technologic/0.25.
|
90
|
+
documentation_uri: https://www.rubydoc.info/gems/technologic/0.25.6
|
91
91
|
post_install_message:
|
92
92
|
rdoc_options: []
|
93
93
|
require_paths:
|