macmillan-utils 1.0.21 → 1.0.22
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fb22ff44444f327f1ad8b6b86fbf0a5459c8dbe5
|
4
|
+
data.tar.gz: e4dc24cc3545a2f066a144ffe0b2ac03419d3d7c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2ae1c641868cdcc139a20707fcf37a24de37d3d5ccf9028e6162bc795435106535b6602d7a8dbd79754fe081c5137188f76b036dc9c69158c5e735b5f3e8f5a7
|
7
|
+
data.tar.gz: 3ba354ceeaba0b362d21664551e6761aee2567ce309a6a16a8270b2aa066cd630f39421a9efa317338ed0f132b4dfccf1836f0cd20badf0a86aa9408917b9102
|
data/macmillan-utils.gemspec
CHANGED
@@ -50,7 +50,7 @@ describe Macmillan::Utils::StatsdDecorator do
|
|
50
50
|
|
51
51
|
describe '#time' do
|
52
52
|
it 'should require a block' do
|
53
|
-
expect { subject.time(stat_name) }.to raise_error
|
53
|
+
expect { subject.time(stat_name) }.to raise_error(LocalJumpError)
|
54
54
|
end
|
55
55
|
|
56
56
|
it 'should call the block' do
|
@@ -44,7 +44,7 @@ describe Macmillan::Utils::StatsdMiddleware do
|
|
44
44
|
let(:app) { ->(env) { raise } }
|
45
45
|
|
46
46
|
it 'sends an exception increment to statsd and raises the error' do
|
47
|
-
expect { subject.call(request.env) }.to raise_error
|
47
|
+
expect { subject.call(request.env) }.to raise_error(RuntimeError)
|
48
48
|
expect(statsd_client).to have_received(:increment).with('rack.exception').once
|
49
49
|
end
|
50
50
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: macmillan-utils
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.22
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Macmillan Science and Education (New Publsihing Platforms)
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-10-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -192,20 +192,6 @@ dependencies:
|
|
192
192
|
- - ">="
|
193
193
|
- !ruby/object:Gem::Version
|
194
194
|
version: '0'
|
195
|
-
- !ruby/object:Gem::Dependency
|
196
|
-
name: geminabox
|
197
|
-
requirement: !ruby/object:Gem::Requirement
|
198
|
-
requirements:
|
199
|
-
- - ">="
|
200
|
-
- !ruby/object:Gem::Version
|
201
|
-
version: '0'
|
202
|
-
type: :runtime
|
203
|
-
prerelease: false
|
204
|
-
version_requirements: !ruby/object:Gem::Requirement
|
205
|
-
requirements:
|
206
|
-
- - ">="
|
207
|
-
- !ruby/object:Gem::Version
|
208
|
-
version: '0'
|
209
195
|
description:
|
210
196
|
email:
|
211
197
|
- npp-developers@macmillan.com
|
@@ -223,7 +209,6 @@ files:
|
|
223
209
|
- README.rdoc
|
224
210
|
- Rakefile
|
225
211
|
- lib/macmillan/utils.rb
|
226
|
-
- lib/macmillan/utils/bundler/gem_helper.rb
|
227
212
|
- lib/macmillan/utils/cucumber/cucumber_defaults.rb
|
228
213
|
- lib/macmillan/utils/cucumber/webmock_helper.rb
|
229
214
|
- lib/macmillan/utils/helper.rb
|