binance_client 5.0.0 → 5.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: d50e294eccbbcabd5b1488a01cba18e55e78291d7027595f746e744fac3c47ba
4
- data.tar.gz: e4476ae6a531184f71a36bad4c96a8c764d45f366539c355269ebd8abbf9f834
3
+ metadata.gz: 9d5c9aa23792c3ce05d700f255a811031aadc407e54184a415fe08d6810a2e04
4
+ data.tar.gz: 65356315dfc2e010d17ceb6d3e48a1c9f7b420c96acfa1a28beae1f944a68872
5
5
  SHA512:
6
- metadata.gz: 58e58894781ab8f2e1127b592d8df250bfe27000591aebc1dab2550a0f0d49ed5ec58d086641e9cdcabfc471cc5515e5b2c26c98d77c80e2b1649400a5e827b4
7
- data.tar.gz: ace12fc8592ab5f794542bb340a15730647edf24d385c495a4638186c7a0b2533a6025bcb3d1404715a8317bffd92448e8355c56ad74ece8028b1eff0367d3e8
6
+ metadata.gz: 79ad182390c4a8046fb1e72cf438c6bcd6732270180d6432e3c27cecc4169d3bbc193b7d0ca6d7f75bb5034fe8ed1c815158cde4c725e8f4796757252b98494f
7
+ data.tar.gz: 39a88c90b97074c6af9a7e66e4a5f77e3054e8342f7bfc8f8a46f82c008835fbd9b00cedb5fadf9827561ae65c818f87b28a8f240ba6efebcfb5b0fcc7aad92e
data/CHANGELOG.md CHANGED
@@ -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](https://keepachangelog.com/en/1.0.0/),
5
5
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
 
7
+ ## [5.1.0] - 2022-04-22
8
+ ### Added
9
+ - `#ping`
10
+
7
11
  ## [5.0.0] - 2022-04-06
8
12
  ### Added
9
13
  - `#sub_account_bnb_burn_status`
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- binance_client (5.0.0)
4
+ binance_client (5.1.0)
5
5
  activesupport
6
6
  api_client_base (~> 1.11)
7
7
  typhoeus
@@ -22,6 +22,7 @@ module BinanceClient
22
22
  api_action :create_test_order
23
23
  api_action :create_order
24
24
  api_action :withdraw
25
+ api_action :ping
25
26
 
26
27
  attribute :host
27
28
  attribute :api_key
@@ -0,0 +1,11 @@
1
+ module BinanceClient
2
+ class PingRequest < BaseRequest
3
+
4
+ private
5
+
6
+ def path
7
+ "/api/v3/ping"
8
+ end
9
+
10
+ end
11
+ end
@@ -0,0 +1,5 @@
1
+ module BinanceClient
2
+ class PingResponse < BaseResponse
3
+
4
+ end
5
+ end
@@ -1,3 +1,3 @@
1
1
  module BinanceClient
2
- VERSION = "5.0.0"
2
+ VERSION = "5.1.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: binance_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.0.0
4
+ version: 5.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - AJ Villalobos
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-04-06 00:00:00.000000000 Z
11
+ date: 2022-04-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: api_client_base
@@ -157,6 +157,7 @@ files:
157
157
  - lib/binance_client/requests/create_test_order_request.rb
158
158
  - lib/binance_client/requests/exchange_info_request.rb
159
159
  - lib/binance_client/requests/order_book_depth_request.rb
160
+ - lib/binance_client/requests/ping_request.rb
160
161
  - lib/binance_client/requests/sub_account_assets_request.rb
161
162
  - lib/binance_client/requests/sub_account_bnb_burn_status_request.rb
162
163
  - lib/binance_client/requests/sub_account_create_api_keys_request.rb
@@ -177,6 +178,7 @@ files:
177
178
  - lib/binance_client/responses/create_test_order_response.rb
178
179
  - lib/binance_client/responses/exchange_info_response.rb
179
180
  - lib/binance_client/responses/order_book_depth_response.rb
181
+ - lib/binance_client/responses/ping_response.rb
180
182
  - lib/binance_client/responses/sub_account_assets_response.rb
181
183
  - lib/binance_client/responses/sub_account_bnb_burn_status_response.rb
182
184
  - lib/binance_client/responses/sub_account_create_api_keys_response.rb