lookout-rack-utils 3.0.0 → 3.0.1

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9f3b2a5e50ce9ca1c8cb0c42e9f16a31fd4ea582
4
- data.tar.gz: b695c5ae71b3f5f8c304f332a2d3966e441cc468
3
+ metadata.gz: db72693578924f13da2177083a08a610d8e75424
4
+ data.tar.gz: 7acd4d977633e0fb36ce04a2d5815dee6f22cc9f
5
5
  SHA512:
6
- metadata.gz: a3ae0140b825564a74064630a2c2893d184c693e6a4faf8c2eebf6854316f0384153b963989f3474bcf4cc02efbe591c7fe5f9eb363f331b22fd08c447143e82
7
- data.tar.gz: 459f824235b9998564cccfd1ff75f80ae14bd6194d2d290da53f4327316a58552757f1b23c4c7fd27213003e6219ac1cd840639434084c4eea2fda83fe0bd20b
6
+ metadata.gz: c8f5c305114d993fd14642e12e5e3a4f190e7dc2f19e71c7df81d41ab0fd42d140d062696388dab51129d6c688edb2bde5e9fe860ae49022cabeee0f666dc836
7
+ data.tar.gz: 795c648c9798c0e146d5a99567918e9183a82358ecbe2c416a17e9d5802f9e0e9efbb302b055f0cb89e22ba8cef825902b399a75c7590bdda129111360fc8957
data/.travis.yml ADDED
@@ -0,0 +1,5 @@
1
+ language: ruby
2
+ rvm:
3
+ - jruby
4
+ ruby-2.1.2
5
+ script: bundle exec rake
data/README.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # Lookout::Rack::Utils
2
2
 
3
+ [![Build
4
+ Status](https://travis-ci.org/lookout/lookout-rack-utils.svg)](https://travis-ci.org/lookout/lookout-rack-utils)
5
+
3
6
  Assorted Rack utils.
4
7
 
5
8
  ## Installation
@@ -88,13 +88,13 @@ module Lookout::Rack::Utils
88
88
 
89
89
 
90
90
  [:debug, :info, :warn, :error, :fatal, :level].each do |method|
91
- define_method(method) do |*args|
91
+ define_method(method) do |*args, &block|
92
92
  if defined?(Lookout::Rack::Utils::Graphite)
93
93
  unless method == :level
94
94
  Lookout::Rack::Utils::Graphite.increment("log.#{method}") unless (configatron.statsd.exclude_levels || []).include?(method)
95
95
  end
96
96
  end
97
- @logger.send(method, *args)
97
+ @logger.send(method, *args, &block)
98
98
  end
99
99
 
100
100
  # Returns true iff the current severity level allows for
@@ -1,7 +1,7 @@
1
1
  module Lookout
2
2
  module Rack
3
3
  module Utils
4
- VERSION = "3.0.0"
4
+ VERSION = "3.0.1"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lookout-rack-utils
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0
4
+ version: 3.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ian Smith
@@ -200,6 +200,7 @@ extensions: []
200
200
  extra_rdoc_files: []
201
201
  files:
202
202
  - .gitignore
203
+ - .travis.yml
203
204
  - Gemfile
204
205
  - LICENSE.txt
205
206
  - README.md