redcord 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/redcord/tracer.rb +2 -2
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 243af4e2e05e9b611adabe523330b170d853434920ca81530e081d63790c871a
4
- data.tar.gz: 24baac2c7c4eb7d2d6f0dc9a90988b77461d95b683e01cc18892ba1a5894f6a1
3
+ metadata.gz: c3f218b4829ef5112feb7c61b40ddb8f745a12f7d714d591265e9903d669be23
4
+ data.tar.gz: b5bafa5a3b51d4bb2a94322ab2600b1bb09e8ef406500586976ebb049213a1ec
5
5
  SHA512:
6
- metadata.gz: f3b81515ee166f4c57bc2c2a1f4abb9b11d5e32aa349b5ec748503e4b689edfaf64b2caa4e23e3ce8ce3a0c0b628929fa6a848f445fc0eed9990b0a43d1e12a1
7
- data.tar.gz: c6a6fd2af78a0d53fdf5aa26b3673d3c2bdbac716fa8dfefb6b14b8793512daf5764857b5033573078ccdb66cb0e2a13fd2e1040dc201978073f972880b667b4
6
+ metadata.gz: 2a4e447a16debc8fcec99cc4500712e07a0efd8f7af0b826200c8fa00803f644d906f2679387a4e884bb048662f890b43bbe02883bf10688bff4eee6caa47d07
7
+ data.tar.gz: e9f5e5582a91f57e2cdaf710518f34d43da3275ac753564d4fc12c94a45e3590d64a4d96e32ef1a45a66e80b062aaa25b08a86d9d0fdfc58f4144eea9f98d065
@@ -22,11 +22,11 @@ module Redcord::Tracer
22
22
  params(
23
23
  span_name: String,
24
24
  model_name: String,
25
- tags: T::Array[String],
25
+ tags: T::Hash[String, String],
26
26
  blk: T.proc.returns(T.untyped),
27
27
  ).returns(T.untyped)
28
28
  }
29
- def trace(span_name, model_name:, tags: [], &blk)
29
+ def trace(span_name, model_name:, tags: {}, &blk)
30
30
  return blk.call if @@tracer.nil?
31
31
 
32
32
  @@tracer.call.trace(
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: redcord
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chan Zuckerberg Initiative