monacoin_client 0.0.4 → 0.0.5

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: 67c70e0e4fea8b96577e9463c66f467e57b1f8d3
4
- data.tar.gz: 4988772122d088aaacced0c7c1e01a6f2bfba733
3
+ metadata.gz: b8a9ddcc7a7ecf8df68b35e342680767eb19a570
4
+ data.tar.gz: 83d9dee0b3fcbe302c7f4620244b03b9ad33dc2e
5
5
  SHA512:
6
- metadata.gz: 1ef1c58748b6ce7a3b78bbdf7bf887730a2380948b8cdce5b3617208f0bb45a6e2842a449509abfb889904fb7732bff720b4a8d241b1cf0c50b7cce19108ae32
7
- data.tar.gz: addb6ee7e53da946d61047c73189602967c7e4455d12d24e4f23245b33a7a78b0e8fee865eed9c19bf4946269e9b9eede6d3eca4ae52894e53b1bbece8a83e16
6
+ metadata.gz: 154acf902025db05cb78548fe07994e66aa49475c6c012aaf6ded28d5440c34a2768e9897e670e986fefc96a4fe9f820e444b03bbcb1ef47429ee94752869766
7
+ data.tar.gz: 2a4302c914541fc60b1e50f5ee7a36f17ce115b3b30dea83599d25e3bd229c9b93e75807a48cb5e227ba1adeb976cf8c4cd073e618eb7946b66070441ddad207
data/README.md CHANGED
@@ -12,8 +12,12 @@ Todo:
12
12
 
13
13
  ## Installation
14
14
 
15
+ $ gem install monacoin_client
16
+
17
+ or
18
+
15
19
  $ rake build
16
- $ gem install pkg/monacoin_tools-X.X.X.gem
20
+ $ gem install pkg/monacoin_client-X.X.X.gem
17
21
 
18
22
  ## Usage
19
23
 
@@ -26,13 +30,6 @@ lt = MonacoinRPC.new('http://user:password@127.0.0.1:9332')
26
30
  p lt.getbalance # this outputs the balance
27
31
  ```
28
32
 
29
-
30
- Example for a BTCe Priceticker:
31
-
32
- MonacoinTickers::BTCe.ltcusd
33
-
34
- This returns a hash that contains info about the ltc value in usd on BTC-e
35
-
36
33
  ## Contributing
37
34
 
38
35
  1. Fork it
@@ -41,6 +38,8 @@ This returns a hash that contains info about the ltc value in usd on BTC-e
41
38
  4. Push to the branch (`git push origin my-new-feature`)
42
39
  5. Create new Pull Request
43
40
 
41
+ Please join our community. https://www.facebook.com/groups/849211301755891/
42
+
44
43
  If someone has some suggestions for this gem let me know.
45
44
 
46
45
  ## Donations
@@ -21,7 +21,9 @@ class MonacoinRPC
21
21
  request.basic_auth @uri.user, @uri.password
22
22
  request.content_type = 'application/json'
23
23
  request.body = post_body
24
- http.request(request).body
24
+ ret = http.request(request).body
25
+ http.finish
26
+ return ret
25
27
  end
26
28
 
27
29
  class JSONRPCError < RuntimeError; end
@@ -1,3 +1,3 @@
1
1
  module MonacoinClient
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: monacoin_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yuma Wakimoto
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-07-12 00:00:00.000000000 Z
11
+ date: 2014-07-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  version: '0'
76
76
  requirements: []
77
77
  rubyforge_project:
78
- rubygems_version: 2.2.0
78
+ rubygems_version: 2.2.2
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: This gem provides monacoin client