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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f13a5619d77a274784538f42abb8121d19f91fc24f4d2def934e9430aa232410
4
- data.tar.gz: f281a954af8e3d1e38fc6640ca9ca971ae46b2ea567f80b6d569a4e432fe117f
3
+ metadata.gz: 1eb75aebdf04e2a3797b9cb77780ab1f1960846b9332899d466ef67e269f599d
4
+ data.tar.gz: 9ffcabba2a3435bab02a8e6e2929250ee5aa659069b1d006d29c3df084923a45
5
5
  SHA512:
6
- metadata.gz: f24211641d5b8f3ae7e6006122b2f8dc3af0403249e8149dcc64caf479d07cf6b7d96aae8ae7295a048935c1a9b38fa769a2f1ea6cdce2243f8a0bb7bea90cbe
7
- data.tar.gz: c5c85f05628fbeb39878f2ba9dd04a87fb0d02f284f09b827cedf69454154d7a8db0d3d224d85456d01c4152f28d661bf4d5eda7ec9d943ed2d756e38611cf6f
6
+ metadata.gz: fa666b368a2a7cdb565a850b460e0f763b195550cfdd640d9d7970709370cdc531eda7b48caab30b4687c00002bed32540511f3df4d83606ff1a33f6885b4698
7
+ data.tar.gz: 94dfdbc766ba5dcc02fac74d81ced3ed516d9a29ad578a8472810955aa66ffe0f92db1507593d2846951ff613e1524cb07fb37e8d8f2f4e7ae43b9db4c05161b
@@ -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
- setting :app_name, default: 'app_name'
8
+ if Dry::Configurable::VERSION >= "0.13"
9
+ setting :app_name, default: 'app_name'
8
10
 
9
- # TODO: switch to namespace in v1.0
10
- setting :dynamo_db_table_name, default: 'logs'
11
- setting :dynamo_db_client
12
- setting :dynamo_db_queue_name, default: 'low'
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
@@ -1,3 +1,3 @@
1
1
  module EventTracer
2
- VERSION = '0.4.3'.freeze
2
+ VERSION = '0.4.4'.freeze
3
3
  end
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.3
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-01-27 00:00:00.000000000 Z
11
+ date: 2022-02-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: concurrent-ruby