steem-ruby 0.9.5 → 0.9.8
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 +4 -4
- data/lib/steem/broadcast.rb +0 -248
- data/lib/steem/chain_config.rb +3 -3
- data/lib/steem/transaction_builder.rb +9 -11
- data/lib/steem/type/amount.rb +5 -11
- data/lib/steem/version.rb +1 -1
- data/lib/steem.rb +1 -1
- data/steem-ruby.gemspec +1 -1
- metadata +68 -68
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a7230d89689d2308dfdd9c17a40ac344218711d6a5d0b14a177f8543fde5b6c7
|
4
|
+
data.tar.gz: '095166895a7793d2ae08535d5079165e0cc8f7b5dd2cebf65a3246aae948a14f'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1f383cb2ffd64ff079d894503e905546ff43585f60bb1599865ad7cf517de78fa7509eee57ad8f45748591bba50c5f2bb29d61fe61f86a85d9f991bcd0314400
|
7
|
+
data.tar.gz: db2bdad3ecb11c70cd0dc20e8927231c1d678002cd5d1ef0dd910ca4e4a6fd5157d6905b8684ff478db35c64f33a229289c72f650971972a40fc6f06104ab1bd
|
data/lib/steem/broadcast.rb
CHANGED
@@ -70,58 +70,6 @@ module Steem
|
|
70
70
|
process(options.merge(ops: ops), &block)
|
71
71
|
end
|
72
72
|
|
73
|
-
# This operation is used to cast a vote on a post/comment using multiple votable assets.
|
74
|
-
#
|
75
|
-
# options = {
|
76
|
-
# wif: wif,
|
77
|
-
# params: {
|
78
|
-
# voter: voter,
|
79
|
-
# author: author,
|
80
|
-
# permlink: permlink,
|
81
|
-
# TODO
|
82
|
-
# }
|
83
|
-
# }
|
84
|
-
#
|
85
|
-
# Steem::Broadcast.vote2(options) do |result|
|
86
|
-
# puts result
|
87
|
-
# end
|
88
|
-
#
|
89
|
-
# @param options [Hash] options
|
90
|
-
# @option options [String] :wif Posting wif
|
91
|
-
# @option options [Hash] :params
|
92
|
-
# * :voter (String)
|
93
|
-
# * :author (String)
|
94
|
-
# * :permlink (String)
|
95
|
-
# * :rshares (Array)
|
96
|
-
# @option options [Boolean] :pretend Just validate, do not broadcast.
|
97
|
-
# @see https://developers.steem.io/apidefinitions/broadcast-ops#broadcast_ops_vote
|
98
|
-
def self.vote2(options, &block)
|
99
|
-
required_fields = %i(voter author permlink rshares)
|
100
|
-
params = options[:params]
|
101
|
-
check_required_fields(params, *required_fields)
|
102
|
-
|
103
|
-
ops = [[:vote2, params]]
|
104
|
-
|
105
|
-
process(options.merge(ops: ops), &block)
|
106
|
-
end
|
107
|
-
|
108
|
-
# @param options [Hash] options
|
109
|
-
# @option options [String] :wif Posting wif
|
110
|
-
# @option options [Hash] :params
|
111
|
-
# * :account (String)
|
112
|
-
# * :reward_tokens (Array)
|
113
|
-
# @option options [Boolean] :pretend Just validate, do not broadcast.
|
114
|
-
# @see https://developers.steem.io/apidefinitions/broadcast-ops#broadcast_ops_vote
|
115
|
-
def self.claim_reward_balance2(options, &block)
|
116
|
-
required_fields = %i(account reward_tokens)
|
117
|
-
params = options[:params]
|
118
|
-
check_required_fields(params, *required_fields)
|
119
|
-
|
120
|
-
ops = [[:claim_reward_balance2, params]]
|
121
|
-
|
122
|
-
process(options.merge(ops: ops), &block)
|
123
|
-
end
|
124
|
-
|
125
73
|
# Creates a post/comment. This method simplifies content creation by
|
126
74
|
# combining `comment` and `comment_options` into one transaction.
|
127
75
|
#
|
@@ -433,42 +381,6 @@ module Steem
|
|
433
381
|
process(options.merge(ops: ops), &block)
|
434
382
|
end
|
435
383
|
|
436
|
-
# This operation creates a limit order and matches it against existing open
|
437
|
-
# orders.
|
438
|
-
#
|
439
|
-
# @param options [Hash] options
|
440
|
-
# @option options [String] :wif Active wif
|
441
|
-
# @option options [Hash] :params
|
442
|
-
# * :owner (String)
|
443
|
-
# * :orderid (String)
|
444
|
-
# * :amount_to_sell (String)
|
445
|
-
# * :exchange_rate (Hash)
|
446
|
-
# * :fill_or_kill (Boolean)
|
447
|
-
# * :expiration (String)
|
448
|
-
# @option options [Boolean] :pretend Just validate, do not broadcast.
|
449
|
-
# @see https://developers.steem.io/apidefinitions/broadcast-ops#broadcast_ops_limit_order_create2
|
450
|
-
def self.limit_order_create2(options, &block)
|
451
|
-
required_fields = %i(owner orderid amount_to_sell exchange_rate
|
452
|
-
fill_or_kill)
|
453
|
-
params = options[:params]
|
454
|
-
check_required_fields(params, *required_fields)
|
455
|
-
|
456
|
-
params[:amount_to_sell] = normalize_amount(options.merge amount: params[:amount_to_sell])
|
457
|
-
params[:exchange_rate] = {
|
458
|
-
base: normalize_amount(options.merge amount: params[:exchange_rate][:base]),
|
459
|
-
quote: normalize_amount(options.merge amount: params[:exchange_rate][:quote])
|
460
|
-
}
|
461
|
-
|
462
|
-
if !!params[:expiration]
|
463
|
-
params[:expiration] = Time.parse(params[:expiration].to_s)
|
464
|
-
params[:expiration] = params[:expiration].strftime('%Y-%m-%dT%H:%M:%S')
|
465
|
-
end
|
466
|
-
|
467
|
-
ops = [[:limit_order_create2, params]]
|
468
|
-
|
469
|
-
process(options.merge(ops: ops), &block)
|
470
|
-
end
|
471
|
-
|
472
384
|
# Cancels an order and returns the balance to owner.
|
473
385
|
#
|
474
386
|
# @param options [Hash] options
|
@@ -1328,166 +1240,6 @@ module Steem
|
|
1328
1240
|
process(options.merge(ops: ops), &block)
|
1329
1241
|
end
|
1330
1242
|
|
1331
|
-
# @param options [Hash] options
|
1332
|
-
# @option options [String] :wif Active wif
|
1333
|
-
# @option options [Hash] :params
|
1334
|
-
# * :control_account (String)
|
1335
|
-
# * :symbol (Hash)
|
1336
|
-
# * :smt_creation_fee (Hash)
|
1337
|
-
# * :precision (Integer)
|
1338
|
-
# * :extensions (Array)
|
1339
|
-
# @option options [Boolean] :pretend Just validate, do not broadcast.
|
1340
|
-
# @see https://developers.steem.io/apidefinitions/broadcast-ops#broadcast_ops_smt_create
|
1341
|
-
def self.smt_create(options, &block)
|
1342
|
-
required_fields = %i(control_account symbol smt_creation_fee precision)
|
1343
|
-
params = options[:params]
|
1344
|
-
|
1345
|
-
check_required_fields(params, *required_fields)
|
1346
|
-
|
1347
|
-
params[:smt_creation_fee] = normalize_amount(options.merge amount: params[:smt_creation_fee])
|
1348
|
-
params[:extensions] ||= []
|
1349
|
-
|
1350
|
-
ops = [[:smt_create, params]]
|
1351
|
-
|
1352
|
-
process(options.merge(ops: ops), &block)
|
1353
|
-
end
|
1354
|
-
|
1355
|
-
# @param options [Hash] options
|
1356
|
-
# @option options [String] :wif Active wif
|
1357
|
-
# @option options [Hash] :params
|
1358
|
-
# * :control_account (String)
|
1359
|
-
# * :symbol (Hash)
|
1360
|
-
# * :contribution_begin_time (String)
|
1361
|
-
# * :contribution_end_time (String)
|
1362
|
-
# * :launch_time max_supply (String)
|
1363
|
-
# * :steem_units_hard_cap (Integer)
|
1364
|
-
# * :steem_units_soft_cap (Integer)
|
1365
|
-
# * :steem_units_min (Integer)
|
1366
|
-
# * initial_generation_policy (String)
|
1367
|
-
# * :extensions (Array)
|
1368
|
-
# @option options [Boolean] :pretend Just validate, do not broadcast.
|
1369
|
-
# @see https://developers.steem.io/apidefinitions/broadcast-ops#broadcast_ops_smt_create
|
1370
|
-
def self.smt_setup(options, &block)
|
1371
|
-
required_fields = %i(control_account symbol contribution_begin_time contribution_end_time launch_time max_supply steem_units_hard_cap steem_units_soft_cap steem_units_min initial_generation_policy)
|
1372
|
-
params = options[:params]
|
1373
|
-
|
1374
|
-
check_required_fields(params, *required_fields)
|
1375
|
-
|
1376
|
-
params[:extensions] ||= []
|
1377
|
-
|
1378
|
-
ops = [[:smt_setup, params]]
|
1379
|
-
|
1380
|
-
process(options.merge(ops: ops), &block)
|
1381
|
-
end
|
1382
|
-
|
1383
|
-
# @param options [Hash] options
|
1384
|
-
# @option options [String] :wif Active wif
|
1385
|
-
# @option options [Hash] :params
|
1386
|
-
# * :control_account (String)
|
1387
|
-
# * :symbol (Hash)
|
1388
|
-
# * :setup_parameters (Array)
|
1389
|
-
# * :extensions (Array)
|
1390
|
-
# @option options [Boolean] :pretend Just validate, do not broadcast.
|
1391
|
-
# @see https://developers.steem.io/apidefinitions/broadcast-ops#broadcast_ops_smt_create
|
1392
|
-
def self.smt_set_setup_parameters(options, &block)
|
1393
|
-
required_fields = %i(control_account symbol setup_parameters)
|
1394
|
-
params = options[:params]
|
1395
|
-
|
1396
|
-
check_required_fields(params, *required_fields)
|
1397
|
-
|
1398
|
-
params[:extensions] ||= []
|
1399
|
-
|
1400
|
-
ops = [[:smt_set_setup_parameters, params]]
|
1401
|
-
|
1402
|
-
process(options.merge(ops: ops), &block)
|
1403
|
-
end
|
1404
|
-
|
1405
|
-
# @param options [Hash] options
|
1406
|
-
# @option options [String] :wif Active wif
|
1407
|
-
# @option options [Hash] :params
|
1408
|
-
# * :control_account (String)
|
1409
|
-
# * :symbol (Hash)
|
1410
|
-
# * :runtime_parameters (Array)
|
1411
|
-
# * :extensions (Array)
|
1412
|
-
# @option options [Boolean] :pretend Just validate, do not broadcast.
|
1413
|
-
# @see https://developers.steem.io/apidefinitions/broadcast-ops#broadcast_ops_smt_create
|
1414
|
-
def self.smt_set_runtime_parameters(options, &block)
|
1415
|
-
required_fields = %i(control_account symbol runtime_parameters)
|
1416
|
-
params = options[:params]
|
1417
|
-
|
1418
|
-
check_required_fields(params, *required_fields)
|
1419
|
-
|
1420
|
-
params[:extensions] ||= []
|
1421
|
-
|
1422
|
-
ops = [[:smt_set_runtime_parameters, params]]
|
1423
|
-
|
1424
|
-
process(options.merge(ops: ops), &block)
|
1425
|
-
end
|
1426
|
-
|
1427
|
-
# @param options [Hash] options
|
1428
|
-
# @option options [String] :wif Active wif
|
1429
|
-
# @option options [Hash] :params
|
1430
|
-
# * :control_account (String)
|
1431
|
-
# * :symbol (Hash)
|
1432
|
-
# * :extensions (Array)
|
1433
|
-
# @option options [Boolean] :pretend Just validate, do not broadcast.
|
1434
|
-
# @see https://developers.steem.io/apidefinitions/broadcast-ops#broadcast_ops_smt_create
|
1435
|
-
def self.smt_setup_emissions(options, &block)
|
1436
|
-
required_fields = %i(control_account symbol schedule_time emissions_unit interval_seconds interval_count lep_time rep_time lep_abs_amount rep_abs_amount lep_rel_amount_numerator rep_rel_amount_numerator rel_amount_denom_bits remove floor_emissions)
|
1437
|
-
params = options[:params]
|
1438
|
-
|
1439
|
-
check_required_fields(params, *required_fields)
|
1440
|
-
|
1441
|
-
params[:extensions] ||= []
|
1442
|
-
|
1443
|
-
ops = [[:smt_setup_emissions, params]]
|
1444
|
-
|
1445
|
-
process(options.merge(ops: ops), &block)
|
1446
|
-
end
|
1447
|
-
|
1448
|
-
# @param options [Hash] options
|
1449
|
-
# @option options [String] :wif Active wif
|
1450
|
-
# @option options [Hash] :params
|
1451
|
-
# * :control_account (String)
|
1452
|
-
# * :symbol (Hash)
|
1453
|
-
# * :extensions (Array)
|
1454
|
-
# @option options [Boolean] :pretend Just validate, do not broadcast.
|
1455
|
-
# @see https://developers.steem.io/apidefinitions/broadcast-ops#broadcast_ops_smt_create
|
1456
|
-
def self.smt_contribute(options, &block)
|
1457
|
-
required_fields = %i(contributor symbol contribution_id contribution)
|
1458
|
-
params = options[:params]
|
1459
|
-
|
1460
|
-
check_required_fields(params, *required_fields)
|
1461
|
-
|
1462
|
-
params[:extensions] ||= []
|
1463
|
-
|
1464
|
-
ops = [[:smt_contribute, params]]
|
1465
|
-
|
1466
|
-
process(options.merge(ops: ops), &block)
|
1467
|
-
end
|
1468
|
-
|
1469
|
-
# @param options [Hash] options
|
1470
|
-
# @option options [String] :wif Active wif
|
1471
|
-
# @option options [Hash] :params
|
1472
|
-
# * :from_account (String)
|
1473
|
-
# * :to_pool (String)
|
1474
|
-
# * :amount (Hash)
|
1475
|
-
# * :extensions (Array)
|
1476
|
-
# @option options [Boolean] :pretend Just validate, do not broadcast.
|
1477
|
-
# @see https://developers.steem.io/apidefinitions/broadcast-ops#broadcast_ops_smt_create
|
1478
|
-
def self.delegate_to_pool(options, &block)
|
1479
|
-
required_fields = %i(from_account to_pool amount)
|
1480
|
-
params = options[:params]
|
1481
|
-
|
1482
|
-
check_required_fields(params, *required_fields)
|
1483
|
-
|
1484
|
-
params[:extensions] ||= []
|
1485
|
-
|
1486
|
-
ops = [[:delegate_to_pool, params]]
|
1487
|
-
|
1488
|
-
process(options.merge(ops: ops), &block)
|
1489
|
-
end
|
1490
|
-
|
1491
1243
|
# @param options [Hash] options
|
1492
1244
|
# @option options [Array<Array<Hash>] :ops Operations to process.
|
1493
1245
|
# @option options [Boolean] :pretend Just validate, do not broadcast.
|
data/lib/steem/chain_config.rb
CHANGED
@@ -3,8 +3,8 @@ module Steem
|
|
3
3
|
EXPIRE_IN_SECS = 600
|
4
4
|
EXPIRE_IN_SECS_PROPOSAL = 24 * 60 * 60
|
5
5
|
|
6
|
-
NETWORKS_STEEM_CHAIN_ID = '
|
7
|
-
NETWORKS_STEEM_ADDRESS_PREFIX = '
|
6
|
+
NETWORKS_STEEM_CHAIN_ID = '0000000000000000000000000000000000000000000000000000000000000000'
|
7
|
+
NETWORKS_STEEM_ADDRESS_PREFIX = 'STM'
|
8
8
|
NETWORKS_STEEM_CORE_ASSET = ["0", 3, "@@000000021"] # STEEM
|
9
9
|
NETWORKS_STEEM_DEBT_ASSET = ["0", 3, "@@000000013"] # SBD
|
10
10
|
NETWORKS_STEEM_VEST_ASSET = ["0", 6, "@@000000037"] # VESTS
|
@@ -24,7 +24,7 @@ module Steem
|
|
24
24
|
# NETWORKS_STEEM_DEFAULT_NODE = 'https://rpc.steemviz.com'
|
25
25
|
# NETWORKS_STEEM_DEFAULT_NODE = 'https://steemd.steemgigs.org'
|
26
26
|
|
27
|
-
NETWORKS_TEST_CHAIN_ID = '
|
27
|
+
NETWORKS_TEST_CHAIN_ID = '46d82ab7d8db682eb1959aed0ada039a6d49afa1602491f93dde9cac3e8e6c32'
|
28
28
|
NETWORKS_TEST_ADDRESS_PREFIX = 'TST'
|
29
29
|
NETWORKS_TEST_CORE_ASSET = ["0", 3, "@@000000021"] # TESTS
|
30
30
|
NETWORKS_TEST_DEBT_ASSET = ["0", 3, "@@000000013"] # TBD
|
@@ -1,5 +1,3 @@
|
|
1
|
-
require 'pry'
|
2
|
-
|
3
1
|
module Steem
|
4
2
|
# {TransactionBuilder} can be used to create a transaction that the
|
5
3
|
# {NetworkBroadcastApi} can broadcast to the rest of the platform. The main
|
@@ -37,7 +35,7 @@ module Steem
|
|
37
35
|
alias force_serialize? force_serialize
|
38
36
|
|
39
37
|
def initialize(options = {})
|
40
|
-
@app_base =
|
38
|
+
@app_base = !!options[:app_base] # default false
|
41
39
|
@database_api = options[:database_api]
|
42
40
|
@block_api = options[:block_api]
|
43
41
|
|
@@ -51,8 +49,8 @@ module Steem
|
|
51
49
|
|
52
50
|
@wif = [options[:wif]].flatten
|
53
51
|
@signed = false
|
54
|
-
@testnet =
|
55
|
-
@force_serialize =
|
52
|
+
@testnet = !!options[:testnet]
|
53
|
+
@force_serialize = !!options[:force_serialize]
|
56
54
|
|
57
55
|
if !!(trx = options[:trx])
|
58
56
|
trx = case trx
|
@@ -64,7 +62,7 @@ module Steem
|
|
64
62
|
end
|
65
63
|
|
66
64
|
@trx ||= Transaction.new
|
67
|
-
@chain = options[:chain] || :
|
65
|
+
@chain = options[:chain] || :steem
|
68
66
|
@error_pipe = options[:error_pipe] || STDERR
|
69
67
|
@chain_id = options[:chain_id]
|
70
68
|
@chain_id ||= case @chain
|
@@ -73,9 +71,9 @@ module Steem
|
|
73
71
|
else; raise UnsupportedChainError, "Unsupported chain: #{@chain}"
|
74
72
|
end
|
75
73
|
|
76
|
-
|
77
|
-
|
78
|
-
|
74
|
+
if testnet? && @chain_id == NETWORKS_STEEM_CHAIN_ID
|
75
|
+
raise UnsupportedChainError, "Unsupported testnet chain id: #{@chain_id}"
|
76
|
+
end
|
79
77
|
end
|
80
78
|
|
81
79
|
def inspect
|
@@ -217,7 +215,7 @@ module Steem
|
|
217
215
|
catch :serialize do; begin
|
218
216
|
transaction_hex.tap do |result|
|
219
217
|
hex = if app_base?
|
220
|
-
result
|
218
|
+
result.hex
|
221
219
|
else
|
222
220
|
result
|
223
221
|
end
|
@@ -238,7 +236,7 @@ module Steem
|
|
238
236
|
raise SerializationMismatchError unless @trx == derrived_trx
|
239
237
|
end
|
240
238
|
|
241
|
-
hex = hex
|
239
|
+
hex = hex[0..-4] # drop empty signature array
|
242
240
|
@trx.id = Digest::SHA256.hexdigest(unhexlify(hex))[0..39]
|
243
241
|
|
244
242
|
hex = @chain_id + hex
|
data/lib/steem/type/amount.rb
CHANGED
@@ -27,7 +27,7 @@ module Steem
|
|
27
27
|
when '@@000000013' then 'SBD'
|
28
28
|
when '@@000000021' then 'STEEM'
|
29
29
|
when '@@000000037' then 'VESTS'
|
30
|
-
|
30
|
+
else; raise TypeError, "Asset #{@nai} unknown."
|
31
31
|
end
|
32
32
|
|
33
33
|
@amount = "%.#{@precision}f" % (@amount.to_f / 10 ** @precision)
|
@@ -40,7 +40,7 @@ module Steem
|
|
40
40
|
when '@@000000013' then 'SBD'
|
41
41
|
when '@@000000021' then 'STEEM'
|
42
42
|
when '@@000000037' then 'VESTS'
|
43
|
-
|
43
|
+
else; raise TypeError, "Asset #{@nai} unknown."
|
44
44
|
end
|
45
45
|
|
46
46
|
@amount = "%.#{@precision}f" % (@amount.to_f / 10 ** @precision)
|
@@ -57,7 +57,7 @@ module Steem
|
|
57
57
|
when 'SBD' then 3
|
58
58
|
when 'TESTS' then 3
|
59
59
|
when 'TBD' then 3
|
60
|
-
|
60
|
+
else; raise TypeError, "Asset #{@asset} unknown."
|
61
61
|
end
|
62
62
|
end
|
63
63
|
end
|
@@ -81,7 +81,7 @@ module Steem
|
|
81
81
|
|
82
82
|
def to_h
|
83
83
|
case @asset
|
84
|
-
when 'STEEM'
|
84
|
+
when 'STEEM' then {
|
85
85
|
amount: (@amount.to_f * 1000).to_i.to_s,
|
86
86
|
precision: 3,
|
87
87
|
nai: '@@000000021'
|
@@ -91,17 +91,11 @@ module Steem
|
|
91
91
|
precision: 6,
|
92
92
|
nai: '@@000000037'
|
93
93
|
}
|
94
|
-
when 'SBD'
|
94
|
+
when 'SBD' then {
|
95
95
|
amount: (@amount.to_f * 1000).to_i.to_s,
|
96
96
|
precision: 3,
|
97
97
|
nai: '@@000000013'
|
98
98
|
}
|
99
|
-
else
|
100
|
-
{
|
101
|
-
amount: (@amount.to_f * (10 ** @precision)).to_i.to_s,
|
102
|
-
precision: @precision,
|
103
|
-
nai: @nai
|
104
|
-
}
|
105
99
|
end
|
106
100
|
end
|
107
101
|
|
data/lib/steem/version.rb
CHANGED
data/lib/steem.rb
CHANGED
data/steem-ruby.gemspec
CHANGED
@@ -34,7 +34,7 @@ Gem::Specification.new do |spec|
|
|
34
34
|
|
35
35
|
spec.add_dependency 'json', '~> 2.1', '>= 2.1.0'
|
36
36
|
spec.add_dependency 'logging', '~> 2.2', '>= 2.2.0'
|
37
|
-
spec.add_dependency 'hashie', '~>
|
37
|
+
spec.add_dependency 'hashie', '~> 5.0', '>= 4.1.0'
|
38
38
|
spec.add_dependency 'bitcoin-ruby', '~> 0.0', '>= 0.0.18'
|
39
39
|
spec.add_dependency 'ffi', '~> 1.9', '>= 1.9.23'
|
40
40
|
spec.add_dependency 'bindata', '~> 2.4', '>= 2.4.4'
|
metadata
CHANGED
@@ -1,55 +1,55 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: steem-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Anthony Martin
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-07-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - ">="
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: 1.16.1
|
20
17
|
- - "~>"
|
21
18
|
- !ruby/object:Gem::Version
|
22
19
|
version: '2.1'
|
20
|
+
- - ">="
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 1.16.1
|
23
23
|
type: :development
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
26
26
|
requirements:
|
27
|
-
- - ">="
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
version: 1.16.1
|
30
27
|
- - "~>"
|
31
28
|
- !ruby/object:Gem::Version
|
32
29
|
version: '2.1'
|
30
|
+
- - ">="
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: 1.16.1
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: rake
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
36
36
|
requirements:
|
37
|
-
- - ">="
|
38
|
-
- !ruby/object:Gem::Version
|
39
|
-
version: 12.3.0
|
40
37
|
- - "~>"
|
41
38
|
- !ruby/object:Gem::Version
|
42
39
|
version: '13.0'
|
40
|
+
- - ">="
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
version: 12.3.0
|
43
43
|
type: :development
|
44
44
|
prerelease: false
|
45
45
|
version_requirements: !ruby/object:Gem::Requirement
|
46
46
|
requirements:
|
47
|
-
- - ">="
|
48
|
-
- !ruby/object:Gem::Version
|
49
|
-
version: 12.3.0
|
50
47
|
- - "~>"
|
51
48
|
- !ruby/object:Gem::Version
|
52
49
|
version: '13.0'
|
50
|
+
- - ">="
|
51
|
+
- !ruby/object:Gem::Version
|
52
|
+
version: 12.3.0
|
53
53
|
- !ruby/object:Gem::Dependency
|
54
54
|
name: minitest
|
55
55
|
requirement: !ruby/object:Gem::Requirement
|
@@ -94,42 +94,42 @@ dependencies:
|
|
94
94
|
name: minitest-proveit
|
95
95
|
requirement: !ruby/object:Gem::Requirement
|
96
96
|
requirements:
|
97
|
-
- - ">="
|
98
|
-
- !ruby/object:Gem::Version
|
99
|
-
version: 1.0.0
|
100
97
|
- - "~>"
|
101
98
|
- !ruby/object:Gem::Version
|
102
99
|
version: '1.0'
|
100
|
+
- - ">="
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
version: 1.0.0
|
103
103
|
type: :development
|
104
104
|
prerelease: false
|
105
105
|
version_requirements: !ruby/object:Gem::Requirement
|
106
106
|
requirements:
|
107
|
-
- - ">="
|
108
|
-
- !ruby/object:Gem::Version
|
109
|
-
version: 1.0.0
|
110
107
|
- - "~>"
|
111
108
|
- !ruby/object:Gem::Version
|
112
109
|
version: '1.0'
|
110
|
+
- - ">="
|
111
|
+
- !ruby/object:Gem::Version
|
112
|
+
version: 1.0.0
|
113
113
|
- !ruby/object:Gem::Dependency
|
114
114
|
name: webmock
|
115
115
|
requirement: !ruby/object:Gem::Requirement
|
116
116
|
requirements:
|
117
|
-
- - ">="
|
118
|
-
- !ruby/object:Gem::Version
|
119
|
-
version: 3.3.0
|
120
117
|
- - "~>"
|
121
118
|
- !ruby/object:Gem::Version
|
122
119
|
version: '3.3'
|
120
|
+
- - ">="
|
121
|
+
- !ruby/object:Gem::Version
|
122
|
+
version: 3.3.0
|
123
123
|
type: :development
|
124
124
|
prerelease: false
|
125
125
|
version_requirements: !ruby/object:Gem::Requirement
|
126
126
|
requirements:
|
127
|
-
- - ">="
|
128
|
-
- !ruby/object:Gem::Version
|
129
|
-
version: 3.3.0
|
130
127
|
- - "~>"
|
131
128
|
- !ruby/object:Gem::Version
|
132
129
|
version: '3.3'
|
130
|
+
- - ">="
|
131
|
+
- !ruby/object:Gem::Version
|
132
|
+
version: 3.3.0
|
133
133
|
- !ruby/object:Gem::Dependency
|
134
134
|
name: simplecov
|
135
135
|
requirement: !ruby/object:Gem::Requirement
|
@@ -154,22 +154,22 @@ dependencies:
|
|
154
154
|
name: vcr
|
155
155
|
requirement: !ruby/object:Gem::Requirement
|
156
156
|
requirements:
|
157
|
-
- - ">="
|
158
|
-
- !ruby/object:Gem::Version
|
159
|
-
version: 4.0.0
|
160
157
|
- - "~>"
|
161
158
|
- !ruby/object:Gem::Version
|
162
159
|
version: '6.0'
|
160
|
+
- - ">="
|
161
|
+
- !ruby/object:Gem::Version
|
162
|
+
version: 4.0.0
|
163
163
|
type: :development
|
164
164
|
prerelease: false
|
165
165
|
version_requirements: !ruby/object:Gem::Requirement
|
166
166
|
requirements:
|
167
|
-
- - ">="
|
168
|
-
- !ruby/object:Gem::Version
|
169
|
-
version: 4.0.0
|
170
167
|
- - "~>"
|
171
168
|
- !ruby/object:Gem::Version
|
172
169
|
version: '6.0'
|
170
|
+
- - ">="
|
171
|
+
- !ruby/object:Gem::Version
|
172
|
+
version: 4.0.0
|
173
173
|
- !ruby/object:Gem::Dependency
|
174
174
|
name: yard
|
175
175
|
requirement: !ruby/object:Gem::Requirement
|
@@ -214,22 +214,22 @@ dependencies:
|
|
214
214
|
name: awesome_print
|
215
215
|
requirement: !ruby/object:Gem::Requirement
|
216
216
|
requirements:
|
217
|
-
- - ">="
|
218
|
-
- !ruby/object:Gem::Version
|
219
|
-
version: 1.8.0
|
220
217
|
- - "~>"
|
221
218
|
- !ruby/object:Gem::Version
|
222
219
|
version: '1.8'
|
220
|
+
- - ">="
|
221
|
+
- !ruby/object:Gem::Version
|
222
|
+
version: 1.8.0
|
223
223
|
type: :development
|
224
224
|
prerelease: false
|
225
225
|
version_requirements: !ruby/object:Gem::Requirement
|
226
226
|
requirements:
|
227
|
-
- - ">="
|
228
|
-
- !ruby/object:Gem::Version
|
229
|
-
version: 1.8.0
|
230
227
|
- - "~>"
|
231
228
|
- !ruby/object:Gem::Version
|
232
229
|
version: '1.8'
|
230
|
+
- - ">="
|
231
|
+
- !ruby/object:Gem::Version
|
232
|
+
version: 1.8.0
|
233
233
|
- !ruby/object:Gem::Dependency
|
234
234
|
name: rb-readline
|
235
235
|
requirement: !ruby/object:Gem::Requirement
|
@@ -254,22 +254,22 @@ dependencies:
|
|
254
254
|
name: irb
|
255
255
|
requirement: !ruby/object:Gem::Requirement
|
256
256
|
requirements:
|
257
|
-
- - ">="
|
258
|
-
- !ruby/object:Gem::Version
|
259
|
-
version: 1.0.0
|
260
257
|
- - "~>"
|
261
258
|
- !ruby/object:Gem::Version
|
262
259
|
version: '1.0'
|
260
|
+
- - ">="
|
261
|
+
- !ruby/object:Gem::Version
|
262
|
+
version: 1.0.0
|
263
263
|
type: :development
|
264
264
|
prerelease: false
|
265
265
|
version_requirements: !ruby/object:Gem::Requirement
|
266
266
|
requirements:
|
267
|
-
- - ">="
|
268
|
-
- !ruby/object:Gem::Version
|
269
|
-
version: 1.0.0
|
270
267
|
- - "~>"
|
271
268
|
- !ruby/object:Gem::Version
|
272
269
|
version: '1.0'
|
270
|
+
- - ">="
|
271
|
+
- !ruby/object:Gem::Version
|
272
|
+
version: 1.0.0
|
273
273
|
- !ruby/object:Gem::Dependency
|
274
274
|
name: highline
|
275
275
|
requirement: !ruby/object:Gem::Requirement
|
@@ -294,62 +294,62 @@ dependencies:
|
|
294
294
|
name: json
|
295
295
|
requirement: !ruby/object:Gem::Requirement
|
296
296
|
requirements:
|
297
|
-
- - ">="
|
298
|
-
- !ruby/object:Gem::Version
|
299
|
-
version: 2.1.0
|
300
297
|
- - "~>"
|
301
298
|
- !ruby/object:Gem::Version
|
302
299
|
version: '2.1'
|
300
|
+
- - ">="
|
301
|
+
- !ruby/object:Gem::Version
|
302
|
+
version: 2.1.0
|
303
303
|
type: :runtime
|
304
304
|
prerelease: false
|
305
305
|
version_requirements: !ruby/object:Gem::Requirement
|
306
306
|
requirements:
|
307
|
-
- - ">="
|
308
|
-
- !ruby/object:Gem::Version
|
309
|
-
version: 2.1.0
|
310
307
|
- - "~>"
|
311
308
|
- !ruby/object:Gem::Version
|
312
309
|
version: '2.1'
|
310
|
+
- - ">="
|
311
|
+
- !ruby/object:Gem::Version
|
312
|
+
version: 2.1.0
|
313
313
|
- !ruby/object:Gem::Dependency
|
314
314
|
name: logging
|
315
315
|
requirement: !ruby/object:Gem::Requirement
|
316
316
|
requirements:
|
317
|
-
- - ">="
|
318
|
-
- !ruby/object:Gem::Version
|
319
|
-
version: 2.2.0
|
320
317
|
- - "~>"
|
321
318
|
- !ruby/object:Gem::Version
|
322
319
|
version: '2.2'
|
320
|
+
- - ">="
|
321
|
+
- !ruby/object:Gem::Version
|
322
|
+
version: 2.2.0
|
323
323
|
type: :runtime
|
324
324
|
prerelease: false
|
325
325
|
version_requirements: !ruby/object:Gem::Requirement
|
326
326
|
requirements:
|
327
|
-
- - ">="
|
328
|
-
- !ruby/object:Gem::Version
|
329
|
-
version: 2.2.0
|
330
327
|
- - "~>"
|
331
328
|
- !ruby/object:Gem::Version
|
332
329
|
version: '2.2'
|
330
|
+
- - ">="
|
331
|
+
- !ruby/object:Gem::Version
|
332
|
+
version: 2.2.0
|
333
333
|
- !ruby/object:Gem::Dependency
|
334
334
|
name: hashie
|
335
335
|
requirement: !ruby/object:Gem::Requirement
|
336
336
|
requirements:
|
337
|
-
- - ">="
|
338
|
-
- !ruby/object:Gem::Version
|
339
|
-
version: 3.5.7
|
340
337
|
- - "~>"
|
341
338
|
- !ruby/object:Gem::Version
|
342
|
-
version: '
|
339
|
+
version: '5.0'
|
340
|
+
- - ">="
|
341
|
+
- !ruby/object:Gem::Version
|
342
|
+
version: 4.1.0
|
343
343
|
type: :runtime
|
344
344
|
prerelease: false
|
345
345
|
version_requirements: !ruby/object:Gem::Requirement
|
346
346
|
requirements:
|
347
|
-
- - ">="
|
348
|
-
- !ruby/object:Gem::Version
|
349
|
-
version: 3.5.7
|
350
347
|
- - "~>"
|
351
348
|
- !ruby/object:Gem::Version
|
352
|
-
version: '
|
349
|
+
version: '5.0'
|
350
|
+
- - ">="
|
351
|
+
- !ruby/object:Gem::Version
|
352
|
+
version: 4.1.0
|
353
353
|
- !ruby/object:Gem::Dependency
|
354
354
|
name: bitcoin-ruby
|
355
355
|
requirement: !ruby/object:Gem::Requirement
|
@@ -516,7 +516,7 @@ homepage: https://github.com/steem/steem-ruby
|
|
516
516
|
licenses:
|
517
517
|
- MIT
|
518
518
|
metadata: {}
|
519
|
-
post_install_message:
|
519
|
+
post_install_message:
|
520
520
|
rdoc_options: []
|
521
521
|
require_paths:
|
522
522
|
- lib
|
@@ -531,8 +531,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
531
531
|
- !ruby/object:Gem::Version
|
532
532
|
version: '0'
|
533
533
|
requirements: []
|
534
|
-
rubygems_version: 3.
|
535
|
-
signing_key:
|
534
|
+
rubygems_version: 3.1.4
|
535
|
+
signing_key:
|
536
536
|
specification_version: 4
|
537
537
|
summary: Steem Ruby Client
|
538
538
|
test_files: []
|