ruby-zipkin 0.2.904 → 0.2.905

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.
@@ -21,11 +21,9 @@ module RubyZipkin extend self
21
21
  @uri_filter_list = uri_filter_list
22
22
  @http_header_filter_list = http_header_filter_list
23
23
  @scribe = Scribe.new("#{scribe_server}:#{scribe_port}")
24
-
25
24
  log_file = File.new('/srv/flexd/current/log/stdout.log', 'a')
26
25
  logger = Logger.new(log_file, 'weekly')
27
26
  $stdout = log_file
28
-
29
27
  puts "using scribe server: #{@scribe.to_s}"
30
28
  puts "#{scribe_server}:#{scribe_port}"
31
29
  ::Trace.tracer = ::Trace::ZipkinTracer.new(Scriber.new(@scribe), scribe_max_buffer)
@@ -44,7 +42,7 @@ module RubyZipkin extend self
44
42
  rescue => e
45
43
  #Tracing errors shouldn't block a request.
46
44
  puts "Zipkin error: #{e} \n #{e.backtrace}"
47
- raise end
45
+ raise e
48
46
  end
49
47
  [@status, @headers, @response]
50
48
  end
@@ -1,3 +1,3 @@
1
1
  module RubyZipkin
2
- VERSION = "0.2.904"
2
+ VERSION = "0.2.905"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-zipkin
3
3
  version: !ruby/object:Gem::Version
4
- hash: 1799
4
+ hash: 1797
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 904
10
- version: 0.2.904
9
+ - 905
10
+ version: 0.2.905
11
11
  platform: ruby
12
12
  authors:
13
13
  - Ivan Marcin