radiator 0.4.4 → 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 +90 -6
- data/Rakefile +50 -20
- data/lib/radiator.rb +7 -1
- data/lib/radiator/api.rb +105 -14
- 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 +147 -0
- data/lib/radiator/ssc/blockchain.rb +57 -0
- data/lib/radiator/ssc/contracts.rb +88 -0
- data/lib/radiator/ssc/stream.rb +62 -0
- data/lib/radiator/stream.rb +15 -6
- data/lib/radiator/transaction.rb +41 -1
- data/lib/radiator/type/amount.rb +26 -50
- data/lib/radiator/type/beneficiaries.rb +8 -1
- data/lib/radiator/type/price.rb +2 -2
- data/lib/radiator/version.rb +1 -1
- data/radiator.gemspec +15 -12
- 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 +206 -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,90 +88,90 @@ 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.1'
|
114
111
|
- - ">="
|
115
112
|
- !ruby/object:Gem::Version
|
116
|
-
version: 3.
|
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.1'
|
124
121
|
- - ">="
|
125
122
|
- !ruby/object:Gem::Version
|
126
|
-
version: 3.
|
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: '4.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: '4.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
|
164
164
|
requirements:
|
165
165
|
- - "~>"
|
166
166
|
- !ruby/object:Gem::Version
|
167
|
-
version: 0.9.
|
167
|
+
version: 0.9.20
|
168
168
|
type: :development
|
169
169
|
prerelease: false
|
170
170
|
version_requirements: !ruby/object:Gem::Requirement
|
171
171
|
requirements:
|
172
172
|
- - "~>"
|
173
173
|
- !ruby/object:Gem::Version
|
174
|
-
version: 0.9.
|
174
|
+
version: 0.9.20
|
175
175
|
- !ruby/object:Gem::Dependency
|
176
176
|
name: pry
|
177
177
|
requirement: !ruby/object:Gem::Requirement
|
@@ -212,6 +212,26 @@ dependencies:
|
|
212
212
|
- - ">="
|
213
213
|
- !ruby/object:Gem::Version
|
214
214
|
version: 0.5.5
|
215
|
+
- !ruby/object:Gem::Dependency
|
216
|
+
name: irb
|
217
|
+
requirement: !ruby/object:Gem::Requirement
|
218
|
+
requirements:
|
219
|
+
- - "~>"
|
220
|
+
- !ruby/object:Gem::Version
|
221
|
+
version: '1.2'
|
222
|
+
- - ">="
|
223
|
+
- !ruby/object:Gem::Version
|
224
|
+
version: 1.2.1
|
225
|
+
type: :development
|
226
|
+
prerelease: false
|
227
|
+
version_requirements: !ruby/object:Gem::Requirement
|
228
|
+
requirements:
|
229
|
+
- - "~>"
|
230
|
+
- !ruby/object:Gem::Version
|
231
|
+
version: '1.2'
|
232
|
+
- - ">="
|
233
|
+
- !ruby/object:Gem::Version
|
234
|
+
version: 1.2.1
|
215
235
|
- !ruby/object:Gem::Dependency
|
216
236
|
name: net-http-persistent
|
217
237
|
requirement: !ruby/object:Gem::Requirement
|
@@ -226,6 +246,46 @@ dependencies:
|
|
226
246
|
- - ">="
|
227
247
|
- !ruby/object:Gem::Version
|
228
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
|
229
289
|
- !ruby/object:Gem::Dependency
|
230
290
|
name: json
|
231
291
|
requirement: !ruby/object:Gem::Requirement
|
@@ -250,22 +310,22 @@ dependencies:
|
|
250
310
|
name: logging
|
251
311
|
requirement: !ruby/object:Gem::Requirement
|
252
312
|
requirements:
|
253
|
-
- - "~>"
|
254
|
-
- !ruby/object:Gem::Version
|
255
|
-
version: '2.2'
|
256
313
|
- - ">="
|
257
314
|
- !ruby/object:Gem::Version
|
258
315
|
version: 2.2.0
|
316
|
+
- - "~>"
|
317
|
+
- !ruby/object:Gem::Version
|
318
|
+
version: '2.2'
|
259
319
|
type: :runtime
|
260
320
|
prerelease: false
|
261
321
|
version_requirements: !ruby/object:Gem::Requirement
|
262
322
|
requirements:
|
263
|
-
- - "~>"
|
264
|
-
- !ruby/object:Gem::Version
|
265
|
-
version: '2.2'
|
266
323
|
- - ">="
|
267
324
|
- !ruby/object:Gem::Version
|
268
325
|
version: 2.2.0
|
326
|
+
- - "~>"
|
327
|
+
- !ruby/object:Gem::Version
|
328
|
+
version: '2.2'
|
269
329
|
- !ruby/object:Gem::Dependency
|
270
330
|
name: hashie
|
271
331
|
requirement: !ruby/object:Gem::Requirement
|
@@ -275,7 +335,7 @@ dependencies:
|
|
275
335
|
version: '3.5'
|
276
336
|
- - ">="
|
277
337
|
- !ruby/object:Gem::Version
|
278
|
-
version: 3.5.
|
338
|
+
version: 3.5.7
|
279
339
|
type: :runtime
|
280
340
|
prerelease: false
|
281
341
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -285,27 +345,21 @@ dependencies:
|
|
285
345
|
version: '3.5'
|
286
346
|
- - ">="
|
287
347
|
- !ruby/object:Gem::Version
|
288
|
-
version: 3.5.
|
348
|
+
version: 3.5.7
|
289
349
|
- !ruby/object:Gem::Dependency
|
290
350
|
name: bitcoin-ruby
|
291
351
|
requirement: !ruby/object:Gem::Requirement
|
292
352
|
requirements:
|
293
|
-
- -
|
353
|
+
- - '='
|
294
354
|
- !ruby/object:Gem::Version
|
295
|
-
version:
|
296
|
-
- - ">="
|
297
|
-
- !ruby/object:Gem::Version
|
298
|
-
version: 0.0.11
|
355
|
+
version: 0.0.20
|
299
356
|
type: :runtime
|
300
357
|
prerelease: false
|
301
358
|
version_requirements: !ruby/object:Gem::Requirement
|
302
359
|
requirements:
|
303
|
-
- -
|
360
|
+
- - '='
|
304
361
|
- !ruby/object:Gem::Version
|
305
|
-
version:
|
306
|
-
- - ">="
|
307
|
-
- !ruby/object:Gem::Version
|
308
|
-
version: 0.0.11
|
362
|
+
version: 0.0.20
|
309
363
|
- !ruby/object:Gem::Dependency
|
310
364
|
name: ffi
|
311
365
|
requirement: !ruby/object:Gem::Requirement
|
@@ -330,46 +384,40 @@ dependencies:
|
|
330
384
|
name: awesome_print
|
331
385
|
requirement: !ruby/object:Gem::Requirement
|
332
386
|
requirements:
|
333
|
-
- - "~>"
|
334
|
-
- !ruby/object:Gem::Version
|
335
|
-
version: '1.7'
|
336
387
|
- - ">="
|
337
388
|
- !ruby/object:Gem::Version
|
338
389
|
version: 1.7.0
|
390
|
+
- - "~>"
|
391
|
+
- !ruby/object:Gem::Version
|
392
|
+
version: '1.7'
|
339
393
|
type: :runtime
|
340
394
|
prerelease: false
|
341
395
|
version_requirements: !ruby/object:Gem::Requirement
|
342
396
|
requirements:
|
343
|
-
- - "~>"
|
344
|
-
- !ruby/object:Gem::Version
|
345
|
-
version: '1.7'
|
346
397
|
- - ">="
|
347
398
|
- !ruby/object:Gem::Version
|
348
399
|
version: 1.7.0
|
349
|
-
|
400
|
+
- - "~>"
|
401
|
+
- !ruby/object:Gem::Version
|
402
|
+
version: '1.7'
|
403
|
+
description: Client for accessing the Hive/Steem blockchain.
|
350
404
|
email:
|
351
405
|
- radiator@martin-studio.com
|
352
406
|
executables: []
|
353
407
|
extensions: []
|
354
408
|
extra_rdoc_files: []
|
355
409
|
files:
|
356
|
-
- ".codeclimate.yml"
|
357
|
-
- ".gitignore"
|
358
|
-
- ".travis.yml"
|
359
410
|
- Gemfile
|
360
411
|
- LICENSE
|
361
412
|
- README.md
|
362
413
|
- Rakefile
|
363
|
-
- gource.sh
|
364
|
-
- images/Anthony Martin.png
|
365
|
-
- images/Marvin Hofmann.jpg
|
366
|
-
- images/Marvin Hofmann.png
|
367
414
|
- lib/radiator.rb
|
368
415
|
- lib/radiator/account_by_key_api.rb
|
369
416
|
- lib/radiator/account_history_api.rb
|
370
417
|
- lib/radiator/api.rb
|
371
418
|
- lib/radiator/base_error.rb
|
372
419
|
- lib/radiator/block_api.rb
|
420
|
+
- lib/radiator/bridge.rb
|
373
421
|
- lib/radiator/broadcast_operations.json
|
374
422
|
- lib/radiator/chain.rb
|
375
423
|
- lib/radiator/chain_config.rb
|
@@ -388,6 +436,10 @@ files:
|
|
388
436
|
- lib/radiator/operation.rb
|
389
437
|
- lib/radiator/operation_ids.rb
|
390
438
|
- lib/radiator/operation_types.rb
|
439
|
+
- lib/radiator/ssc/base_steem_smart_contract_rpc.rb
|
440
|
+
- lib/radiator/ssc/blockchain.rb
|
441
|
+
- lib/radiator/ssc/contracts.rb
|
442
|
+
- lib/radiator/ssc/stream.rb
|
391
443
|
- lib/radiator/stream.rb
|
392
444
|
- lib/radiator/tag_api.rb
|
393
445
|
- lib/radiator/transaction.rb
|
@@ -405,13 +457,95 @@ files:
|
|
405
457
|
- lib/radiator/type/u_int32.rb
|
406
458
|
- lib/radiator/utils.rb
|
407
459
|
- lib/radiator/version.rb
|
408
|
-
- lib/steem.rb
|
409
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
|
410
544
|
homepage: https://github.com/inertia186/radiator
|
411
545
|
licenses:
|
412
546
|
- CC0-1.0
|
413
547
|
metadata: {}
|
414
|
-
post_install_message:
|
548
|
+
post_install_message:
|
415
549
|
rdoc_options: []
|
416
550
|
require_paths:
|
417
551
|
- lib
|
@@ -422,13 +556,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
422
556
|
version: '0'
|
423
557
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
424
558
|
requirements:
|
425
|
-
- - "
|
559
|
+
- - ">"
|
426
560
|
- !ruby/object:Gem::Version
|
427
|
-
version:
|
561
|
+
version: 1.3.1
|
428
562
|
requirements: []
|
429
|
-
|
430
|
-
|
431
|
-
signing_key:
|
563
|
+
rubygems_version: 3.0.8
|
564
|
+
signing_key:
|
432
565
|
specification_version: 4
|
433
|
-
summary:
|
566
|
+
summary: Hive/Steem RPC Ruby Client
|
434
567
|
test_files: []
|