kraken_client 0.2.1 → 1.0.0

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: 6c0722625142a5605b133bd8560f6bb389b6361a
4
- data.tar.gz: 6aea9708f5bb302103b0d452f6d05b29cbe9b624
3
+ metadata.gz: 4df76f48a5fcb50f997fe1aff8019a915d247793
4
+ data.tar.gz: 88a3cfcc365318105421f51dc60f8faca15825c9
5
5
  SHA512:
6
- metadata.gz: 3b1d4b66ef681b34b152759c71461a37b0f281bfe994250282047c41b2bcca110461e9025d9efe2229c9cdf2463fdeb6926b49084b971f0a73615cb28ae3db45
7
- data.tar.gz: 2b0f26da3d9926e92d094fa07226dbd6bfa1f8e378e311d31990c894d215c21bfee44a82a81f399fdda2eafadfdbd363c71989c04490f07f773ab9251cb0aa10
6
+ metadata.gz: 15fe678c9068bdfe0ca8d22cfcb5266bd0448aed23927fdb8f5faf18ca4e3b4e26c6a3f944d632d6c09f2f893e9a1a24a04413dd5843f01a13846d75e7b84789
7
+ data.tar.gz: e5d9e5a93beabf5d1715356f2a942c9563d2140aedebe87f5fbe7c06d053d8a3695f0ba310856a1f5d033cba4a6d83a4936d43d189abdb693715cc4c8f8a70da
data/.travis.yml CHANGED
@@ -10,6 +10,4 @@ rvm:
10
10
  - 2.1
11
11
  - 2.2
12
12
  - ruby-head
13
- - jruby
14
- - jruby-head
15
13
  - rbx-2
data/Gemfile.lock CHANGED
@@ -2,7 +2,7 @@ PATH
2
2
  remote: .
3
3
  specs:
4
4
  kraken_client (0.2.1)
5
- activesupport
5
+ activesupport (~> 3.2)
6
6
  addressable
7
7
  hashie
8
8
  httparty
@@ -10,12 +10,9 @@ PATH
10
10
  GEM
11
11
  remote: https://rubygems.org/
12
12
  specs:
13
- activesupport (4.2.3)
14
- i18n (~> 0.7)
15
- json (~> 1.7, >= 1.7.7)
16
- minitest (~> 5.1)
17
- thread_safe (~> 0.3, >= 0.3.4)
18
- tzinfo (~> 1.1)
13
+ activesupport (3.2.22)
14
+ i18n (~> 0.6, >= 0.6.4)
15
+ multi_json (~> 1.0)
19
16
  addressable (2.3.8)
20
17
  codeclimate-test-reporter (0.4.7)
21
18
  simplecov (>= 0.7.1, < 1.0.0)
@@ -30,7 +27,7 @@ GEM
30
27
  json (1.8.3)
31
28
  matchi (0.0.9)
32
29
  method_source (0.8.2)
33
- minitest (5.8.0)
30
+ multi_json (1.11.2)
34
31
  multi_xml (0.5.5)
35
32
  pry (0.10.1)
36
33
  coderay (~> 1.1.0)
@@ -45,9 +42,6 @@ GEM
45
42
  slop (3.6.0)
46
43
  spectus (2.2.0)
47
44
  matchi (~> 0.0)
48
- thread_safe (0.3.5)
49
- tzinfo (1.2.2)
50
- thread_safe (~> 0.1)
51
45
  vcr (2.9.3)
52
46
  webmock (1.9.0)
53
47
  addressable (>= 2.2.7)
data/kraken_rb.gemspec CHANGED
@@ -30,6 +30,7 @@ Gem::Specification.new do |spec|
30
30
  spec.add_dependency 'httparty'
31
31
  spec.add_dependency 'hashie'
32
32
  spec.add_dependency 'addressable'
33
- spec.add_dependency 'activesupport'
33
+
34
+ spec.add_runtime_dependency 'activesupport', '~> 3.2'
34
35
 
35
36
  end
data/lib/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module KrakenClient
2
- VERSION = "0.2.1"
2
+ VERSION = "1.0.0"
3
3
  end
data/readme.md CHANGED
@@ -1,13 +1,49 @@
1
- # **KrakenClient**
1
+ # KrakenClient
2
+
2
3
  [![Gem Version](https://badge.fury.io/rb/kraken_client.svg)](http://badge.fury.io/rb/kraken_client)
3
4
  [![Code Climate](https://codeclimate.com/github/shideneyu/kraken_client/badges/gpa.svg)](https://codeclimate.com/github/shideneyu/kraken_client)
4
5
  [![Test Coverage](https://codeclimate.com/github/shideneyu/kraken_client/badges/coverage.svg)](https://codeclimate.com/github/shideneyu/kraken_client/coverage)
5
-
6
- `KrakenClient` is a **Ruby** wrapper of the Kraken API. Kraken is a market exchange site serving those trading with Crypto-Currencies, such as **Bitcoin**.
7
-
8
- This gem tends to be a replacement for [kraken_ruby](https://github.com/leishman/kraken_ruby), another wrapper, from which it is originally forked from.
9
-
10
- It has every features of the latter gem, with improved readability, usability, maintenability, and speced using the Awesome [Spectus gem](https://github.com/fixrb/spectus).
6
+ [![Build Status](https://travis-ci.org/shideneyu/kraken_client.svg?branch=master)](https://travis-ci.org/shideneyu/kraken_client)
7
+
8
+ ![kraken_client_blob](http://image.noelshack.com/fichiers/2015/34/1440350422-kraken3.png)
9
+
10
+ __KrakenClient__ is a Ruby wrapper of the [Kraken API](https://support.kraken.com/hc/en-us/articles/206548367-What-is-the-API-call-rate-limit-).
11
+ [Kraken](https://www.kraken.com/) is a market exchange site serving those trading with Crypto-Currencies, such as **Bitcoin**.
12
+
13
+ It is a robust gem, and tested using the Awesome [Spectus gem](https://github.com/fixrb/spectus).
14
+
15
+ ## Summary
16
+
17
+ * [Installation](#installation)
18
+ * [Usage](#usage)
19
+ * [Configuration](#configuration)
20
+ * [Call Rate Limiter](#call-rate-limiter)
21
+ * [Requests](#requests)
22
+ * [Public Endpoints](#public-endpoints)
23
+ * [Asset Info](#asset-info)
24
+ * [Asset Pairs](#asset-pairs)
25
+ * [Ticker Information](#ticker-information)
26
+ * [Order Book](#order-book)
27
+ * [Trades](#trades)
28
+ * [Spread](#spread)
29
+ * [Private Endpoints](#private-endpoints)
30
+ * [Balance](#balance)
31
+ * [Trade Balance](#trade-balance)
32
+ * [Open Orders](#open-orders)
33
+ * [Closed Orders](#closed-orders)
34
+ * [Query Orders](#query-orders)
35
+ * [Trades History](#trades-history)
36
+ * [Query Trades](#query-trades)
37
+ * [Open Positions](#open-positions)
38
+ * [Ledgers Info](#ledgers-info)
39
+ * [Query Ledgers](#query-ledgers)
40
+ * [Trade Volume](#trade-volume)
41
+ * [Add Order](#add-order)
42
+ * [Cancel Order](#cancel-order)
43
+ * [Donations](#donations)
44
+ * [Credits](#credits)
45
+ * [Contributing](#contributing)
46
+ * [License](#license)
11
47
 
12
48
 
13
49
  ## Installation
@@ -24,7 +60,7 @@ And then execute:
24
60
 
25
61
  Or install it yourself as:
26
62
 
27
- $ gem install kraken_ruby
63
+ $ gem install kraken_client
28
64
 
29
65
  And require it in your application:
30
66
 
@@ -91,7 +127,7 @@ If you ever need to see the full documentation for the possible parameters, plea
91
127
 
92
128
  A `KrakenClient::MissingParameter` exception will be raised along with the missing parameters if a required parameter is not passed.
93
129
 
94
- ### *Public Endpoints* ###
130
+ ### Public Endpoints ###
95
131
 
96
132
 
97
133
  ##### Server Time
@@ -259,12 +295,21 @@ client.private.add_order(opts)
259
295
  client.private.cancel_order("UKIYSP-9VN27-AJWWYC")
260
296
  ```
261
297
 
298
+ ## Donations
299
+
300
+ If you like the work that has been done, do not hesitate in paying me a Coffee, I'd gladly accept it :)
301
+
302
+ ![bitcoinadress](http://image.noelshack.com/fichiers/2015/34/1440342556-bitcoinadress.png)
303
+
304
+ Bitcoin Adress: 1LxffuH2C44mFNTYe1NtDz7FeWScCFZqM8
305
+ Donate here: https://www.coinbase.com/shideneyu
262
306
 
263
307
  ## Credits
264
308
 
265
309
  This gem has been made by [Sidney SISSAOUI (shideneyu)](https://github.com/shideneyu).
266
310
 
267
- Special credits goes to [Alexander LEISHMAN](http://alexleishman.com/) and other [kraken_ruby](https://github.com/leishman/kraken_ruby) contributors for their gem, which helped me to have a nice base to begin **KrakenClient**. It would have been difficult for me to sign the requests if it wasn't thanks to their work.
311
+ Special credits goes to [Alexander LEISHMAN](http://alexleishman.com/) and other [kraken_ruby](https://github.com/leishman/kraken_ruby/graphs/contributors) contributors for their gem, which helped me to have a nice skeleton to begin **KrakenClient**. It would have been difficult for me to sign the requests if it wasn't thanks to their work.
312
+
268
313
  If you want to be part of those credits, do not hesitate to contribute by doing some pull requests ;) !
269
314
 
270
315
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kraken_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sidney SISSAOUI
@@ -168,16 +168,16 @@ dependencies:
168
168
  name: activesupport
169
169
  requirement: !ruby/object:Gem::Requirement
170
170
  requirements:
171
- - - ">="
171
+ - - "~>"
172
172
  - !ruby/object:Gem::Version
173
- version: '0'
173
+ version: '3.2'
174
174
  type: :runtime
175
175
  prerelease: false
176
176
  version_requirements: !ruby/object:Gem::Requirement
177
177
  requirements:
178
- - - ">="
178
+ - - "~>"
179
179
  - !ruby/object:Gem::Version
180
- version: '0'
180
+ version: '3.2'
181
181
  description: "'Wrapper for Kraken Exchange API'"
182
182
  email:
183
183
  - shideneyu@gmail.com