ci_block_io 1.7.4 → 1.7.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6b1bb38035d992915d995ad4475b4ca8ae990f87cc8afb9e9cf08ffbde56035b
4
- data.tar.gz: ffa5eb4496c88d645093953027f2c9cc1cf7d5ca5981d06f8f8e1479bb76196e
3
+ metadata.gz: c080644f9b2420b34acf94a2488a538d229141a2714b7356ddfa9216b0dde275
4
+ data.tar.gz: e008296af94aa0eafe9e360d4f6ef8f04a4b30c97b4e97b07d56743cea4563f0
5
5
  SHA512:
6
- metadata.gz: 40140cb87d381876c1abac96befe8bedd8f794482c7b843e9f1b54b29b9323063a4b9fe5b7659280b5df80cba9c4e0cbd2ef4021e68b11500a64df52bcf38476
7
- data.tar.gz: fcae1f46bda4b6e774169b5b7aae25119392fcbb152c1ad4bdff987a7d17cc24737b79627a13c286edfe3bffbf291e8f25a0f4a668e876539cc79a4d68a5e8c4
6
+ metadata.gz: 9e994722741ccf99a1a7be6910fab16e4f7e99f63933860bfd75f119acff5d29d86001f380b09332916d7086ccd70cffdcf213bda50e215604ca263f2866487f
7
+ data.tar.gz: 476e186b982e4e31873447dd0358a3966cd3d301748f97040d1d5795ad203d1a8226ce25fbf666e3382e53257b891ace70e99b9120c521a5efadefe86912e9fe
@@ -11,6 +11,9 @@ require 'base64'
11
11
  class CiBlockIoWithdrawException < StandardError
12
12
  end
13
13
 
14
+ class CiBlockIoNetworkException < StandardError
15
+ end
16
+
14
17
  module CiBlockIo
15
18
 
16
19
  @api_key = nil
@@ -148,7 +151,7 @@ module CiBlockIo
148
151
  if endpoint[0] == 'withdraw'
149
152
  raise CiBlockIoWithdrawException.new(body['data']['error_message']) if !body['status'].eql?('success')
150
153
  else
151
- raise Exception.new(body['data']['error_message']) if !body['status'].eql?('success')
154
+ raise CiBlockIoNetworkException.new(body['data']['error_message']) if !body['status'].eql?('success')
152
155
  end
153
156
  body
154
157
  end
@@ -1,3 +1,3 @@
1
1
  module CiBlockIo
2
- VERSION = "1.7.4"
2
+ VERSION = "1.7.5"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ci_block_io
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.4
4
+ version: 1.7.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Atsuhiro Tsuruta feat. Atif Nazir
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-10-08 00:00:00.000000000 Z
11
+ date: 2018-10-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler