opentelemetry-instrumentation-ruby_kafka 0.18.2 → 0.18.3

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: b4b804f1fa1612b4f5051c512563f2645f5016b29b20e4b486bb8ea11a4f9bd6
4
- data.tar.gz: dbccf84048eb80127b85f256431db29659cd8c037b2c60340b602d01c3404024
3
+ metadata.gz: 3c197d8f9658380579166a37e44625baeece12899ed428cf9f82c4e451fc2edf
4
+ data.tar.gz: 201ecc2e0eb0c5856b390f7dd4099ae7ce0089be871f15bd0418fff12f6609bc
5
5
  SHA512:
6
- metadata.gz: eb7086bdf50d6ba22b513592150b9a17a0d1d662639a52039c843ea49d7fabef7c3d70565a96bb7be50cc0254a5728abad7b4e96f4f1dcff6ebc4ba0efead1fd
7
- data.tar.gz: 8d3546c20421e33edc284e515032c1d59df42c5a81578dff6169a390ebe138d55af8428eb66e288127be63ee49906f24bcc96c1cb6b973a6ad4ce74ddddb4a87
6
+ metadata.gz: 573936f80cf6ff98ad603bb73d86e1a96581c922b1b32195d40168a8fd9b2a9d82984afb2fb0d471673c613f1560d13f1b0f98959f17989f65e2d5c1728721e2
7
+ data.tar.gz: adf455e7acfb9712be7e6fc1db17657bd7aa3dccf489b9af7c155a2733bfc70c011fd80ad60360081b1d8ab1035ad881f06624dc4d475e4a3f1c43b31f09f529
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release History: opentelemetry-instrumentation-ruby_kafka
2
2
 
3
+ ### v0.18.3 / 2021-09-29
4
+
5
+ * FIXED: Use Kafka::VERSION fallback for compatibility
6
+
3
7
  ### v0.18.2 / 2021-08-12
4
8
 
5
9
  * DOCS: Update docs to rely more on environment variable configuration
data/README.md CHANGED
@@ -40,6 +40,29 @@ The `opentelemetry-instrumentation-ruby_kafka` gem source is [on github][repo-gi
40
40
 
41
41
  The OpenTelemetry Ruby gems are maintained by the OpenTelemetry-Ruby special interest group (SIG). You can get involved by joining us in [GitHub Discussions][discussions-url] or attending our weekly meeting. See the [meeting calendar][community-meetings] for dates and times. For more information on this and other language SIGs, see the OpenTelemetry [community page][ruby-sig].
42
42
 
43
+ ### Running Tests
44
+
45
+ Tests in this package require a running instance of Kafka and Zookeeper, which are made available via `docker-compose`:
46
+
47
+ ```bash
48
+ ruby-kafka $> docker-compose up -d kafka
49
+ Creating network "ruby_kafka_default" with the default driver
50
+ Creating ruby_kafka_zookeeper_1 ... done
51
+ Creating ruby_kafka_kafka_1 ... done
52
+ ```
53
+
54
+ The run tests using `rake`
55
+
56
+ ```bash
57
+ ruby-kafka $> bundle exec rake test
58
+ ```
59
+
60
+ To stop the dependent services
61
+
62
+ ```bash
63
+ ruby-kafka $> docker-compose down
64
+ ```
65
+
43
66
  ## License
44
67
 
45
68
  The `opentelemetry-instrumentation-ruby_kafka` gem is distributed under the Apache 2.0 license. See [LICENSE][license-github] for more information.
@@ -22,13 +22,13 @@ module OpenTelemetry
22
22
  end
23
23
 
24
24
  compatible do
25
- gem_version >= MINIMUM_VERSION
25
+ (!gem_version.nil? && gem_version >= MINIMUM_VERSION)
26
26
  end
27
27
 
28
28
  private
29
29
 
30
30
  def gem_version
31
- Gem.loaded_specs['ruby-kafka'].version
31
+ Gem.loaded_specs['ruby-kafka']&.version || Gem::Version.new(Kafka::VERSION)
32
32
  end
33
33
 
34
34
  def require_patches
@@ -7,7 +7,7 @@
7
7
  module OpenTelemetry
8
8
  module Instrumentation
9
9
  module RubyKafka
10
- VERSION = '0.18.2'
10
+ VERSION = '0.18.3'
11
11
  end
12
12
  end
13
13
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opentelemetry-instrumentation-ruby_kafka
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.18.2
4
+ version: 0.18.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenTelemetry Authors
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-08-16 00:00:00.000000000 Z
11
+ date: 2021-09-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: opentelemetry-api
@@ -201,10 +201,10 @@ homepage: https://github.com/open-telemetry/opentelemetry-ruby
201
201
  licenses:
202
202
  - Apache-2.0
203
203
  metadata:
204
- changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-ruby_kafka/v0.18.2/file.CHANGELOG.html
204
+ changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-ruby_kafka/v0.18.3/file.CHANGELOG.html
205
205
  source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby/tree/main/instrumentation/ruby_kafka
206
206
  bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby/issues
207
- documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-ruby_kafka/v0.18.2
207
+ documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-ruby_kafka/v0.18.3
208
208
  post_install_message:
209
209
  rdoc_options: []
210
210
  require_paths: