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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 668b3b6e78da3669db282611f925fb7644ba796f6a4483bc5d674203341398a4
4
- data.tar.gz: 54240e645b552307a31478c00f46b356f60fb338573818ed761b61e5c1caea87
3
+ metadata.gz: 90f8673071ace387d77172b21b9066e11ea6613cf72275ca1090cfb94e7d8f65
4
+ data.tar.gz: 860a8193bbb5c28877aa6e8ed6cac65c2680064a68be3bebc6913da1c74a51df
5
5
  SHA512:
6
- metadata.gz: 0f1ae28bacebc0b4b8b77428bad2edebbd9c9a21c61f9b55a99f6379343e6a3d9cc9d133b8b675304d97121e907aa28145296c4c7ccb5caad8982cce8d1f38d7
7
- data.tar.gz: ea649cc3fbdf599b0754f68e77ef27efc776a766e657fc3d25764691c767142db3780001d0c803963673c56200e556e12c086869758668ce5ac6a74f38d6f6dd
6
+ metadata.gz: 73c5b120484d13c814f621784b3d8e255255a96ad98cad8f68494af778412ef6518e7ea0aaac69a42a1336dd1de93d640e7a040005360c08f35d2392242fa25b
7
+ data.tar.gz: e1f8c8bc28eb9d12148fe3499842bf39a4d50d7b7a09bad69f740c20b040a912e71321eea4c9b08b8f5ffa1d66756e4ae0de4de4fe766a85432c36491f69503c
@@ -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
@@ -1,5 +1,5 @@
1
1
  module Binance
2
2
  module Api
3
- VERSION = "0.8"
3
+ VERSION = "1.0"
4
4
  end
5
5
  end
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.8'
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.8
209
+ summary: binance-ruby-1.0
210
210
  test_files: []