startback 0.18.2 → 0.19.0

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: 1ed405285cb6d2493a1bb27a544b29c3d2fbe2726cbcdf6a1a1125befe124579
4
- data.tar.gz: d43bed406d0305cf5a5e8215313d65396fa50096db5c2c7ac4151d9cedcf4d27
3
+ metadata.gz: 8d8442d4dcacbab7c562a5656fce452ecb45907458cba4dd88e617ec56007dfd
4
+ data.tar.gz: c01bfdc67f1dc66cf6e0e4173495b5102623b5a5dce5e9023d616432ecbe042f
5
5
  SHA512:
6
- metadata.gz: 5b570bd27e06e64b5d3c5aee29a30d05ae021ecf3828b051b20918d5536c44a046be6f5646c552fe92e0ea9c9b20628fffee5becb398547b94351796e36d16e4
7
- data.tar.gz: 5892c7a23cb3bdc84128f3b15965d987464338a091338410699ca69b1ffff8021a03f6ce171d66b5e6f054e2b3e5a134820f24d242e2ac50d16b62f060cc8cd7
6
+ metadata.gz: 02a69c56aa4ca38c959e5879de04045576fa992e281b398a71e08478919ff7a97f6d85e083259d540e4e555d095158c131867d7466ef923eabc8a3924b4d2cb2
7
+ data.tar.gz: b9aadd2aaf265655d398e112775384da9f52c8a058830cffcbf93f69f2cd13312710fbef91e64c9c5ac20d1f502195627022b405616dd30092ced479d9d117b1
@@ -79,7 +79,6 @@ module Startback
79
79
  end
80
80
 
81
81
  def propagate_to_listeners(span)
82
- puts "Propagating #{span.inspect}"
83
82
  @listeners.each do |listener|
84
83
  listener.call(span) rescue nil
85
84
  end
@@ -8,7 +8,7 @@ module Startback
8
8
 
9
9
  def initialize(options = {})
10
10
  @options = DEFAULT_OPTIONS.merge(options)
11
- @options[:pretty_print] ||= auto_pretty_print
11
+ @options[:pretty_print] = auto_pretty_print unless @options.has_key?(:pretty_print)
12
12
  end
13
13
 
14
14
  def pretty_print?
@@ -49,7 +49,7 @@ module Startback
49
49
  private
50
50
 
51
51
  def auto_pretty_print
52
- ENV['RACK_ENV'] != 'production'
52
+ ENV['RACK_ENV'] == 'development'
53
53
  end
54
54
 
55
55
  end # class LogFormatter
@@ -1,8 +1,8 @@
1
1
  module Startback
2
2
  module Version
3
3
  MAJOR = 0
4
- MINOR = 18
5
- TINY = 2
4
+ MINOR = 19
5
+ TINY = 0
6
6
  end
7
7
  VERSION = "#{Version::MAJOR}.#{Version::MINOR}.#{Version::TINY}"
8
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: startback
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.18.2
4
+ version: 0.19.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bernard Lambeau
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-05-19 00:00:00.000000000 Z
11
+ date: 2023-05-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
@@ -56,20 +56,20 @@ dependencies:
56
56
  requirements:
57
57
  - - ">="
58
58
  - !ruby/object:Gem::Version
59
- version: 0.23.0
59
+ version: 0.24.0
60
60
  - - "<"
61
61
  - !ruby/object:Gem::Version
62
- version: '0.24'
62
+ version: '0.25'
63
63
  type: :development
64
64
  prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
66
66
  requirements:
67
67
  - - ">="
68
68
  - !ruby/object:Gem::Version
69
- version: 0.23.0
69
+ version: 0.24.0
70
70
  - - "<"
71
71
  - !ruby/object:Gem::Version
72
- version: '0.24'
72
+ version: '0.25'
73
73
  - !ruby/object:Gem::Dependency
74
74
  name: rake
75
75
  requirement: !ruby/object:Gem::Requirement
@@ -130,20 +130,20 @@ dependencies:
130
130
  requirements:
131
131
  - - ">="
132
132
  - !ruby/object:Gem::Version
133
- version: '0.10'
133
+ version: '0.12'
134
134
  - - "<"
135
135
  - !ruby/object:Gem::Version
136
- version: '0.12'
136
+ version: '0.13'
137
137
  type: :runtime
138
138
  prerelease: false
139
139
  version_requirements: !ruby/object:Gem::Requirement
140
140
  requirements:
141
141
  - - ">="
142
142
  - !ruby/object:Gem::Version
143
- version: '0.10'
143
+ version: '0.12'
144
144
  - - "<"
145
145
  - !ruby/object:Gem::Version
146
- version: '0.12'
146
+ version: '0.13'
147
147
  - !ruby/object:Gem::Dependency
148
148
  name: path
149
149
  requirement: !ruby/object:Gem::Requirement