steem-ruby 0.9.1 → 0.9.6
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/README.md +83 -10
- data/Rakefile +128 -31
- data/lib/steem.rb +49 -0
- data/lib/steem/api.rb +38 -36
- data/lib/steem/base_error.rb +32 -11
- data/lib/steem/block_api.rb +23 -3
- data/lib/steem/broadcast.rb +165 -2
- data/lib/steem/marshal.rb +231 -0
- data/lib/steem/mixins/jsonable.rb +37 -0
- data/lib/steem/mixins/retriable.rb +22 -13
- data/lib/steem/mixins/serializable.rb +45 -0
- data/lib/steem/operation.rb +141 -0
- data/lib/steem/operation/account_create.rb +10 -0
- data/lib/steem/operation/account_create_with_delegation.rb +12 -0
- data/lib/steem/operation/account_update.rb +8 -0
- data/lib/steem/operation/account_witness_proxy.rb +4 -0
- data/lib/steem/operation/account_witness_vote.rb +5 -0
- data/lib/steem/operation/cancel_transfer_from_savings.rb +4 -0
- data/lib/steem/operation/challenge_authority.rb +5 -0
- data/lib/steem/operation/change_recovery_account.rb +5 -0
- data/lib/steem/operation/claim_account.rb +5 -0
- data/lib/steem/operation/claim_reward_balance.rb +6 -0
- data/lib/steem/operation/comment.rb +9 -0
- data/lib/steem/operation/comment_options.rb +10 -0
- data/lib/steem/operation/convert.rb +5 -0
- data/lib/steem/operation/create_claimed_account.rb +10 -0
- data/lib/steem/operation/custom.rb +5 -0
- data/lib/steem/operation/custom_binary.rb +8 -0
- data/lib/steem/operation/custom_json.rb +6 -0
- data/lib/steem/operation/decline_voting_rights.rb +4 -0
- data/lib/steem/operation/delegate_vesting_shares.rb +5 -0
- data/lib/steem/operation/delete_comment.rb +4 -0
- data/lib/steem/operation/escrow_approve.rb +8 -0
- data/lib/steem/operation/escrow_dispute.rb +7 -0
- data/lib/steem/operation/escrow_release.rb +10 -0
- data/lib/steem/operation/escrow_transfer.rb +12 -0
- data/lib/steem/operation/feed_publish.rb +4 -0
- data/lib/steem/operation/limit_order_cancel.rb +4 -0
- data/lib/steem/operation/limit_order_create.rb +8 -0
- data/lib/steem/operation/limit_order_create2.rb +8 -0
- data/lib/steem/operation/prove_authority.rb +4 -0
- data/lib/steem/operation/recover_account.rb +6 -0
- data/lib/steem/operation/report_over_production.rb +5 -0
- data/lib/steem/operation/request_account_recovery.rb +6 -0
- data/lib/steem/operation/reset_account.rb +5 -0
- data/lib/steem/operation/set_reset_account.rb +5 -0
- data/lib/steem/operation/set_withdraw_vesting_route.rb +6 -0
- data/lib/steem/operation/transfer.rb +6 -0
- data/lib/steem/operation/transfer_from_savings.rb +7 -0
- data/lib/steem/operation/transfer_to_savings.rb +6 -0
- data/lib/steem/operation/transfer_to_vesting.rb +5 -0
- data/lib/steem/operation/vote.rb +6 -0
- data/lib/steem/operation/withdraw_vesting.rb +4 -0
- data/lib/steem/operation/witness_set_properties.rb +5 -0
- data/lib/steem/operation/witness_update.rb +7 -0
- data/lib/steem/rpc/base_client.rb +14 -2
- data/lib/steem/rpc/http_client.rb +17 -1
- data/lib/steem/stream.rb +385 -0
- data/lib/steem/transaction.rb +96 -0
- data/lib/steem/transaction_builder.rb +77 -70
- data/lib/steem/type/amount.rb +6 -0
- data/lib/steem/version.rb +1 -1
- data/steem-ruby.gemspec +9 -4
- metadata +203 -56
- data/Gemfile.lock +0 -73
data/Gemfile.lock
DELETED
@@ -1,73 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: .
|
3
|
-
specs:
|
4
|
-
steem-ruby (0.9.1)
|
5
|
-
bitcoin-ruby (~> 0.0, >= 0.0.18)
|
6
|
-
ffi (~> 1.9, >= 1.9.23)
|
7
|
-
hashie (~> 3.5, >= 3.5.7)
|
8
|
-
json (~> 2.1, >= 2.1.0)
|
9
|
-
logging (~> 2.2, >= 2.2.0)
|
10
|
-
|
11
|
-
GEM
|
12
|
-
remote: https://rubygems.org/
|
13
|
-
specs:
|
14
|
-
addressable (2.5.2)
|
15
|
-
public_suffix (>= 2.0.2, < 4.0)
|
16
|
-
awesome_print (1.8.0)
|
17
|
-
bitcoin-ruby (0.0.18)
|
18
|
-
coderay (1.1.2)
|
19
|
-
crack (0.4.3)
|
20
|
-
safe_yaml (~> 1.0.0)
|
21
|
-
docile (1.3.1)
|
22
|
-
ffi (1.9.25)
|
23
|
-
hashdiff (0.3.7)
|
24
|
-
hashie (3.5.7)
|
25
|
-
json (2.1.0)
|
26
|
-
little-plugger (1.1.4)
|
27
|
-
logging (2.2.2)
|
28
|
-
little-plugger (~> 1.1)
|
29
|
-
multi_json (~> 1.10)
|
30
|
-
method_source (0.9.0)
|
31
|
-
minitest (5.11.3)
|
32
|
-
minitest-line (0.6.5)
|
33
|
-
minitest (~> 5.0)
|
34
|
-
minitest-proveit (1.0.0)
|
35
|
-
minitest (> 5, < 7)
|
36
|
-
multi_json (1.13.1)
|
37
|
-
pry (0.11.3)
|
38
|
-
coderay (~> 1.1.0)
|
39
|
-
method_source (~> 0.9.0)
|
40
|
-
public_suffix (3.0.2)
|
41
|
-
rake (12.3.1)
|
42
|
-
safe_yaml (1.0.4)
|
43
|
-
simplecov (0.16.1)
|
44
|
-
docile (~> 1.1)
|
45
|
-
json (>= 1.8, < 3)
|
46
|
-
simplecov-html (~> 0.10.0)
|
47
|
-
simplecov-html (0.10.2)
|
48
|
-
vcr (4.0.0)
|
49
|
-
webmock (3.4.2)
|
50
|
-
addressable (>= 2.3.6)
|
51
|
-
crack (>= 0.3.2)
|
52
|
-
hashdiff
|
53
|
-
yard (0.9.14)
|
54
|
-
|
55
|
-
PLATFORMS
|
56
|
-
ruby
|
57
|
-
|
58
|
-
DEPENDENCIES
|
59
|
-
awesome_print (~> 1.8, >= 1.8.0)
|
60
|
-
bundler (~> 1.16, >= 1.16.1)
|
61
|
-
minitest (~> 5.10, >= 5.10.3)
|
62
|
-
minitest-line (~> 0.6, >= 0.6.4)
|
63
|
-
minitest-proveit (~> 1.0, >= 1.0.0)
|
64
|
-
pry (~> 0.11, >= 0.11.3)
|
65
|
-
rake (~> 12.3, >= 12.3.0)
|
66
|
-
simplecov (~> 0.15, >= 0.15.1)
|
67
|
-
steem-ruby!
|
68
|
-
vcr (~> 4.0, >= 4.0.0)
|
69
|
-
webmock (~> 3.3, >= 3.3.0)
|
70
|
-
yard (~> 0.9, >= 0.9.12)
|
71
|
-
|
72
|
-
BUNDLED WITH
|
73
|
-
1.16.1
|