rack-stats 0.0.4 → 0.0.5

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: fe1c64e8a289a987c2c0749f194b8e168185b77c
4
- data.tar.gz: 712269a88af27fc0bb5ac06e79dda7686b3031eb
3
+ metadata.gz: 854edbd6c62c26c5732becee971f1f400be9987c
4
+ data.tar.gz: 7fdff52a5c148063ffa6809e1481437a00a7b663
5
5
  SHA512:
6
- metadata.gz: 5111137f61d6ae08009730159f84c6badb5381b3fa9142792d398f3760403791d11a221ead0e6feae35b29ccd9c79bd512b02e80710e02b75e0506ae14241060
7
- data.tar.gz: 70b96630a2530f82b444cbffc174fbb4eb4281be8aa078a8d27dc6215263d3874d5f3a12de5ca725e2e88b1dc0a245337d99b3aaba2ec9c1d8e15115e86a63cb
6
+ metadata.gz: 7b201a8264bfdef8b34aa97b22625b9606576bb5ef997b01a8adb99d7d53a3b380358ea53d852614d9e535fee01b273c5356e9028ef2adf5bc8d629afa6c64ec
7
+ data.tar.gz: 7c491ac86c55c49a82afb89db06d0867735f74a6db3e3bd814b284ae4a7d1ec034b2e68ee1aa1fbf463a8c47cec8fe0e7b25fd0f71617a96c765df75cc31edc0
@@ -1,5 +1,5 @@
1
1
  module Rack
2
2
  class Stats
3
- VERSION = "0.0.4"
3
+ VERSION = "0.0.5"
4
4
  end
5
5
  end
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
10
10
  spec.email = ["alexis.montagne@gmail.com"]
11
11
  spec.summary = %q{Customisable rack middleware to instrument to instrument your application}
12
12
  spec.description = %q{Customisable rack middleware to instrument to instrument your application}
13
- spec.homepage = ""
13
+ spec.homepage = "https://github.com/upfluence/rack-stats"
14
14
  spec.license = "MIT"
15
15
 
16
16
  spec.files = `git ls-files -z`.split("\x0")
@@ -10,6 +10,10 @@ describe Rack::Stats do
10
10
  { name: -> (*_args) { 'foo' }, value: -> (*_args) { 42 }, type: :timing }
11
11
  end
12
12
 
13
+ before do
14
+ allow_any_instance_of(Rack::Stats::Duration).to receive(:ms).and_return(300)
15
+ end
16
+
13
17
  after { middleware.call(env) }
14
18
 
15
19
  subject { Statsd::Batch }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rack-stats
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexis Montagne
@@ -103,7 +103,7 @@ files:
103
103
  - rack-stats.gemspec
104
104
  - spec/acceptance/global_spec.rb
105
105
  - spec/spec_helper.rb
106
- homepage: ''
106
+ homepage: https://github.com/upfluence/rack-stats
107
107
  licenses:
108
108
  - MIT
109
109
  metadata: {}