time_bandits 0.0.2 → 0.0.3

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.
@@ -29,7 +29,8 @@ module Rails
29
29
  status = result.first
30
30
  duration, additions = Thread.current[:time_bandits_completed_info]
31
31
 
32
- message = "Completed #{status} #{::Rack::Utils::HTTP_STATUS_CODES[status]} in %.1fms (#{additions.join(' | ')})" % (run_time*1000)
32
+ message = "Completed #{status} #{::Rack::Utils::HTTP_STATUS_CODES[status]} in %.1fms"
33
+ message << " (#{additions.join(' | ')})" % (run_time*1000) unless additions.blank?
33
34
  info message
34
35
 
35
36
  ActiveSupport::LogSubscriber.flush_all!
@@ -1,3 +1,3 @@
1
1
  module TimeBandits
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: time_bandits
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.2
5
+ version: 0.0.3
6
6
  platform: ruby
7
7
  authors:
8
8
  - Stefan Kaes