coin_tracking 1.0.0 → 1.0.1

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
  SHA256:
3
- metadata.gz: 25b3b09209a558aa8bbd12b2d1a8f9693fe90f8039f5c596c6b3f87c8f5b2eac
4
- data.tar.gz: 337894dc2a92085ce95259b2f486ea0ac193f1353bf850cf843975bd599d7f4d
3
+ metadata.gz: 461ee8c3836d4563fb01dbab99ceb3819b345715cbcb537700fc7e2649eec79d
4
+ data.tar.gz: 96856eddcbc2c78efe63333a8d8390b656e9b31c6da45fbd460f6bc9c813dc83
5
5
  SHA512:
6
- metadata.gz: db46156e62b85b04990a078c79a1a5054835c8e97480c4f24cda48bfc6ef1422798d3e4bbe85c86ed8885665a3aefdb735bb9abcd73374b065ebae0fbd9ff885
7
- data.tar.gz: 9f8f009b5b77236b8728b61aa315f7abcf3873dbefa63e53105124b691e4691eaf813aca695498a9f6b6b0b9b3e86f35d94084c3d25202804a9c007727b30f0f
6
+ metadata.gz: 203b5289b0bfc0cb2e7919ed6ac7d05261af505ad0c6c707c31c94c4b63df349f8772288140dc2fbfd00e83eeaee3297146432398788af92571f80e3184da1a5
7
+ data.tar.gz: 5022fc804a3510df02ea2fd3219e9a3272d1d06a3659a3839b9262d25a3db9a6f23006e9db682f384fe8818a19f4d4c17c7156d3108f86686bd315707a52bb05
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- coin_tracking (1.0.0)
4
+ coin_tracking (1.0.1)
5
5
  httparty
6
6
 
7
7
  GEM
data/README.md CHANGED
@@ -31,12 +31,16 @@ api.historical_currency
31
31
  api.grouped_balance
32
32
  api.gains
33
33
 
34
- # Optionally, you can pass a Hash with additional parameters, as documented at https://cointracking.info/api/api.php.
35
- # Note that `start` and `end` are special parameters that accept DateTime, Time or a Unix timestamp. This gem does the conversion for you.
34
+ # Optionally, you can pass a Hash with additional parameters, as documented
35
+ # at https://cointracking.info/api/api.php.
36
+ #
37
+ # Note that `start` and `end` are special parameters that accept DateTime,
38
+ # Time or a Unix timestamp. This gem does the conversion for you.
36
39
 
37
40
  api.trades(limit: 100, order: 'DESC', start: 1.year.ago, end: 1525486520)
38
41
 
39
- # Each call returns a CoinTracking::Response object. Here are some of the methods that are available:
42
+ # Each call returns a CoinTracking::Response object. Here are some of the
43
+ # methods that are available:
40
44
 
41
45
  response.success? # => true/false
42
46
  response.data # => Hash
@@ -62,7 +62,6 @@ module CoinTracking
62
62
  def api_query(action, params = {})
63
63
  params = { method: action, nonce: nonce }.merge(params)
64
64
  response = HTTParty.post API_URL, body: params, headers: http_headers(params), debug_output: DEBUG ? $stdout : nil
65
- puts params
66
65
  CoinTracking::Response.new(response)
67
66
  end
68
67
 
@@ -1,4 +1,4 @@
1
1
  module CoinTracking
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  SOURCE_URL = "https://github.com/cmer/coin_tracking_rb"
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: coin_tracking
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Carl Mercier
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-05-05 00:00:00.000000000 Z
11
+ date: 2018-05-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler