Skip to content

Commit

Permalink
Merge pull request #5 from bigcommerce/blr-120
Browse files Browse the repository at this point in the history
Bump bc-lightstep-ruby dep to 1.2
  • Loading branch information
splittingred authored Oct 24, 2018
2 parents 5b9dc44 + f346bf6 commit 31f8752
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ Changelog for the gruf-zipkin gem.

h3. Pending Release

- Bump bc-lightstep-ruby to 1.2.0

h3. 1.1.2

- First OSS release
Expand Down
2 changes: 1 addition & 1 deletion gruf-lightstep.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,5 @@ Gem::Specification.new do |spec|
spec.add_development_dependency 'rspec', '~> 3.7'
spec.add_development_dependency 'pry'

spec.add_runtime_dependency 'bc-lightstep-ruby', '~> 1.1'
spec.add_runtime_dependency 'bc-lightstep-ruby', '~> 1.2'
end
1 change: 1 addition & 0 deletions lib/gruf/lightstep/headers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ def initialize(active_call)
#
def value(key)
return nil unless OT_KEYS.key?(key)

OT_KEYS[key].each do |k|
return metadata[k] if metadata.key?(k)
end
Expand Down
1 change: 1 addition & 0 deletions lib/gruf/lightstep/server_interceptor.rb
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ def request_method
#
def request_message_params
return {} if request.client_streamer? || !request.message.respond_to?(:to_h)

request.message.to_h
end

Expand Down
2 changes: 1 addition & 1 deletion lib/gruf/lightstep/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
#
module Gruf
module Lightstep
VERSION = '1.1.2'.freeze
VERSION = '1.1.3.pre'.freeze
end
end

0 comments on commit 31f8752

Please sign in to comment.