radiator 0.4.5 → 0.4.8.pre.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +2 -0
- data/README.md +11 -11
- data/Rakefile +50 -20
- data/lib/radiator.rb +3 -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 +52 -10
- data/lib/radiator/ssc/blockchain.rb +10 -0
- data/lib/radiator/ssc/contracts.rb +17 -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 -13
- 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 +631 -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 +13419 -0
- data/test/fixtures/vcr_cassettes/base_per_debt.yml +5408 -0
- data/test/fixtures/vcr_cassettes/base_per_mvest.yml +4351 -0
- data/test/fixtures/vcr_cassettes/block_time.yml +3687 -0
- data/test/fixtures/vcr_cassettes/broadcast_transaction.yml +1186 -0
- data/test/fixtures/vcr_cassettes/condenser_all_all_methods.yml +13462 -0
- data/test/fixtures/vcr_cassettes/condenser_api_jsonrpc.yml +51 -0
- data/test/fixtures/vcr_cassettes/expiration_initialize.yml +3997 -0
- data/test/fixtures/vcr_cassettes/find_account.yml +4004 -0
- data/test/fixtures/vcr_cassettes/find_block.yml +3946 -0
- data/test/fixtures/vcr_cassettes/find_comment.yml +12457 -0
- data/test/fixtures/vcr_cassettes/follow_api_jsonrpc.yml +52 -0
- data/test/fixtures/vcr_cassettes/get_account_count.yml +627 -0
- data/test/fixtures/vcr_cassettes/get_account_references.yml +663 -0
- data/test/fixtures/vcr_cassettes/get_accounts.yml +735 -0
- data/test/fixtures/vcr_cassettes/get_accounts_no_argument.yml +663 -0
- data/test/fixtures/vcr_cassettes/get_dynamic_global_properties.yml +721 -0
- data/test/fixtures/vcr_cassettes/get_feed_history.yml +1201 -0
- data/test/fixtures/vcr_cassettes/get_hardfork_version.yml +629 -0
- data/test/fixtures/vcr_cassettes/get_key_references.yml +1091 -0
- data/test/fixtures/vcr_cassettes/get_market_history.yml +1147 -0
- data/test/fixtures/vcr_cassettes/get_market_history_buckets.yml +1147 -0
- data/test/fixtures/vcr_cassettes/get_order_book.yml +1195 -0
- data/test/fixtures/vcr_cassettes/get_recent_trades.yml +1147 -0
- data/test/fixtures/vcr_cassettes/get_ticker.yml +1151 -0
- data/test/fixtures/vcr_cassettes/get_trade_history.yml +1153 -0
- data/test/fixtures/vcr_cassettes/get_vesting_delegations.yml +575 -0
- data/test/fixtures/vcr_cassettes/get_volume.yml +1155 -0
- data/test/fixtures/vcr_cassettes/get_witness_by_account.yml +627 -0
- data/test/fixtures/vcr_cassettes/look_up_witnesses.yml +575 -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 +3992 -0
- data/test/fixtures/vcr_cassettes/recover_transaction.yml +1211 -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 +9175 -0
- data/test/fixtures/vcr_cassettes/transaction_expiration_initialize_nil.yml +3743 -0
- data/test/fixtures/vcr_cassettes/transaction_jsonrpc.yml +151 -0
- data/test/fixtures/vcr_cassettes/unknown_chain_id.yml +3869 -0
- data/test/fixtures/vcr_cassettes/valid_chains.yml +3427 -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 +190 -80
- 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.2
|
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-11-06 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
|
@@ -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
|
@@ -247,85 +247,119 @@ dependencies:
|
|
247
247
|
- !ruby/object:Gem::Version
|
248
248
|
version: 2.5.2
|
249
249
|
- !ruby/object:Gem::Dependency
|
250
|
-
name:
|
250
|
+
name: steem-ruby
|
251
251
|
requirement: !ruby/object:Gem::Requirement
|
252
252
|
requirements:
|
253
253
|
- - "~>"
|
254
254
|
- !ruby/object:Gem::Version
|
255
|
-
version: '
|
255
|
+
version: '0.9'
|
256
256
|
- - ">="
|
257
257
|
- !ruby/object:Gem::Version
|
258
|
-
version:
|
258
|
+
version: 0.9.4
|
259
259
|
type: :runtime
|
260
260
|
prerelease: false
|
261
261
|
version_requirements: !ruby/object:Gem::Requirement
|
262
262
|
requirements:
|
263
263
|
- - "~>"
|
264
264
|
- !ruby/object:Gem::Version
|
265
|
-
version: '
|
265
|
+
version: '0.9'
|
266
266
|
- - ">="
|
267
267
|
- !ruby/object:Gem::Version
|
268
|
-
version:
|
268
|
+
version: 0.9.4
|
269
269
|
- !ruby/object:Gem::Dependency
|
270
|
-
name:
|
270
|
+
name: hive-ruby
|
271
271
|
requirement: !ruby/object:Gem::Requirement
|
272
272
|
requirements:
|
273
273
|
- - "~>"
|
274
274
|
- !ruby/object:Gem::Version
|
275
|
-
version: '
|
275
|
+
version: '1.0'
|
276
276
|
- - ">="
|
277
277
|
- !ruby/object:Gem::Version
|
278
|
-
version:
|
278
|
+
version: 1.0.1
|
279
279
|
type: :runtime
|
280
280
|
prerelease: false
|
281
281
|
version_requirements: !ruby/object:Gem::Requirement
|
282
282
|
requirements:
|
283
283
|
- - "~>"
|
284
284
|
- !ruby/object:Gem::Version
|
285
|
-
version: '
|
285
|
+
version: '1.0'
|
286
286
|
- - ">="
|
287
287
|
- !ruby/object:Gem::Version
|
288
|
-
version:
|
288
|
+
version: 1.0.1
|
289
289
|
- !ruby/object:Gem::Dependency
|
290
|
-
name:
|
290
|
+
name: json
|
291
291
|
requirement: !ruby/object:Gem::Requirement
|
292
292
|
requirements:
|
293
293
|
- - "~>"
|
294
294
|
- !ruby/object:Gem::Version
|
295
|
-
version: '
|
295
|
+
version: '2.0'
|
296
296
|
- - ">="
|
297
297
|
- !ruby/object:Gem::Version
|
298
|
-
version:
|
298
|
+
version: 2.0.2
|
299
299
|
type: :runtime
|
300
300
|
prerelease: false
|
301
301
|
version_requirements: !ruby/object:Gem::Requirement
|
302
302
|
requirements:
|
303
303
|
- - "~>"
|
304
304
|
- !ruby/object:Gem::Version
|
305
|
-
version: '
|
305
|
+
version: '2.0'
|
306
306
|
- - ">="
|
307
307
|
- !ruby/object:Gem::Version
|
308
|
-
version:
|
308
|
+
version: 2.0.2
|
309
309
|
- !ruby/object:Gem::Dependency
|
310
|
-
name:
|
310
|
+
name: logging
|
311
311
|
requirement: !ruby/object:Gem::Requirement
|
312
312
|
requirements:
|
313
|
+
- - ">="
|
314
|
+
- !ruby/object:Gem::Version
|
315
|
+
version: 2.2.0
|
313
316
|
- - "~>"
|
314
317
|
- !ruby/object:Gem::Version
|
315
|
-
version: '
|
318
|
+
version: '2.2'
|
319
|
+
type: :runtime
|
320
|
+
prerelease: false
|
321
|
+
version_requirements: !ruby/object:Gem::Requirement
|
322
|
+
requirements:
|
316
323
|
- - ">="
|
317
324
|
- !ruby/object:Gem::Version
|
318
|
-
version:
|
325
|
+
version: 2.2.0
|
326
|
+
- - "~>"
|
327
|
+
- !ruby/object:Gem::Version
|
328
|
+
version: '2.2'
|
329
|
+
- !ruby/object:Gem::Dependency
|
330
|
+
name: hashie
|
331
|
+
requirement: !ruby/object:Gem::Requirement
|
332
|
+
requirements:
|
333
|
+
- - ">="
|
334
|
+
- !ruby/object:Gem::Version
|
335
|
+
version: 3.5.7
|
336
|
+
- - "~>"
|
337
|
+
- !ruby/object:Gem::Version
|
338
|
+
version: '4.1'
|
319
339
|
type: :runtime
|
320
340
|
prerelease: false
|
321
341
|
version_requirements: !ruby/object:Gem::Requirement
|
322
342
|
requirements:
|
343
|
+
- - ">="
|
344
|
+
- !ruby/object:Gem::Version
|
345
|
+
version: 3.5.7
|
323
346
|
- - "~>"
|
324
347
|
- !ruby/object:Gem::Version
|
325
|
-
version: '
|
326
|
-
|
348
|
+
version: '4.1'
|
349
|
+
- !ruby/object:Gem::Dependency
|
350
|
+
name: bitcoin-ruby
|
351
|
+
requirement: !ruby/object:Gem::Requirement
|
352
|
+
requirements:
|
353
|
+
- - '='
|
354
|
+
- !ruby/object:Gem::Version
|
355
|
+
version: 0.0.20
|
356
|
+
type: :runtime
|
357
|
+
prerelease: false
|
358
|
+
version_requirements: !ruby/object:Gem::Requirement
|
359
|
+
requirements:
|
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,96 @@ 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/condenser_api_jsonrpc.yml
|
491
|
+
- test/fixtures/vcr_cassettes/expiration_initialize.yml
|
492
|
+
- test/fixtures/vcr_cassettes/find_account.yml
|
493
|
+
- test/fixtures/vcr_cassettes/find_block.yml
|
494
|
+
- test/fixtures/vcr_cassettes/find_comment.yml
|
495
|
+
- test/fixtures/vcr_cassettes/follow_api_jsonrpc.yml
|
496
|
+
- test/fixtures/vcr_cassettes/get_account_count.yml
|
497
|
+
- test/fixtures/vcr_cassettes/get_account_references.yml
|
498
|
+
- test/fixtures/vcr_cassettes/get_accounts.yml
|
499
|
+
- test/fixtures/vcr_cassettes/get_accounts_no_argument.yml
|
500
|
+
- test/fixtures/vcr_cassettes/get_dynamic_global_properties.yml
|
501
|
+
- test/fixtures/vcr_cassettes/get_feed_history.yml
|
502
|
+
- test/fixtures/vcr_cassettes/get_hardfork_version.yml
|
503
|
+
- test/fixtures/vcr_cassettes/get_key_references.yml
|
504
|
+
- test/fixtures/vcr_cassettes/get_market_history.yml
|
505
|
+
- test/fixtures/vcr_cassettes/get_market_history_buckets.yml
|
506
|
+
- test/fixtures/vcr_cassettes/get_order_book.yml
|
507
|
+
- test/fixtures/vcr_cassettes/get_recent_trades.yml
|
508
|
+
- test/fixtures/vcr_cassettes/get_ticker.yml
|
509
|
+
- test/fixtures/vcr_cassettes/get_trade_history.yml
|
510
|
+
- test/fixtures/vcr_cassettes/get_vesting_delegations.yml
|
511
|
+
- test/fixtures/vcr_cassettes/get_volume.yml
|
512
|
+
- test/fixtures/vcr_cassettes/get_witness_by_account.yml
|
513
|
+
- test/fixtures/vcr_cassettes/look_up_witnesses.yml
|
514
|
+
- test/fixtures/vcr_cassettes/market_history_api_all_methods.yml
|
515
|
+
- test/fixtures/vcr_cassettes/network_broadcast_api_all_methods.yml
|
516
|
+
- test/fixtures/vcr_cassettes/properties.yml
|
517
|
+
- test/fixtures/vcr_cassettes/recover_transaction.yml
|
518
|
+
- test/fixtures/vcr_cassettes/ssc_blockchain_block_info.yml
|
519
|
+
- test/fixtures/vcr_cassettes/ssc_blockchain_block_info_invalid.yml
|
520
|
+
- test/fixtures/vcr_cassettes/ssc_blockchain_latest_block_info.yml
|
521
|
+
- test/fixtures/vcr_cassettes/ssc_blockchain_transaction_info.yml
|
522
|
+
- test/fixtures/vcr_cassettes/ssc_contracts_contract.yml
|
523
|
+
- test/fixtures/vcr_cassettes/ssc_contracts_find.yml
|
524
|
+
- test/fixtures/vcr_cassettes/ssc_contracts_find_one.yml
|
525
|
+
- test/fixtures/vcr_cassettes/stream_jsonrpc.yml
|
526
|
+
- test/fixtures/vcr_cassettes/transaction_expiration_initialize_nil.yml
|
527
|
+
- test/fixtures/vcr_cassettes/transaction_jsonrpc.yml
|
528
|
+
- test/fixtures/vcr_cassettes/unknown_chain_id.yml
|
529
|
+
- test/fixtures/vcr_cassettes/valid_chains.yml
|
530
|
+
- test/radiator/account_by_key_api_test.rb
|
531
|
+
- test/radiator/api_test.rb
|
532
|
+
- test/radiator/chain_stats_api_test.rb
|
533
|
+
- test/radiator/chain_test.rb
|
534
|
+
- test/radiator/condenser_api_test.rb
|
535
|
+
- test/radiator/follow_api_test.rb
|
536
|
+
- test/radiator/market_history_api_test.rb
|
537
|
+
- test/radiator/network_broadcast_api_test.rb
|
538
|
+
- test/radiator/operation_test.rb
|
539
|
+
- test/radiator/ssc/blockchain_test.rb
|
540
|
+
- test/radiator/ssc/contracts_test.rb
|
541
|
+
- test/radiator/stream_test.rb
|
542
|
+
- test/radiator/tag_api_test.rb
|
543
|
+
- test/radiator/transaction_test.rb
|
544
|
+
- test/test_helper.rb
|
434
545
|
homepage: https://github.com/inertia186/radiator
|
435
546
|
licenses:
|
436
547
|
- CC0-1.0
|
437
548
|
metadata: {}
|
438
|
-
post_install_message:
|
549
|
+
post_install_message:
|
439
550
|
rdoc_options: []
|
440
551
|
require_paths:
|
441
552
|
- lib
|
@@ -446,13 +557,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
446
557
|
version: '0'
|
447
558
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
448
559
|
requirements:
|
449
|
-
- - "
|
560
|
+
- - ">"
|
450
561
|
- !ruby/object:Gem::Version
|
451
|
-
version:
|
562
|
+
version: 1.3.1
|
452
563
|
requirements: []
|
453
|
-
|
454
|
-
|
455
|
-
signing_key:
|
564
|
+
rubygems_version: 3.0.8
|
565
|
+
signing_key:
|
456
566
|
specification_version: 4
|
457
|
-
summary:
|
567
|
+
summary: Hive/Steem RPC Ruby Client
|
458
568
|
test_files: []
|