event_tracer 0.4.3 → 0.4.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/event_tracer/config.rb +15 -5
- data/lib/event_tracer/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1eb75aebdf04e2a3797b9cb77780ab1f1960846b9332899d466ef67e269f599d
|
4
|
+
data.tar.gz: 9ffcabba2a3435bab02a8e6e2929250ee5aa659069b1d006d29c3df084923a45
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fa666b368a2a7cdb565a850b460e0f763b195550cfdd640d9d7970709370cdc531eda7b48caab30b4687c00002bed32540511f3df4d83606ff1a33f6885b4698
|
7
|
+
data.tar.gz: 94dfdbc766ba5dcc02fac74d81ced3ed516d9a29ad578a8472810955aa66ffe0f92db1507593d2846951ff613e1524cb07fb37e8d8f2f4e7ae43b9db4c05161b
|
data/lib/event_tracer/config.rb
CHANGED
@@ -1,14 +1,24 @@
|
|
1
1
|
require 'dry-configurable'
|
2
|
+
require 'dry/configurable/version'
|
2
3
|
|
3
4
|
module EventTracer
|
4
5
|
class Config
|
5
6
|
extend Dry::Configurable
|
6
7
|
|
7
|
-
|
8
|
+
if Dry::Configurable::VERSION >= "0.13"
|
9
|
+
setting :app_name, default: 'app_name'
|
8
10
|
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
11
|
+
# TODO: switch to namespace in v1.0
|
12
|
+
setting :dynamo_db_table_name, default: 'logs'
|
13
|
+
setting :dynamo_db_client
|
14
|
+
setting :dynamo_db_queue_name, default: 'low'
|
15
|
+
else
|
16
|
+
setting :app_name, 'app_name'
|
17
|
+
|
18
|
+
# TODO: switch to namespace in v1.0
|
19
|
+
setting :dynamo_db_table_name, 'logs'
|
20
|
+
setting :dynamo_db_client
|
21
|
+
setting :dynamo_db_queue_name, 'low'
|
22
|
+
end
|
13
23
|
end
|
14
24
|
end
|
data/lib/event_tracer/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: event_tracer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- melvrickgoh
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-02-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: concurrent-ruby
|