technologic 0.25.5 → 0.26.0.2
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 +4 -4
- data/README.md +1 -1
- data/lib/technologic.rb +4 -6
- data/lib/technologic/version.rb +1 -1
- metadata +10 -10
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2813bbddeb361d147e2882a1d1a9116e1f8fa460478d42291f70f99ed5c183da
|
|
4
|
+
data.tar.gz: 07520744a7168ab0cb481b5d10fec1c14de98008c106f32eaac502dbb33ba205
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 608476abb95596996295f88453db09704729dc97a5fe800297665e3c29f3dcc8c8f2cdb0fb83aeffbddd4076ebef765e3e96cae46ea51428afe46e09c71bbe42
|
|
7
|
+
data.tar.gz: 3742b7ede2db7f98cc38324e3d6bd06ab43ad0236ebf8fd6da5101f54901d24ff3a369bb1c57fc35f1c937638aa5631a20edc893614af460339f362942971066
|
data/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
A clean and terse way to produce standardized, highly actionable, and data-rich logs
|
|
4
4
|
|
|
5
5
|
[](https://badge.fury.io/rb/technologic)
|
|
6
|
-
[](https://semaphoreci.com/freshly/spicerack)
|
|
7
7
|
[](https://codeclimate.com/github/Freshly/spicerack/maintainability)
|
|
8
8
|
[](https://codeclimate.com/github/Freshly/spicerack/test_coverage)
|
|
9
9
|
|
data/lib/technologic.rb
CHANGED
|
@@ -56,9 +56,7 @@ module Technologic
|
|
|
56
56
|
# Targeted workaround for ActiveJob#instrument in Rails 6.1+
|
|
57
57
|
return super if defined?(ActiveJob) && self.class <= ActiveJob::Base && ActiveJob.version >= ACTIVEJOB_WORKAROUND_FIRST_VERSION
|
|
58
58
|
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
_tl_instrument(*args, **opts, &block)
|
|
59
|
+
self.class.instrument(*args, **opts, &block)
|
|
62
60
|
end
|
|
63
61
|
|
|
64
62
|
module ClassMethods
|
|
@@ -75,8 +73,8 @@ module Technologic
|
|
|
75
73
|
|
|
76
74
|
raise ArgumentError, "Invalid severity: #{severity}" unless severity.to_sym.in?(SEVERITIES)
|
|
77
75
|
|
|
78
|
-
|
|
79
|
-
|
|
76
|
+
_tl_instrument(severity, "#{event}_started", **data)
|
|
77
|
+
_tl_instrument(severity, "#{event}_finished", &block)
|
|
80
78
|
end
|
|
81
79
|
|
|
82
80
|
SEVERITIES.each do |severity|
|
|
@@ -99,7 +97,7 @@ module Technologic
|
|
|
99
97
|
|
|
100
98
|
raise exception
|
|
101
99
|
else
|
|
102
|
-
|
|
100
|
+
_tl_instrument severity, exception.name.demodulize, message: message, **data, &block
|
|
103
101
|
raise exception, message
|
|
104
102
|
end
|
|
105
103
|
end
|
data/lib/technologic/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: technologic
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.26.0.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Eric Garside
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-
|
|
11
|
+
date: 2021-04-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activesupport
|
|
@@ -30,14 +30,14 @@ dependencies:
|
|
|
30
30
|
requirements:
|
|
31
31
|
- - '='
|
|
32
32
|
- !ruby/object:Gem::Version
|
|
33
|
-
version: 0.
|
|
33
|
+
version: 0.26.0.2
|
|
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.
|
|
40
|
+
version: 0.26.0.2
|
|
41
41
|
description: A clean and terse way to produce standardized, highly actionable, and
|
|
42
42
|
data-rich logs
|
|
43
43
|
email:
|
|
@@ -80,14 +80,14 @@ files:
|
|
|
80
80
|
- lib/technologic/subscriber/event_handling.rb
|
|
81
81
|
- lib/technologic/version.rb
|
|
82
82
|
- lib/technologic/warn_subscriber.rb
|
|
83
|
-
homepage: https://github.com/Freshly/spicerack/tree/
|
|
83
|
+
homepage: https://github.com/Freshly/spicerack/tree/main/technologic
|
|
84
84
|
licenses:
|
|
85
85
|
- MIT
|
|
86
86
|
metadata:
|
|
87
|
-
homepage_uri: https://github.com/Freshly/spicerack/tree/
|
|
88
|
-
source_code_uri: https://github.com/Freshly/spicerack/tree/
|
|
89
|
-
changelog_uri: https://github.com/Freshly/spicerack/blob/
|
|
90
|
-
documentation_uri: https://www.rubydoc.info/gems/technologic/0.
|
|
87
|
+
homepage_uri: https://github.com/Freshly/spicerack/tree/main/technologic
|
|
88
|
+
source_code_uri: https://github.com/Freshly/spicerack/tree/main/technologic
|
|
89
|
+
changelog_uri: https://github.com/Freshly/spicerack/blob/main/technologic/CHANGELOG.md
|
|
90
|
+
documentation_uri: https://www.rubydoc.info/gems/technologic/0.26.0.2
|
|
91
91
|
post_install_message:
|
|
92
92
|
rdoc_options: []
|
|
93
93
|
require_paths:
|
|
@@ -103,7 +103,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
103
103
|
- !ruby/object:Gem::Version
|
|
104
104
|
version: '0'
|
|
105
105
|
requirements: []
|
|
106
|
-
rubygems_version: 3.1.
|
|
106
|
+
rubygems_version: 3.1.6
|
|
107
107
|
signing_key:
|
|
108
108
|
specification_version: 4
|
|
109
109
|
summary: Logging system built on an extensible event triggering system requiring minimal
|