fastbeans 0.4.4 → 0.4.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fastbeans/response.rb +2 -2
- data/lib/fastbeans/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ff15e7bfb428ab4000ae557215e18cee5169f1b9
|
4
|
+
data.tar.gz: 87e60de67ff50fab346edad2ee8c4309be5a56d0
|
5
5
|
!binary "U0hBNTEy":
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 631b56fae1a8f2f08a66709eb8ffb369f1ac5248922c0b7df555a183660c1b710fce72ea96a44caf393bdc337c755b1a06ae46debe758cecba232095ae4a18a3
|
7
|
+
data.tar.gz: 1e8c3f35efaa615cb04153ca9ba7e5212c7a13f7f07785d99ff2ae1a0706a627f4d6e91d00f08a4642c2af922809f6c7209afb78d791b1801bb096bd6e947bdd
|
data/lib/fastbeans/response.rb
CHANGED
@@ -30,12 +30,12 @@ module Fastbeans
|
|
30
30
|
end
|
31
31
|
end
|
32
32
|
|
33
|
-
def
|
33
|
+
def raise_exception
|
34
34
|
name = camelize(underscore(@raw_response["fastbeans-error"]))
|
35
35
|
error = @raw_response["error-information"]
|
36
36
|
|
37
37
|
msg = "%s. Call: %s" % [error["message"], error["call"]]
|
38
|
-
backtrace = error["backtrace"]
|
38
|
+
backtrace = error["backtrace"].split(/\n/).concat(caller).flatten.compact
|
39
39
|
raise Fastbeans.exception(name), msg, backtrace
|
40
40
|
end
|
41
41
|
|
data/lib/fastbeans/version.rb
CHANGED