jcw 0.1.0 → 0.1.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 47920cfcec226ff9785a16c1297f9a7aafc571db02c0d2a2b27f66440d6d874f
4
- data.tar.gz: c90c9a5636ae6c7827074cd1b64329999f21a098d3c04b92fe3a5da085aaaad5
3
+ metadata.gz: e8fc0e3e0c34e18f281b228fc45782f30109ba9125c6730ff170982f9c683e5c
4
+ data.tar.gz: 4ac948f3822db7891f59919616302077757c6ef0a71f6e2a4a09c06ced413241
5
5
  SHA512:
6
- metadata.gz: 91dea8b748dbc92f865113b8066a57cf84fbf6ccea64ede2dedf9dcc02f2b33f6fe315182efcd209746c00f0889d863239ef86991adba8f946e9f27b8d536b0a
7
- data.tar.gz: 6d8ed800f4b0a113f73546943d0f87bb2ca8ce9b71fc6e6c740c5411c266c94e94dab113e9944ef27db047b067d4dbe194ab782c329d9ac47fd5b99c3239bf58
6
+ metadata.gz: 9e75ea2fb98b023b70b2cf7b84074a9ec4a6bef9f7a901d48da09ac6a9f1b63c4b9b6d9838f83658729e602c27bcf739fa869437d95022bd0b92060f92cf3239
7
+ data.tar.gz: 5b5c8c1248f89e9fc28a82b3dab536da66115c34e03254cbb3822e5123076998c4b9674969343766f9b51a6ad14bcf78d99fa6620a353af549f4536968d7a3d7
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- jcw (0.1.0)
4
+ jcw (0.1.2)
5
5
  activesupport (>= 5.0)
6
6
  httprb-opentracing (~> 0.4.0)
7
7
  jaeger-client (~> 1.1.0)
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # JCW · [![Supporting](https://github.com/Cado-Labs/cado-labs-logos/blob/main/cado_labs_badge.png)](https://github.com/Cado-Labs/) · [![Coverage Status](https://coveralls.io/repos/github/Cado-Labs/jcw/badge.svg?branch=gem-without-zeitwerk)](https://coveralls.io/github/Cado-Labs/jcw?branch=gem-without-zeitwerk)
1
+ # JCW · [![Supporting](https://github.com/Cado-Labs/cado-labs-logos/blob/main/cado_labs_badge.png)](https://github.com/Cado-Labs/) · [![Coverage Status](https://coveralls.io/repos/github/Cado-Labs/jcw/badge.svg?branch=gem-without-zeitwerk)](https://coveralls.io/github/Cado-Labs/jcw?branch=gem-without-zeitwerk) · [![Gem Version](https://badge.fury.io/rb/jcw.svg)](https://badge.fury.io/rb/jcw)
2
2
 
3
3
  Simple wrapper for the gem "jaeger-client" with simpler customization.
4
4
 
data/lib/jcw/init.rb CHANGED
@@ -14,7 +14,7 @@ module JCW
14
14
  def init_jaeger_client
15
15
  return unless config.enabled?
16
16
 
17
- reporter = config.connection[:protocol] == :tcp ? tcp_reporter : nil
17
+ reporter = config.connection[:protocol].to_sym == :tcp ? tcp_reporter : nil
18
18
 
19
19
  OpenTracing.global_tracer = Jaeger::Client.build(
20
20
  service_name: config.service_name,
data/lib/jcw/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module JCW
4
- VERSION = "0.1.0"
4
+ VERSION = "0.1.2"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jcw
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexander Starovojtov