kucoin_ruby 0.1.7 → 0.1.9

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
  SHA1:
3
- metadata.gz: e2972223e61b0fee2bf86f6c2bd4739a0d683a3d
4
- data.tar.gz: 3364c73a90dda1920ea5e35acd2d385287e7032a
3
+ metadata.gz: e6277d9f81f1df861b2fca5992235b9f27587364
4
+ data.tar.gz: 3fc5cdba480184274eaa4832b5f28a3e4fbd6639
5
5
  SHA512:
6
- metadata.gz: d6e45f8268f38185a624f40bcaa61af113926b533d45879e48ec313114ea310b05b0bd21f9ac75da35da9657bd8b4a2f969aa7e3278c2456dd2b584119ea6f93
7
- data.tar.gz: 02ac0367c73851beea0756483eed990426fd7234aee0fc77b91e246924dad61fc7143c91b35914b07fac08a9f0a4d1a09dfff382d8cbc5149c2a620bbba5cb3a
6
+ metadata.gz: 231fb27593896c70af57997de3db01edd71ddedad049db9c9cf911b9204534206e126fd004d24a90ee7f7a65657f38378578b0a9521bc3696aa293c18c7cc9a8
7
+ data.tar.gz: a9ba67c79df44cf839ecc905911ff4ee396fa522aa773cb1988cd47200b71ccb7bdd26273b3d0e886adde826df2b97f6200f0309c76a3cb9cf6e54f2ed5cf872
data/CHANGELOG.md CHANGED
@@ -1,3 +1,15 @@
1
+ ## 0.1.9
2
+
3
+ ### Changed
4
+
5
+ - Remove require pry
6
+
7
+ ## 0.1.8
8
+
9
+ ### Changed
10
+
11
+ - Fix error with query_string in get requests
12
+
1
13
  ## 0.1.7
2
14
 
3
15
  ### Changed
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- kucoin_ruby (0.1.7)
4
+ kucoin_ruby (0.1.9)
5
5
  addressable
6
6
  httparty
7
7
 
data/README.md CHANGED
@@ -1,8 +1,6 @@
1
- <h1 align="center">KuCoin API Client</h1>
1
+ # KuCoin API Client
2
2
 
3
- <p align="center">
4
- A Ruby client for the [KuCoin](https://www.kucoin.com/#/?r=E57fFl) API.
5
- </p>
3
+ A Ruby client for the [Kucoin](https://www.kucoin.com/#/?r=E57fFl/) API.
6
4
 
7
5
  ## Overview
8
6
 
@@ -2,7 +2,7 @@ require "kucoin_ruby/version"
2
2
 
3
3
  module KucoinRuby
4
4
  class Net
5
- API_HOST = 'https://api.kucoin.com'
5
+ API_HOST = 'https://api.kucoin.com'
6
6
 
7
7
  def self.key
8
8
  ENV['KUCOIN_KEY'] || 'fake_key'
@@ -29,6 +29,7 @@ module KucoinRuby
29
29
 
30
30
  def self.signed_get(endpoint, query_string = nil)
31
31
  nonce, signature = KucoinRuby::Util.sign_message(endpoint, query_string)
32
+ query_string = URI.encode_www_form(query_string)
32
33
  uri = "#{API_HOST}#{endpoint}?#{query_string}"
33
34
  response = HTTParty.get(
34
35
  uri,
@@ -1,3 +1,3 @@
1
1
  module KucoinRuby
2
- VERSION = "0.1.7"
2
+ VERSION = "0.1.9"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kucoin_ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - lalo
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-12-06 00:00:00.000000000 Z
11
+ date: 2017-12-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler