radiator 0.4.7 → 0.4.8.pre.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +7 -7
- data/Rakefile +50 -20
- data/lib/radiator.rb +3 -1
- data/lib/radiator/api.rb +83 -10
- data/lib/radiator/bridge.rb +34 -0
- data/lib/radiator/chain_config.rb +9 -2
- data/lib/radiator/database_api.rb +1 -1
- data/lib/radiator/follow_api.rb +1 -1
- data/lib/radiator/market_history_api.rb +1 -1
- data/lib/radiator/operation.rb +3 -2
- data/lib/radiator/operation_types.rb +43 -27
- data/lib/radiator/ssc/base_steem_smart_contract_rpc.rb +1 -1
- data/lib/radiator/stream.rb +15 -6
- data/lib/radiator/transaction.rb +28 -1
- data/lib/radiator/type/amount.rb +26 -51
- data/lib/radiator/type/price.rb +2 -2
- data/lib/radiator/version.rb +1 -1
- data/radiator.gemspec +13 -11
- data/test/fixtures/empty.json +1 -0
- data/test/fixtures/error.json +29 -0
- data/test/fixtures/follow_api_get_followers.json +1 -0
- data/test/fixtures/get_account.json +165 -0
- data/test/fixtures/get_account_count.json +1 -0
- data/test/fixtures/get_account_references.json +1 -0
- data/test/fixtures/get_block.json +193 -0
- data/test/fixtures/get_dynamic_global_properties.json +32 -0
- data/test/fixtures/get_feed_history.json +684 -0
- data/test/fixtures/get_hardfork_version.json +1 -0
- data/test/fixtures/get_key_references.json +14 -0
- data/test/fixtures/get_stats_for_time.json +57 -0
- data/test/fixtures/get_vesting_delegation.json +936 -0
- data/test/fixtures/golos_get_dynamic_global_properties.json +32 -0
- data/test/fixtures/market_history_api_get_market_history_buckets.json +1 -0
- data/test/fixtures/market_history_api_get_order_book.json +109 -0
- data/test/fixtures/market_history_api_get_recent_trades.json +55 -0
- data/test/fixtures/market_history_api_get_ticker.json +11 -0
- data/test/fixtures/market_history_api_get_volume.json +1 -0
- data/test/fixtures/null.json +1 -0
- data/test/fixtures/vcr_cassettes/account_by_key_api_all_methods.yml +525 -0
- data/test/fixtures/vcr_cassettes/account_by_key_api_jsonrpc.yml +52 -0
- data/test/fixtures/vcr_cassettes/all_methods.yml +18155 -0
- data/test/fixtures/vcr_cassettes/api_all_methods.yml +13254 -0
- data/test/fixtures/vcr_cassettes/base_per_debt.yml +4946 -0
- data/test/fixtures/vcr_cassettes/base_per_mvest.yml +3969 -0
- data/test/fixtures/vcr_cassettes/block_time.yml +3322 -0
- data/test/fixtures/vcr_cassettes/broadcast_transaction.yml +1186 -0
- data/test/fixtures/vcr_cassettes/condenser_all_all_methods.yml +13297 -0
- data/test/fixtures/vcr_cassettes/expiration_initialize.yml +3428 -0
- data/test/fixtures/vcr_cassettes/find_account.yml +3681 -0
- data/test/fixtures/vcr_cassettes/find_block.yml +3589 -0
- data/test/fixtures/vcr_cassettes/find_comment.yml +11464 -0
- data/test/fixtures/vcr_cassettes/follow_api_jsonrpc.yml +52 -0
- data/test/fixtures/vcr_cassettes/get_account_count.yml +575 -0
- data/test/fixtures/vcr_cassettes/get_account_references.yml +608 -0
- data/test/fixtures/vcr_cassettes/get_accounts.yml +674 -0
- data/test/fixtures/vcr_cassettes/get_accounts_no_argument.yml +608 -0
- data/test/fixtures/vcr_cassettes/get_dynamic_global_properties.yml +661 -0
- data/test/fixtures/vcr_cassettes/get_feed_history.yml +1106 -0
- data/test/fixtures/vcr_cassettes/get_hardfork_version.yml +577 -0
- data/test/fixtures/vcr_cassettes/get_key_references.yml +987 -0
- data/test/fixtures/vcr_cassettes/get_market_history.yml +1043 -0
- data/test/fixtures/vcr_cassettes/get_market_history_buckets.yml +1043 -0
- data/test/fixtures/vcr_cassettes/get_order_book.yml +1091 -0
- data/test/fixtures/vcr_cassettes/get_recent_trades.yml +1043 -0
- data/test/fixtures/vcr_cassettes/get_ticker.yml +1047 -0
- data/test/fixtures/vcr_cassettes/get_trade_history.yml +1049 -0
- data/test/fixtures/vcr_cassettes/get_vesting_delegations.yml +523 -0
- data/test/fixtures/vcr_cassettes/get_volume.yml +1051 -0
- data/test/fixtures/vcr_cassettes/get_witness_by_account.yml +575 -0
- data/test/fixtures/vcr_cassettes/look_up_witnesses.yml +523 -0
- data/test/fixtures/vcr_cassettes/market_history_api_all_methods.yml +4373 -0
- data/test/fixtures/vcr_cassettes/network_broadcast_api_all_methods.yml +1288 -0
- data/test/fixtures/vcr_cassettes/properties.yml +3627 -0
- data/test/fixtures/vcr_cassettes/recover_transaction.yml +1099 -0
- data/test/fixtures/vcr_cassettes/ssc_blockchain_block_info.yml +92 -0
- data/test/fixtures/vcr_cassettes/ssc_blockchain_block_info_invalid.yml +90 -0
- data/test/fixtures/vcr_cassettes/ssc_blockchain_latest_block_info.yml +91 -0
- data/test/fixtures/vcr_cassettes/ssc_blockchain_transaction_info.yml +92 -0
- data/test/fixtures/vcr_cassettes/ssc_contracts_contract.yml +366 -0
- data/test/fixtures/vcr_cassettes/ssc_contracts_find.yml +91 -0
- data/test/fixtures/vcr_cassettes/ssc_contracts_find_one.yml +89 -0
- data/test/fixtures/vcr_cassettes/stream_jsonrpc.yml +8253 -0
- data/test/fixtures/vcr_cassettes/transaction_expiration_initialize_nil.yml +3176 -0
- data/test/fixtures/vcr_cassettes/transaction_jsonrpc.yml +151 -0
- data/test/fixtures/vcr_cassettes/unknown_chain_id.yml +3343 -0
- data/test/fixtures/vcr_cassettes/valid_chains.yml +3124 -0
- data/test/radiator/account_by_key_api_test.rb +46 -0
- data/test/radiator/api_test.rb +135 -0
- data/test/radiator/chain_stats_api_test.rb +49 -0
- data/test/radiator/chain_test.rb +153 -0
- data/test/radiator/condenser_api_test.rb +48 -0
- data/test/radiator/follow_api_test.rb +48 -0
- data/test/radiator/market_history_api_test.rb +100 -0
- data/test/radiator/network_broadcast_api_test.rb +48 -0
- data/test/radiator/operation_test.rb +117 -0
- data/test/radiator/ssc/blockchain_test.rb +58 -0
- data/test/radiator/ssc/contracts_test.rb +65 -0
- data/test/radiator/stream_test.rb +48 -0
- data/test/radiator/tag_api_test.rb +40 -0
- data/test/radiator/transaction_test.rb +755 -0
- data/test/test_helper.rb +66 -0
- metadata +182 -73
- data/.codeclimate.yml +0 -19
- data/.gitignore +0 -52
- data/.travis.yml +0 -23
- data/gource.sh +0 -8
- data/images/Anthony Martin.png +0 -0
- data/images/Marvin Hofmann.jpg +0 -0
- data/images/Marvin Hofmann.png +0 -0
- data/lib/steem.rb +0 -17
data/test/test_helper.rb
ADDED
@@ -0,0 +1,66 @@
|
|
1
|
+
$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
|
2
|
+
|
3
|
+
if ENV["HELL_ENABLED"]
|
4
|
+
require 'simplecov'
|
5
|
+
SimpleCov.start
|
6
|
+
SimpleCov.merge_timeout 3600
|
7
|
+
end
|
8
|
+
|
9
|
+
require 'radiator'
|
10
|
+
|
11
|
+
require 'minitest/autorun'
|
12
|
+
|
13
|
+
require 'webmock/minitest' unless ENV["TEST_NET"] == 'true'
|
14
|
+
require 'vcr'
|
15
|
+
require 'yaml'
|
16
|
+
require 'awesome_print'
|
17
|
+
|
18
|
+
VCR.configure do |c|
|
19
|
+
c.cassette_library_dir = 'test/fixtures/vcr_cassettes'
|
20
|
+
c.hook_into :webmock
|
21
|
+
end
|
22
|
+
|
23
|
+
if ENV["HELL_ENABLED"]
|
24
|
+
require "minitest/hell"
|
25
|
+
require 'minitest/proveit'
|
26
|
+
|
27
|
+
class Minitest::Test
|
28
|
+
# See: https://gist.github.com/chrisroos/b5da6c6a37ac8af5fe78
|
29
|
+
parallelize_me! unless defined? WebMock
|
30
|
+
end
|
31
|
+
else
|
32
|
+
require "minitest/pride"
|
33
|
+
end
|
34
|
+
|
35
|
+
if defined? WebMock
|
36
|
+
WebMock.disable_net_connect!(allow_localhost: false, allow: 'codeclimate.com:443')
|
37
|
+
end
|
38
|
+
|
39
|
+
class Radiator::Test < MiniTest::Test
|
40
|
+
defined? prove_it! and prove_it!
|
41
|
+
|
42
|
+
def chain_options
|
43
|
+
{
|
44
|
+
chain: :steem,
|
45
|
+
url: 'https://api.steemitdev.com',
|
46
|
+
failover_urls: [
|
47
|
+
# 'https://api.steemitstage.com',
|
48
|
+
'https://api.steemitdev.com',
|
49
|
+
# 'https://api.steem.house',
|
50
|
+
]
|
51
|
+
}
|
52
|
+
end
|
53
|
+
|
54
|
+
# Most likely modes: 'once' and 'new_episodes'
|
55
|
+
VCR_RECORD_MODE = (ENV['VCR_RECORD_MODE'] || 'new_episodes').to_sym
|
56
|
+
|
57
|
+
def vcr_cassette(name, &block)
|
58
|
+
VCR.use_cassette(name, record: VCR_RECORD_MODE, match_requests_on: [:method, :uri, :body]) do
|
59
|
+
yield
|
60
|
+
end
|
61
|
+
end
|
62
|
+
|
63
|
+
LOGGER = Logger.new(nil).tap do |logger|
|
64
|
+
logger.progname = 'nil-logger'
|
65
|
+
end
|
66
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: radiator
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.8.pre.1
|
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: 2020-10-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -36,20 +36,20 @@ dependencies:
|
|
36
36
|
requirements:
|
37
37
|
- - "~>"
|
38
38
|
- !ruby/object:Gem::Version
|
39
|
-
version: '
|
39
|
+
version: '13.0'
|
40
40
|
- - ">="
|
41
41
|
- !ruby/object:Gem::Version
|
42
|
-
version:
|
42
|
+
version: 13.0.1
|
43
43
|
type: :development
|
44
44
|
prerelease: false
|
45
45
|
version_requirements: !ruby/object:Gem::Requirement
|
46
46
|
requirements:
|
47
47
|
- - "~>"
|
48
48
|
- !ruby/object:Gem::Version
|
49
|
-
version: '
|
49
|
+
version: '13.0'
|
50
50
|
- - ">="
|
51
51
|
- !ruby/object:Gem::Version
|
52
|
-
version:
|
52
|
+
version: 13.0.1
|
53
53
|
- !ruby/object:Gem::Dependency
|
54
54
|
name: minitest
|
55
55
|
requirement: !ruby/object:Gem::Requirement
|
@@ -88,76 +88,76 @@ dependencies:
|
|
88
88
|
name: minitest-proveit
|
89
89
|
requirement: !ruby/object:Gem::Requirement
|
90
90
|
requirements:
|
91
|
-
- - "~>"
|
92
|
-
- !ruby/object:Gem::Version
|
93
|
-
version: '1.0'
|
94
91
|
- - ">="
|
95
92
|
- !ruby/object:Gem::Version
|
96
93
|
version: 1.0.0
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '1.0'
|
97
97
|
type: :development
|
98
98
|
prerelease: false
|
99
99
|
version_requirements: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
|
-
- - "~>"
|
102
|
-
- !ruby/object:Gem::Version
|
103
|
-
version: '1.0'
|
104
101
|
- - ">="
|
105
102
|
- !ruby/object:Gem::Version
|
106
103
|
version: 1.0.0
|
104
|
+
- - "~>"
|
105
|
+
- !ruby/object:Gem::Version
|
106
|
+
version: '1.0'
|
107
107
|
- !ruby/object:Gem::Dependency
|
108
108
|
name: webmock
|
109
109
|
requirement: !ruby/object:Gem::Requirement
|
110
110
|
requirements:
|
111
|
-
- - "~>"
|
112
|
-
- !ruby/object:Gem::Version
|
113
|
-
version: '3.6'
|
114
111
|
- - ">="
|
115
112
|
- !ruby/object:Gem::Version
|
116
113
|
version: 3.6.0
|
114
|
+
- - "~>"
|
115
|
+
- !ruby/object:Gem::Version
|
116
|
+
version: '3.6'
|
117
117
|
type: :development
|
118
118
|
prerelease: false
|
119
119
|
version_requirements: !ruby/object:Gem::Requirement
|
120
120
|
requirements:
|
121
|
-
- - "~>"
|
122
|
-
- !ruby/object:Gem::Version
|
123
|
-
version: '3.6'
|
124
121
|
- - ">="
|
125
122
|
- !ruby/object:Gem::Version
|
126
123
|
version: 3.6.0
|
124
|
+
- - "~>"
|
125
|
+
- !ruby/object:Gem::Version
|
126
|
+
version: '3.6'
|
127
127
|
- !ruby/object:Gem::Dependency
|
128
128
|
name: simplecov
|
129
129
|
requirement: !ruby/object:Gem::Requirement
|
130
130
|
requirements:
|
131
131
|
- - "~>"
|
132
132
|
- !ruby/object:Gem::Version
|
133
|
-
version: 0.
|
133
|
+
version: 0.19.0
|
134
134
|
type: :development
|
135
135
|
prerelease: false
|
136
136
|
version_requirements: !ruby/object:Gem::Requirement
|
137
137
|
requirements:
|
138
138
|
- - "~>"
|
139
139
|
- !ruby/object:Gem::Version
|
140
|
-
version: 0.
|
140
|
+
version: 0.19.0
|
141
141
|
- !ruby/object:Gem::Dependency
|
142
142
|
name: vcr
|
143
143
|
requirement: !ruby/object:Gem::Requirement
|
144
144
|
requirements:
|
145
|
-
- - "~>"
|
146
|
-
- !ruby/object:Gem::Version
|
147
|
-
version: '5.0'
|
148
145
|
- - ">="
|
149
146
|
- !ruby/object:Gem::Version
|
150
|
-
version:
|
147
|
+
version: 6.0.0
|
148
|
+
- - "~>"
|
149
|
+
- !ruby/object:Gem::Version
|
150
|
+
version: '6.0'
|
151
151
|
type: :development
|
152
152
|
prerelease: false
|
153
153
|
version_requirements: !ruby/object:Gem::Requirement
|
154
154
|
requirements:
|
155
|
-
- - "~>"
|
156
|
-
- !ruby/object:Gem::Version
|
157
|
-
version: '5.0'
|
158
155
|
- - ">="
|
159
156
|
- !ruby/object:Gem::Version
|
160
|
-
version:
|
157
|
+
version: 6.0.0
|
158
|
+
- - "~>"
|
159
|
+
- !ruby/object:Gem::Version
|
160
|
+
version: '6.0'
|
161
161
|
- !ruby/object:Gem::Dependency
|
162
162
|
name: yard
|
163
163
|
requirement: !ruby/object:Gem::Requirement
|
@@ -218,20 +218,20 @@ dependencies:
|
|
218
218
|
requirements:
|
219
219
|
- - "~>"
|
220
220
|
- !ruby/object:Gem::Version
|
221
|
-
version: '1.
|
221
|
+
version: '1.2'
|
222
222
|
- - ">="
|
223
223
|
- !ruby/object:Gem::Version
|
224
|
-
version: 1.
|
224
|
+
version: 1.2.1
|
225
225
|
type: :development
|
226
226
|
prerelease: false
|
227
227
|
version_requirements: !ruby/object:Gem::Requirement
|
228
228
|
requirements:
|
229
229
|
- - "~>"
|
230
230
|
- !ruby/object:Gem::Version
|
231
|
-
version: '1.
|
231
|
+
version: '1.2'
|
232
232
|
- - ">="
|
233
233
|
- !ruby/object:Gem::Version
|
234
|
-
version: 1.
|
234
|
+
version: 1.2.1
|
235
235
|
- !ruby/object:Gem::Dependency
|
236
236
|
name: net-http-persistent
|
237
237
|
requirement: !ruby/object:Gem::Requirement
|
@@ -246,6 +246,46 @@ dependencies:
|
|
246
246
|
- - ">="
|
247
247
|
- !ruby/object:Gem::Version
|
248
248
|
version: 2.5.2
|
249
|
+
- !ruby/object:Gem::Dependency
|
250
|
+
name: steem-ruby
|
251
|
+
requirement: !ruby/object:Gem::Requirement
|
252
|
+
requirements:
|
253
|
+
- - "~>"
|
254
|
+
- !ruby/object:Gem::Version
|
255
|
+
version: '0.9'
|
256
|
+
- - ">="
|
257
|
+
- !ruby/object:Gem::Version
|
258
|
+
version: 0.9.4
|
259
|
+
type: :runtime
|
260
|
+
prerelease: false
|
261
|
+
version_requirements: !ruby/object:Gem::Requirement
|
262
|
+
requirements:
|
263
|
+
- - "~>"
|
264
|
+
- !ruby/object:Gem::Version
|
265
|
+
version: '0.9'
|
266
|
+
- - ">="
|
267
|
+
- !ruby/object:Gem::Version
|
268
|
+
version: 0.9.4
|
269
|
+
- !ruby/object:Gem::Dependency
|
270
|
+
name: hive-ruby
|
271
|
+
requirement: !ruby/object:Gem::Requirement
|
272
|
+
requirements:
|
273
|
+
- - "~>"
|
274
|
+
- !ruby/object:Gem::Version
|
275
|
+
version: '1.0'
|
276
|
+
- - ">="
|
277
|
+
- !ruby/object:Gem::Version
|
278
|
+
version: 1.0.1
|
279
|
+
type: :runtime
|
280
|
+
prerelease: false
|
281
|
+
version_requirements: !ruby/object:Gem::Requirement
|
282
|
+
requirements:
|
283
|
+
- - "~>"
|
284
|
+
- !ruby/object:Gem::Version
|
285
|
+
version: '1.0'
|
286
|
+
- - ">="
|
287
|
+
- !ruby/object:Gem::Version
|
288
|
+
version: 1.0.1
|
249
289
|
- !ruby/object:Gem::Dependency
|
250
290
|
name: json
|
251
291
|
requirement: !ruby/object:Gem::Requirement
|
@@ -270,22 +310,22 @@ dependencies:
|
|
270
310
|
name: logging
|
271
311
|
requirement: !ruby/object:Gem::Requirement
|
272
312
|
requirements:
|
273
|
-
- - "~>"
|
274
|
-
- !ruby/object:Gem::Version
|
275
|
-
version: '2.2'
|
276
313
|
- - ">="
|
277
314
|
- !ruby/object:Gem::Version
|
278
315
|
version: 2.2.0
|
316
|
+
- - "~>"
|
317
|
+
- !ruby/object:Gem::Version
|
318
|
+
version: '2.2'
|
279
319
|
type: :runtime
|
280
320
|
prerelease: false
|
281
321
|
version_requirements: !ruby/object:Gem::Requirement
|
282
322
|
requirements:
|
283
|
-
- - "~>"
|
284
|
-
- !ruby/object:Gem::Version
|
285
|
-
version: '2.2'
|
286
323
|
- - ">="
|
287
324
|
- !ruby/object:Gem::Version
|
288
325
|
version: 2.2.0
|
326
|
+
- - "~>"
|
327
|
+
- !ruby/object:Gem::Version
|
328
|
+
version: '2.2'
|
289
329
|
- !ruby/object:Gem::Dependency
|
290
330
|
name: hashie
|
291
331
|
requirement: !ruby/object:Gem::Requirement
|
@@ -295,7 +335,7 @@ dependencies:
|
|
295
335
|
version: '3.5'
|
296
336
|
- - ">="
|
297
337
|
- !ruby/object:Gem::Version
|
298
|
-
version: 3.5.
|
338
|
+
version: 3.5.7
|
299
339
|
type: :runtime
|
300
340
|
prerelease: false
|
301
341
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -305,27 +345,21 @@ dependencies:
|
|
305
345
|
version: '3.5'
|
306
346
|
- - ">="
|
307
347
|
- !ruby/object:Gem::Version
|
308
|
-
version: 3.5.
|
348
|
+
version: 3.5.7
|
309
349
|
- !ruby/object:Gem::Dependency
|
310
350
|
name: bitcoin-ruby
|
311
351
|
requirement: !ruby/object:Gem::Requirement
|
312
352
|
requirements:
|
313
|
-
- -
|
353
|
+
- - '='
|
314
354
|
- !ruby/object:Gem::Version
|
315
|
-
version:
|
316
|
-
- - ">="
|
317
|
-
- !ruby/object:Gem::Version
|
318
|
-
version: 0.0.11
|
355
|
+
version: 0.0.20
|
319
356
|
type: :runtime
|
320
357
|
prerelease: false
|
321
358
|
version_requirements: !ruby/object:Gem::Requirement
|
322
359
|
requirements:
|
323
|
-
- -
|
324
|
-
- !ruby/object:Gem::Version
|
325
|
-
version: '0.0'
|
326
|
-
- - ">="
|
360
|
+
- - '='
|
327
361
|
- !ruby/object:Gem::Version
|
328
|
-
version: 0.0.
|
362
|
+
version: 0.0.20
|
329
363
|
- !ruby/object:Gem::Dependency
|
330
364
|
name: ffi
|
331
365
|
requirement: !ruby/object:Gem::Requirement
|
@@ -350,46 +384,40 @@ dependencies:
|
|
350
384
|
name: awesome_print
|
351
385
|
requirement: !ruby/object:Gem::Requirement
|
352
386
|
requirements:
|
353
|
-
- - "~>"
|
354
|
-
- !ruby/object:Gem::Version
|
355
|
-
version: '1.7'
|
356
387
|
- - ">="
|
357
388
|
- !ruby/object:Gem::Version
|
358
389
|
version: 1.7.0
|
390
|
+
- - "~>"
|
391
|
+
- !ruby/object:Gem::Version
|
392
|
+
version: '1.7'
|
359
393
|
type: :runtime
|
360
394
|
prerelease: false
|
361
395
|
version_requirements: !ruby/object:Gem::Requirement
|
362
396
|
requirements:
|
363
|
-
- - "~>"
|
364
|
-
- !ruby/object:Gem::Version
|
365
|
-
version: '1.7'
|
366
397
|
- - ">="
|
367
398
|
- !ruby/object:Gem::Version
|
368
399
|
version: 1.7.0
|
369
|
-
|
400
|
+
- - "~>"
|
401
|
+
- !ruby/object:Gem::Version
|
402
|
+
version: '1.7'
|
403
|
+
description: Client for accessing the Hive/Steem blockchain.
|
370
404
|
email:
|
371
405
|
- radiator@martin-studio.com
|
372
406
|
executables: []
|
373
407
|
extensions: []
|
374
408
|
extra_rdoc_files: []
|
375
409
|
files:
|
376
|
-
- ".codeclimate.yml"
|
377
|
-
- ".gitignore"
|
378
|
-
- ".travis.yml"
|
379
410
|
- Gemfile
|
380
411
|
- LICENSE
|
381
412
|
- README.md
|
382
413
|
- Rakefile
|
383
|
-
- gource.sh
|
384
|
-
- images/Anthony Martin.png
|
385
|
-
- images/Marvin Hofmann.jpg
|
386
|
-
- images/Marvin Hofmann.png
|
387
414
|
- lib/radiator.rb
|
388
415
|
- lib/radiator/account_by_key_api.rb
|
389
416
|
- lib/radiator/account_history_api.rb
|
390
417
|
- lib/radiator/api.rb
|
391
418
|
- lib/radiator/base_error.rb
|
392
419
|
- lib/radiator/block_api.rb
|
420
|
+
- lib/radiator/bridge.rb
|
393
421
|
- lib/radiator/broadcast_operations.json
|
394
422
|
- lib/radiator/chain.rb
|
395
423
|
- lib/radiator/chain_config.rb
|
@@ -429,13 +457,95 @@ files:
|
|
429
457
|
- lib/radiator/type/u_int32.rb
|
430
458
|
- lib/radiator/utils.rb
|
431
459
|
- lib/radiator/version.rb
|
432
|
-
- lib/steem.rb
|
433
460
|
- radiator.gemspec
|
461
|
+
- test/fixtures/empty.json
|
462
|
+
- test/fixtures/error.json
|
463
|
+
- test/fixtures/follow_api_get_followers.json
|
464
|
+
- test/fixtures/get_account.json
|
465
|
+
- test/fixtures/get_account_count.json
|
466
|
+
- test/fixtures/get_account_references.json
|
467
|
+
- test/fixtures/get_block.json
|
468
|
+
- test/fixtures/get_dynamic_global_properties.json
|
469
|
+
- test/fixtures/get_feed_history.json
|
470
|
+
- test/fixtures/get_hardfork_version.json
|
471
|
+
- test/fixtures/get_key_references.json
|
472
|
+
- test/fixtures/get_stats_for_time.json
|
473
|
+
- test/fixtures/get_vesting_delegation.json
|
474
|
+
- test/fixtures/golos_get_dynamic_global_properties.json
|
475
|
+
- test/fixtures/market_history_api_get_market_history_buckets.json
|
476
|
+
- test/fixtures/market_history_api_get_order_book.json
|
477
|
+
- test/fixtures/market_history_api_get_recent_trades.json
|
478
|
+
- test/fixtures/market_history_api_get_ticker.json
|
479
|
+
- test/fixtures/market_history_api_get_volume.json
|
480
|
+
- test/fixtures/null.json
|
481
|
+
- test/fixtures/vcr_cassettes/account_by_key_api_all_methods.yml
|
482
|
+
- test/fixtures/vcr_cassettes/account_by_key_api_jsonrpc.yml
|
483
|
+
- test/fixtures/vcr_cassettes/all_methods.yml
|
484
|
+
- test/fixtures/vcr_cassettes/api_all_methods.yml
|
485
|
+
- test/fixtures/vcr_cassettes/base_per_debt.yml
|
486
|
+
- test/fixtures/vcr_cassettes/base_per_mvest.yml
|
487
|
+
- test/fixtures/vcr_cassettes/block_time.yml
|
488
|
+
- test/fixtures/vcr_cassettes/broadcast_transaction.yml
|
489
|
+
- test/fixtures/vcr_cassettes/condenser_all_all_methods.yml
|
490
|
+
- test/fixtures/vcr_cassettes/expiration_initialize.yml
|
491
|
+
- test/fixtures/vcr_cassettes/find_account.yml
|
492
|
+
- test/fixtures/vcr_cassettes/find_block.yml
|
493
|
+
- test/fixtures/vcr_cassettes/find_comment.yml
|
494
|
+
- test/fixtures/vcr_cassettes/follow_api_jsonrpc.yml
|
495
|
+
- test/fixtures/vcr_cassettes/get_account_count.yml
|
496
|
+
- test/fixtures/vcr_cassettes/get_account_references.yml
|
497
|
+
- test/fixtures/vcr_cassettes/get_accounts.yml
|
498
|
+
- test/fixtures/vcr_cassettes/get_accounts_no_argument.yml
|
499
|
+
- test/fixtures/vcr_cassettes/get_dynamic_global_properties.yml
|
500
|
+
- test/fixtures/vcr_cassettes/get_feed_history.yml
|
501
|
+
- test/fixtures/vcr_cassettes/get_hardfork_version.yml
|
502
|
+
- test/fixtures/vcr_cassettes/get_key_references.yml
|
503
|
+
- test/fixtures/vcr_cassettes/get_market_history.yml
|
504
|
+
- test/fixtures/vcr_cassettes/get_market_history_buckets.yml
|
505
|
+
- test/fixtures/vcr_cassettes/get_order_book.yml
|
506
|
+
- test/fixtures/vcr_cassettes/get_recent_trades.yml
|
507
|
+
- test/fixtures/vcr_cassettes/get_ticker.yml
|
508
|
+
- test/fixtures/vcr_cassettes/get_trade_history.yml
|
509
|
+
- test/fixtures/vcr_cassettes/get_vesting_delegations.yml
|
510
|
+
- test/fixtures/vcr_cassettes/get_volume.yml
|
511
|
+
- test/fixtures/vcr_cassettes/get_witness_by_account.yml
|
512
|
+
- test/fixtures/vcr_cassettes/look_up_witnesses.yml
|
513
|
+
- test/fixtures/vcr_cassettes/market_history_api_all_methods.yml
|
514
|
+
- test/fixtures/vcr_cassettes/network_broadcast_api_all_methods.yml
|
515
|
+
- test/fixtures/vcr_cassettes/properties.yml
|
516
|
+
- test/fixtures/vcr_cassettes/recover_transaction.yml
|
517
|
+
- test/fixtures/vcr_cassettes/ssc_blockchain_block_info.yml
|
518
|
+
- test/fixtures/vcr_cassettes/ssc_blockchain_block_info_invalid.yml
|
519
|
+
- test/fixtures/vcr_cassettes/ssc_blockchain_latest_block_info.yml
|
520
|
+
- test/fixtures/vcr_cassettes/ssc_blockchain_transaction_info.yml
|
521
|
+
- test/fixtures/vcr_cassettes/ssc_contracts_contract.yml
|
522
|
+
- test/fixtures/vcr_cassettes/ssc_contracts_find.yml
|
523
|
+
- test/fixtures/vcr_cassettes/ssc_contracts_find_one.yml
|
524
|
+
- test/fixtures/vcr_cassettes/stream_jsonrpc.yml
|
525
|
+
- test/fixtures/vcr_cassettes/transaction_expiration_initialize_nil.yml
|
526
|
+
- test/fixtures/vcr_cassettes/transaction_jsonrpc.yml
|
527
|
+
- test/fixtures/vcr_cassettes/unknown_chain_id.yml
|
528
|
+
- test/fixtures/vcr_cassettes/valid_chains.yml
|
529
|
+
- test/radiator/account_by_key_api_test.rb
|
530
|
+
- test/radiator/api_test.rb
|
531
|
+
- test/radiator/chain_stats_api_test.rb
|
532
|
+
- test/radiator/chain_test.rb
|
533
|
+
- test/radiator/condenser_api_test.rb
|
534
|
+
- test/radiator/follow_api_test.rb
|
535
|
+
- test/radiator/market_history_api_test.rb
|
536
|
+
- test/radiator/network_broadcast_api_test.rb
|
537
|
+
- test/radiator/operation_test.rb
|
538
|
+
- test/radiator/ssc/blockchain_test.rb
|
539
|
+
- test/radiator/ssc/contracts_test.rb
|
540
|
+
- test/radiator/stream_test.rb
|
541
|
+
- test/radiator/tag_api_test.rb
|
542
|
+
- test/radiator/transaction_test.rb
|
543
|
+
- test/test_helper.rb
|
434
544
|
homepage: https://github.com/inertia186/radiator
|
435
545
|
licenses:
|
436
546
|
- CC0-1.0
|
437
547
|
metadata: {}
|
438
|
-
post_install_message:
|
548
|
+
post_install_message:
|
439
549
|
rdoc_options: []
|
440
550
|
require_paths:
|
441
551
|
- lib
|
@@ -446,13 +556,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
446
556
|
version: '0'
|
447
557
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
448
558
|
requirements:
|
449
|
-
- - "
|
559
|
+
- - ">"
|
450
560
|
- !ruby/object:Gem::Version
|
451
|
-
version:
|
561
|
+
version: 1.3.1
|
452
562
|
requirements: []
|
453
|
-
|
454
|
-
|
455
|
-
signing_key:
|
563
|
+
rubygems_version: 3.0.8
|
564
|
+
signing_key:
|
456
565
|
specification_version: 4
|
457
|
-
summary:
|
566
|
+
summary: Hive/Steem RPC Ruby Client
|
458
567
|
test_files: []
|