binance-ruby 0.8 → 1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/binance/api/error.rb +1 -1
- data/lib/binance/api/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 90f8673071ace387d77172b21b9066e11ea6613cf72275ca1090cfb94e7d8f65
|
4
|
+
data.tar.gz: 860a8193bbb5c28877aa6e8ed6cac65c2680064a68be3bebc6913da1c74a51df
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 73c5b120484d13c814f621784b3d8e255255a96ad98cad8f68494af778412ef6518e7ea0aaac69a42a1336dd1de93d640e7a040005360c08f35d2392242fa25b
|
7
|
+
data.tar.gz: e1f8c8bc28eb9d12148fe3499842bf39a4d50d7b7a09bad69f740c20b040a912e71321eea4c9b08b8f5ffa1d66756e4ae0de4de4fe766a85432c36491f69503c
|
data/lib/binance/api/error.rb
CHANGED
@@ -11,7 +11,7 @@ module Binance
|
|
11
11
|
|
12
12
|
# https://github.com/binance/binance-spot-api-docs/blob/master/errors.md
|
13
13
|
def localized(message)
|
14
|
-
code = message.match(/\d+/).to_s.to_i
|
14
|
+
code = message.to_s.match(/\d+/).to_s.to_i
|
15
15
|
case code
|
16
16
|
when 1000 then Unknown
|
17
17
|
when 1001 then Disconnected
|
data/lib/binance/api/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: binance-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '0
|
4
|
+
version: '1.0'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jake Peterson
|
@@ -206,5 +206,5 @@ requirements: []
|
|
206
206
|
rubygems_version: 3.1.6
|
207
207
|
signing_key:
|
208
208
|
specification_version: 4
|
209
|
-
summary: binance-ruby-0
|
209
|
+
summary: binance-ruby-1.0
|
210
210
|
test_files: []
|