vitals 0.9.0 → 0.9.1

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
  SHA1:
3
- metadata.gz: 51bb7f1aa2f18bf65d499f41c765b3b5f640d940
4
- data.tar.gz: 72db41b451eeab862f301fe12744fc61e5ccfdbc
3
+ metadata.gz: 738850e6aea3707c46d19fe0390ef3082c704ba1
4
+ data.tar.gz: dcab4b0f0b5a007b00d6eefa352b7398d53a1fd0
5
5
  SHA512:
6
- metadata.gz: f57c05004a563d6a5f312fbdb7ca11f3c9c3e4e1cfb36c269fd6811db4a962c293e1f2dc4d138cc4b17bd4b2cf0952fd5130181b97933c0931f8ab63b7603ed7
7
- data.tar.gz: 5bfe19a3e3e880da7e408c488bca12b8cc394e1747fb14a8e0e3fd070ec87771ad815e467fbf09fd1bfe7ce6f5659a98d26ae5655fb14c2e00395c42aa7572de
6
+ metadata.gz: 4b6d52e96be30b6bfac5d73093b2698dff5861dca1f8a992519d7ad48f536081ef4e73cfe940cc3aec74d924391f1ef9c174725e5e8d7e704437f59810276d53
7
+ data.tar.gz: cbe7f48dae299731e3fd790abfeda110940d9a84f9944fcefb59a51809bcff9299c5945d802ab4d67134921b3e0f7a64b48214324e1d58391c595a15c1cdda40
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- vitals (0.9.0)
4
+ vitals (0.9.1)
5
5
  statsd-ruby (~> 1.3.0)
6
6
 
7
7
  GEM
@@ -29,7 +29,9 @@ module Vitals::Integrations::Rack
29
29
  else
30
30
  Requests.rack_path(env)
31
31
  end
32
- m = "requests.#{@prefix}#{req_prefix}#{path}.#{env[REQUEST_METHOD].downcase}.#{status}"
32
+
33
+ path = !path.empty? ? path + '.' : path
34
+ m = "requests.#{@prefix}#{req_prefix}#{path}#{env[REQUEST_METHOD].downcase}.#{status}"
33
35
 
34
36
  # TODO add option to customize 'requests' through options
35
37
  Vitals.timing(m, Vitals::Utils.sec_to_ms(t))
@@ -1,3 +1,3 @@
1
1
  module Vitals
2
- VERSION = "0.9.0"
2
+ VERSION = "0.9.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vitals
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dotan Nahum
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-07-25 00:00:00.000000000 Z
11
+ date: 2016-07-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: statsd-ruby