wolf_core 0.1.21 → 0.1.22

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: '0274981540a1811180820e729b5b52de812a589c293ab969414930075d247214'
4
- data.tar.gz: 504afbef81bf4632d7362189fcb53491256c90fa1f89f1608b4ff661d78a3c8a
3
+ metadata.gz: 0f6bdbeba6d322c35f29ee01853adee5b179569d399b57b0a0754c4f579c8c23
4
+ data.tar.gz: 739e754a7bacff197204f917cf10411119a392059e3c07512cd71f5a7af7a96d
5
5
  SHA512:
6
- metadata.gz: 93bc4c4b9e40f81364df19cabed16d0c979d07336278fb4041ab78fc78fdcfb31ae1fd744d022de9b410092f9212b62c3cf04db4a8fbd41c578ea6066c088de5
7
- data.tar.gz: bb59ecc1975e2e21fbbba4babb98aa91159bbdbe407e8a76f1d9351d4022a66b1dfa5d0c4c30737d11b80ab657ceca765ff7780dcc3b92abd5411a4c67524951
6
+ metadata.gz: 5955672c359bb1bd1ccd924011d299a8eefde3b75bd1e9a0441fa8d32ee401176d59bbfc4c70557246c37140facbf36fe793932dcbb26ffffea4713d3e6e3109
7
+ data.tar.gz: 4ead3918813ba28b737a03a829f100d4b945b96c05f4d9f158543e926f85ed96d4052a2488b461ae1f8a971f194f1912edde4ca71175394c4a691d29ce240f63
@@ -1,6 +1,7 @@
1
1
  module WolfCore
2
2
  module ExceptionOperations
3
3
  def raise_service_error(error_data)
4
+ error_data = { message: error_data } if error_data.is_a?(String)
4
5
  raise WolfCore::ServiceException, error_data
5
6
  end
6
7
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module WolfCore
4
- VERSION = "0.1.21"
4
+ VERSION = "0.1.22"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wolf_core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.21
4
+ version: 0.1.22
5
5
  platform: ruby
6
6
  authors:
7
7
  - Javier Roncallo