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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
- metadata.gz: 1161970b4a49869f2568eb59ce8675f51091ab14
4
- data.tar.gz: 60733d1ea8cdcca708c9e2f320ac2c0317da06cd
3
+ metadata.gz: ff15e7bfb428ab4000ae557215e18cee5169f1b9
4
+ data.tar.gz: 87e60de67ff50fab346edad2ee8c4309be5a56d0
5
5
  !binary "U0hBNTEy":
6
- metadata.gz: cdfeeaec66f7c81f6e32df893bf5bbbb3486da2744dea2e5ca3f3d186a44c54e251398886033b75170a54165b3adc3cd6bb4355d05213a22ea9cb466c4f92310
7
- data.tar.gz: 474c17dc90adf4561be28d71dcb31b10274a79332a4cea862db69d019131eb365b5dc7fd7d5f7d6c322cf4cfd374991bd43c31db73c7ef3005e55c005894779f
6
+ metadata.gz: 631b56fae1a8f2f08a66709eb8ffb369f1ac5248922c0b7df555a183660c1b710fce72ea96a44caf393bdc337c755b1a06ae46debe758cecba232095ae4a18a3
7
+ data.tar.gz: 1e8c3f35efaa615cb04153ca9ba7e5212c7a13f7f07785d99ff2ae1a0706a627f4d6e91d00f08a4642c2af922809f6c7209afb78d791b1801bb096bd6e947bdd
@@ -30,12 +30,12 @@ module Fastbeans
30
30
  end
31
31
  end
32
32
 
33
- def to_exception
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"] + caller
38
+ backtrace = error["backtrace"].split(/\n/).concat(caller).flatten.compact
39
39
  raise Fastbeans.exception(name), msg, backtrace
40
40
  end
41
41
 
@@ -1,3 +1,3 @@
1
1
  module Fastbeans
2
- VERSION = "0.4.4"
2
+ VERSION = "0.4.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastbeans
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.4
4
+ version: 0.4.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dima Sabanin