katapaty 0.3.3 → 0.3.4

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: 3f731ed7aa04662c56e54af7d003d55421aba7d6
4
- data.tar.gz: b483e855aa1b5c85494426b42ebee89aebfcf592
3
+ metadata.gz: af470b5a8c6856d6b26f049f3e7d54d3a4882aae
4
+ data.tar.gz: 51000c6db5cdbc0ed697f1aac78e4efc16fd3e45
5
5
  SHA512:
6
- metadata.gz: ff8bd8abc6a2ef9e72d9392b66fd26b0d00dad5ffdb79004773e6dcc19e9fc7fcd0ea58ee8b7625294a0647635b4a8a5114983f1cc9623e387dae1aa58b25e68
7
- data.tar.gz: f3c7cc220188b5d11bf86cbd6cf92eafc5a8ed2017b0e00dfc8bdb83d8f114ec816a1c902c573fcbc6b6237332dcae3f9b10788a43786841488c81c4013c77ac
6
+ metadata.gz: ebe57114c938b7f8311cc348edea37833eb3f0b4a8ace40565a4f39b0df0873782b53c3d641ed565e349d4b17ab8b3eb34d5eb1990cfae3d054e64525606b3c4
7
+ data.tar.gz: 2ae24fed0d165b0dbac7b509e9d5ff50131c7797dd4ff7d93521f2c8db769061acd742f5a3a2e7e573ef2873030955e9a4b74ff5afee8c5048795560539b3b77
data/README.md CHANGED
@@ -18,13 +18,14 @@ Or install it yourself as:
18
18
 
19
19
  $ gem install katapaty
20
20
 
21
- Set counterparty node configuration in `config/initializers/katapaty.rb`
21
+ Set your own counterparty node configuration in `config/initializers/katapaty.rb`
22
22
 
23
23
  ```ruby
24
+ # This is testnet counterparty node of coindaddy, you can change your own server config
24
25
  Katapaty.configure do |config|
25
26
  config.username = 'rpc'
26
- config.password = 'rpc'
27
- config.host = '200.200.10.50'
27
+ config.password = '1234'
28
+ config.host = 'public.coindaddy.io'
28
29
  config.port = 14000
29
30
  end
30
31
  ```
@@ -34,6 +35,8 @@ end
34
35
 
35
36
  `Katapaty.create_send({source: "mypcUU2fYyJav7XUpPLtMVhuPupArLJtiM", destination: "mjtwweXS2u5q1Ybypb271Wmehmj9g1w2th", asset: "LONGDD", quantity: 50000})`
36
37
 
38
+ Check methods here: https://counterparty.io/docs/api/#read-api-function-reference
39
+
37
40
  ## Development
38
41
 
39
42
  After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
data/katapaty.gemspec CHANGED
@@ -24,9 +24,9 @@ Gem::Specification.new do |spec|
24
24
  spec.add_development_dependency "rake", "~> 10.0"
25
25
  spec.add_development_dependency "rspec", "~> 3.0"
26
26
 
27
- spec.add_dependency "json", "~> 2.1.0"
27
+ spec.add_dependency "json", "~> 1.8"
28
28
  spec.add_dependency "rest-client", "~> 1.8.0"
29
29
  spec.add_dependency "bitcoin-ruby", "0.0.15"
30
30
  spec.add_dependency "ruby-rc4", "~> 0.1.5"
31
- spec.add_dependency "ffi", "~> 1.9.21"
31
+ spec.add_dependency "ffi"
32
32
  end
@@ -1,3 +1,3 @@
1
1
  module Katapaty
2
- VERSION = "0.3.3"
2
+ VERSION = "0.3.4"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: katapaty
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.3
4
+ version: 0.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - longhoang.wkm
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-02-08 00:00:00.000000000 Z
11
+ date: 2018-02-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -58,14 +58,14 @@ dependencies:
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: 2.1.0
61
+ version: '1.8'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: 2.1.0
68
+ version: '1.8'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rest-client
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -112,16 +112,16 @@ dependencies:
112
112
  name: ffi
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
- - - "~>"
115
+ - - ">="
116
116
  - !ruby/object:Gem::Version
117
- version: 1.9.21
117
+ version: '0'
118
118
  type: :runtime
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
- - - "~>"
122
+ - - ">="
123
123
  - !ruby/object:Gem::Version
124
- version: 1.9.21
124
+ version: '0'
125
125
  description:
126
126
  email:
127
127
  - longhoang@wakumo.vn