RecordsKeeperRubyLib 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.gitignore +1 -1
- data/Gemfile.lock +3 -1
- data/README.md +92 -1
- data/config.yaml +8 -0
- data/docs/address_doc.rb +105 -0
- data/docs/asset_doc.rb +54 -0
- data/docs/block_doc.rb +63 -0
- data/docs/blockchain_doc.rb +77 -0
- data/docs/permissions_doc.rb +54 -0
- data/docs/stream_doc.rb +79 -0
- data/docs/transaction_doc.rb +110 -0
- data/docs/wallet_doc.rb +122 -0
- data/lib/RecordsKeeperRubyLib/address.rb +198 -186
- data/lib/RecordsKeeperRubyLib/assets.rb +99 -92
- data/lib/RecordsKeeperRubyLib/block.rb +94 -88
- data/lib/RecordsKeeperRubyLib/blockchain.rb +148 -138
- data/lib/RecordsKeeperRubyLib/config.yaml +8 -0
- data/lib/RecordsKeeperRubyLib/permissions.rb +77 -71
- data/lib/RecordsKeeperRubyLib/stream.rb +220 -164
- data/lib/RecordsKeeperRubyLib/transaction.rb +213 -183
- data/lib/RecordsKeeperRubyLib/version.rb +1 -1
- data/lib/RecordsKeeperRubyLib/wallet.rb +263 -247
- data/lib/config.yaml +8 -0
- metadata +14 -6
- data/lib/RecordsKeeperRubyLib/sample_config.yaml +0 -29
- data/lib/sample_config.yaml +0 -29
- data/sample_config.yaml +0 -29
data/lib/config.yaml
ADDED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: RecordsKeeperRubyLib
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yusra Qureshi
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-09-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -141,19 +141,27 @@ files:
|
|
141
141
|
- RecordsKeeperRubyLib.gemspec
|
142
142
|
- bin/console
|
143
143
|
- bin/setup
|
144
|
+
- config.yaml
|
145
|
+
- docs/address_doc.rb
|
146
|
+
- docs/asset_doc.rb
|
147
|
+
- docs/block_doc.rb
|
148
|
+
- docs/blockchain_doc.rb
|
149
|
+
- docs/permissions_doc.rb
|
150
|
+
- docs/stream_doc.rb
|
151
|
+
- docs/transaction_doc.rb
|
152
|
+
- docs/wallet_doc.rb
|
144
153
|
- lib/RecordsKeeperRubyLib.rb
|
145
154
|
- lib/RecordsKeeperRubyLib/address.rb
|
146
155
|
- lib/RecordsKeeperRubyLib/assets.rb
|
147
156
|
- lib/RecordsKeeperRubyLib/block.rb
|
148
157
|
- lib/RecordsKeeperRubyLib/blockchain.rb
|
158
|
+
- lib/RecordsKeeperRubyLib/config.yaml
|
149
159
|
- lib/RecordsKeeperRubyLib/permissions.rb
|
150
|
-
- lib/RecordsKeeperRubyLib/sample_config.yaml
|
151
160
|
- lib/RecordsKeeperRubyLib/stream.rb
|
152
161
|
- lib/RecordsKeeperRubyLib/transaction.rb
|
153
162
|
- lib/RecordsKeeperRubyLib/version.rb
|
154
163
|
- lib/RecordsKeeperRubyLib/wallet.rb
|
155
|
-
- lib/
|
156
|
-
- sample_config.yaml
|
164
|
+
- lib/config.yaml
|
157
165
|
homepage: https://github.com/RecordsKeeper
|
158
166
|
licenses:
|
159
167
|
- MIT
|
@@ -174,7 +182,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
174
182
|
version: '0'
|
175
183
|
requirements: []
|
176
184
|
rubyforge_project:
|
177
|
-
rubygems_version: 2.
|
185
|
+
rubygems_version: 2.4.5.2
|
178
186
|
signing_key:
|
179
187
|
specification_version: 4
|
180
188
|
summary: RecordsKeeper-SDK-Ruby
|
@@ -1,29 +0,0 @@
|
|
1
|
-
# config.yaml
|
2
|
-
network:
|
3
|
-
url: testurl
|
4
|
-
rkuser: rkuser
|
5
|
-
passwd: rkpwd
|
6
|
-
chain: test-chain
|
7
|
-
port: testport
|
8
|
-
stream: streamname
|
9
|
-
testdata: test_data
|
10
|
-
amount: test_amount
|
11
|
-
dumptxid: test_txid
|
12
|
-
privatekey: test_privkey
|
13
|
-
validaddress: valid_address
|
14
|
-
invalidaddress: invalid_address
|
15
|
-
miningaddress: mining_address
|
16
|
-
nonminingaddress: nonmining_address
|
17
|
-
multisigaddress: multisig_address
|
18
|
-
wrongimportaddress: wrongimport_address
|
19
|
-
mainaddress: main_address
|
20
|
-
permissionaddress: permission_address
|
21
|
-
dumptxhex: dump_txhex
|
22
|
-
dumpsignedtxhex: dump_signedtxhex
|
23
|
-
samplegetmultisigaddress: sample_multisigaddress
|
24
|
-
samplemerkleroot: sample_merkleroot
|
25
|
-
sampleblockhash: sample_blockhash
|
26
|
-
sampledata: sample_data
|
27
|
-
sampletransac: sample_transaction_id
|
28
|
-
transactionid: transaction_id
|
29
|
-
sampletxid: sample_txid
|
data/lib/sample_config.yaml
DELETED
@@ -1,29 +0,0 @@
|
|
1
|
-
# config.yaml
|
2
|
-
network:
|
3
|
-
url: testurl
|
4
|
-
rkuser: rkuser
|
5
|
-
passwd: rkpwd
|
6
|
-
chain: test-chain
|
7
|
-
port: testport
|
8
|
-
stream: streamname
|
9
|
-
testdata: test_data
|
10
|
-
amount: test_amount
|
11
|
-
dumptxid: test_txid
|
12
|
-
privatekey: test_privkey
|
13
|
-
validaddress: valid_address
|
14
|
-
invalidaddress: invalid_address
|
15
|
-
miningaddress: mining_address
|
16
|
-
nonminingaddress: nonmining_address
|
17
|
-
multisigaddress: multisig_address
|
18
|
-
wrongimportaddress: wrongimport_address
|
19
|
-
mainaddress: main_address
|
20
|
-
permissionaddress: permission_address
|
21
|
-
dumptxhex: dump_txhex
|
22
|
-
dumpsignedtxhex: dump_signedtxhex
|
23
|
-
samplegetmultisigaddress: sample_multisigaddress
|
24
|
-
samplemerkleroot: sample_merkleroot
|
25
|
-
sampleblockhash: sample_blockhash
|
26
|
-
sampledata: sample_data
|
27
|
-
sampletransac: sample_transaction_id
|
28
|
-
transactionid: transaction_id
|
29
|
-
sampletxid: sample_txid
|
data/sample_config.yaml
DELETED
@@ -1,29 +0,0 @@
|
|
1
|
-
# config.yaml
|
2
|
-
network:
|
3
|
-
url: testurl
|
4
|
-
rkuser: rkuser
|
5
|
-
passwd: rkpwd
|
6
|
-
chain: test-chain
|
7
|
-
port: testport
|
8
|
-
stream: streamname
|
9
|
-
testdata: test_data
|
10
|
-
amount: test_amount
|
11
|
-
dumptxid: test_txid
|
12
|
-
privatekey: test_privkey
|
13
|
-
validaddress: valid_address
|
14
|
-
invalidaddress: invalid_address
|
15
|
-
miningaddress: mining_address
|
16
|
-
nonminingaddress: nonmining_address
|
17
|
-
multisigaddress: multisig_address
|
18
|
-
wrongimportaddress: wrongimport_address
|
19
|
-
mainaddress: main_address
|
20
|
-
permissionaddress: permission_address
|
21
|
-
dumptxhex: dump_txhex
|
22
|
-
dumpsignedtxhex: dump_signedtxhex
|
23
|
-
samplegetmultisigaddress: sample_multisigaddress
|
24
|
-
samplemerkleroot: sample_merkleroot
|
25
|
-
sampleblockhash: sample_blockhash
|
26
|
-
sampledata: sample_data
|
27
|
-
sampletransac: sample_transaction_id
|
28
|
-
transactionid: transaction_id
|
29
|
-
sampletxid: sample_txid
|