webspicy 0.15.0.pre.rc1 → 0.15.0.pre.rc2

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
  SHA256:
3
- metadata.gz: 510691d8141022c21d24de399e71457354d6ef9852463459245c66aae49cf8c7
4
- data.tar.gz: a95593328ab9190d8f58b63308e31671528d4a9ef8b464772f4b80a74fee07b6
3
+ metadata.gz: 9a1f3616fdd2fca569a6d93f4f36fd54cc36d30ddd048a402b4c63d8ada790b7
4
+ data.tar.gz: cc729bf194561f90306074b31575a32e6b8b60408b20d5669b7646e66cf410b1
5
5
  SHA512:
6
- metadata.gz: 6c2be87c7977f92f5855f3d9f8d45efe5824c30e634136df977f8c77f020725eb1b7750ec176c7f8e75313000a71b0dbc2e108a08a529db2830c0eeefb2381b6
7
- data.tar.gz: 7d476d7a3ccd38f998ed54e132fb58324634de107144e858d4847918a493bf2acfc6d7aed1c6527a1056b9af5073e62d9e70cc5822b1955ada39471ab1c048fd
6
+ metadata.gz: 47770374f2fbfa34f2ed4317f2b9956d25a09753ef257c0148ad53dd0b7fd37aae7463750df554f6999b7b31285cfe914b44d50db4de1343e5ae22511d6165af
7
+ data.tar.gz: a8ccca7ac1b998e0da24b167b7ae3cf75bb42c0b2ce4c33d50abe3efc7de566bca24d3ec095dcbcc23ef243c607d7b7c4e9b003df2cea30df5ed31bcc2bc96e1
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ../..
3
3
  specs:
4
- webspicy (0.15.0.pre.rc1)
4
+ webspicy (0.15.0.pre.rc2)
5
5
  finitio (>= 0.8.0)
6
6
  http (~> 2)
7
7
  mustermann (~> 1.0)
@@ -80,8 +80,11 @@ module Webspicy
80
80
  elsif is_redirect?
81
81
  else
82
82
  case dressed_body
83
- when Finitio::TypeError then dressed_body.root_cause.message
84
- when StandardError then dressed_body.message
83
+ when Finitio::TypeError
84
+ rc = dressed_body.root_cause
85
+ "#{rc.message} (#{rc.location ? rc.location : 'unknown location'})"
86
+ when StandardError
87
+ dressed_body.message
85
88
  else nil
86
89
  end
87
90
  end
@@ -2,7 +2,7 @@ module Webspicy
2
2
  module Version
3
3
  MAJOR = 0
4
4
  MINOR = 15
5
- TINY = "0-rc1"
5
+ TINY = "0-rc2"
6
6
  end
7
7
  VERSION = "#{Version::MAJOR}.#{Version::MINOR}.#{Version::TINY}"
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: webspicy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.0.pre.rc1
4
+ version: 0.15.0.pre.rc2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bernard Lambeau