rews 0.2.9 → 0.2.10
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/rews/util.rb +1 -1
- data/spec/rews/util_spec.rb +6 -2
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.10
|
data/lib/rews/util.rb
CHANGED
data/spec/rews/util_spec.rb
CHANGED
@@ -48,10 +48,14 @@ module Rews
|
|
48
48
|
}.should raise_error(Rews::Error)
|
49
49
|
end
|
50
50
|
|
51
|
-
it "should
|
51
|
+
it "should log any unexpected exceptions and tag with the savon response" do
|
52
52
|
client = Object.new
|
53
53
|
exception = RuntimeError.new("boo")
|
54
|
-
mock(client).log
|
54
|
+
mock(client).log do |block|
|
55
|
+
logger = Object.new
|
56
|
+
mock(logger).warn(exception)
|
57
|
+
block.call(logger)
|
58
|
+
end
|
55
59
|
|
56
60
|
savon_response = Object.new
|
57
61
|
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rews
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 3
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 0.2.
|
9
|
+
- 10
|
10
|
+
version: 0.2.10
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Trampoline Systems Ltd
|