huobi_client 0.1.1 → 0.1.2

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: 21fcbb5ba72a6a814ab0d1005350a1770acef76a
4
- data.tar.gz: 634bdb2f30073ef7cf7fe55823fe0e05cc78c817
3
+ metadata.gz: 08d69b8ac4d67a469b36b16d2bc1695eea361690
4
+ data.tar.gz: 3e8f8c8dbd9e3d4aade398c8e8ab1e38ae147a80
5
5
  SHA512:
6
- metadata.gz: f79dae9b68f11a79633e214ff096ac40e969251a7d5e17a0729d00e44cb3ff0cb9606ca62ccc2f733062f95650990e43ff4e6c1708f5479a5b6e2d67e557ed42
7
- data.tar.gz: cd74093847d5f7d6d3b951bc33db433950178b3d5fb094f65b766c8c472b7700393740611fb4ec0bf40bd081ab4b742de7a185b4f2825e504cd7d6f49dacaaf4
6
+ metadata.gz: 8286f7a68773d26e19065df00815173c6c3545a00e837e27d42715c7272f12d473b415cd34b60b08a2be526c9058ff300faad55685de36b95513501a08ce2fd8
7
+ data.tar.gz: 677d4da21f78af25d6b551f8e13fdfd61b196e64002fe43b7415d232d1de4c6cee1de3bcb3ead74f14963c8fb0c08b193b0395c4adc13e6bef063d31a2a4a7f3
data/.gitignore CHANGED
@@ -11,4 +11,6 @@
11
11
  .rspec_status
12
12
 
13
13
  /bin/detect
14
- *.gem
14
+ /bin/client
15
+ *.gem
16
+ /Gemfile.lock
data/.ruby-gemset ADDED
@@ -0,0 +1 @@
1
+ huobi-client
data/.ruby-version ADDED
@@ -0,0 +1 @@
1
+ ruby-2.3.1
data/lib/huobi_client.rb CHANGED
@@ -4,7 +4,7 @@ require "huobi_client/version"
4
4
  module HuobiClient
5
5
  class << self
6
6
  def new(access, secret)
7
- Huobi::Client.new(access, secret)
7
+ HuobiClient::Client.new(access, secret)
8
8
  end
9
9
  end
10
10
  end
@@ -50,7 +50,7 @@ module HuobiClient
50
50
  options = {
51
51
  url: HuobiClient::Config::BASE_URL,
52
52
  headers: {
53
- user_agent: HuobiClient::Config::USER_AGENT
53
+ user_agent: 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.71 Safari/537.36 ' + HuobiClient::Config::USER_AGENT
54
54
  },
55
55
  }
56
56
 
@@ -1,3 +1,3 @@
1
1
  module HuobiClient
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: huobi_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vcinly
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-05-15 00:00:00.000000000 Z
11
+ date: 2018-05-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -159,6 +159,8 @@ extra_rdoc_files: []
159
159
  files:
160
160
  - ".gitignore"
161
161
  - ".rspec"
162
+ - ".ruby-gemset"
163
+ - ".ruby-version"
162
164
  - ".travis.yml"
163
165
  - Gemfile
164
166
  - Gemfile.lock