bitstamp_client 1.2.2 → 1.2.3

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: f5f891fcf088ca5c7de2ebf3f7b9278cd5dcf2da656111bd85b8e7545a8a178a
4
- data.tar.gz: 4e3ba70c70b3fc4d48fd4df4a2e90449882914c0a3fbea495ea56ea7986374f1
3
+ metadata.gz: 8cd40bae0407669068df4b5a41644753dc5d3e03f104c06e9971ab7c3cb4ca21
4
+ data.tar.gz: 55eaefa13988e589e6b641437e48b602eaf769899e6c2644208b9ac64038d36b
5
5
  SHA512:
6
- metadata.gz: 828e7216ad247f733817a69dc1f36e95f2ef0185668c009ec93c72dee427544d81ad253abf418365670e0ed21895df7ede2f7fcafdec752e2a9abd63581a4456
7
- data.tar.gz: aa34e0f6e78f517db198d4932de36d718d4de7c2fc9cfbdc3dfe657dffcbdadac4de2898afe4adb5ce12c65753314b66c923213591ffdf13bef97212b03cfb64
6
+ metadata.gz: 70752c1724e1892564dce76258f14ef43f0526100a42389fcc0c616cb98df3072daa4572f33e843db67cc512ab14d77a936ec11fae2d6a119908cf9cdbf8e989
7
+ data.tar.gz: fe5a68b9256ec7d0b0b61c1b59c7c2109f85dc2d4120b790cebb94fc5c65d09db924f843aa6171d7306294d9bd213434f8db7878d2681f5c947ed4bd8791fdc1
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
4
4
  The format is based on [Keep a Changelog](http://keepachangelog.com/)
5
5
  and this project adheres to [Semantic Versioning](http://semver.org/).
6
6
 
7
+ ## [1.2.3] - 2021-01-06
8
+ ### Changed
9
+ - `BalanceResponse#success?` first checks if `parsed_body` is present
10
+
7
11
  ## [1.2.2] - 2021-01-05
8
12
  ### Changed
9
13
  - `BalanceResponse` now returns fields, only if `parsed_body` is present
@@ -43,6 +43,11 @@ module BitstampClient
43
43
 
44
44
  private
45
45
 
46
+ def default_success
47
+ return false if !parsed_body.present?
48
+
49
+ super
50
+ end
46
51
 
47
52
  def default_order_book
48
53
  OrderBook.new(JSON.parse(body))
@@ -1,3 +1,3 @@
1
1
  module BitstampClient
2
- VERSION = "1.2.2"
2
+ VERSION = "1.2.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bitstamp_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.2
4
+ version: 1.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ramon Tayag
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-01-05 00:00:00.000000000 Z
11
+ date: 2021-01-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: api_client_base