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.
Files changed (116) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +2 -0
  3. data/README.md +11 -11
  4. data/Rakefile +50 -20
  5. data/lib/radiator.rb +3 -1
  6. data/lib/radiator/api.rb +105 -14
  7. data/lib/radiator/bridge.rb +34 -0
  8. data/lib/radiator/chain_config.rb +9 -2
  9. data/lib/radiator/database_api.rb +1 -1
  10. data/lib/radiator/follow_api.rb +1 -1
  11. data/lib/radiator/market_history_api.rb +1 -1
  12. data/lib/radiator/operation.rb +3 -2
  13. data/lib/radiator/operation_types.rb +43 -27
  14. data/lib/radiator/ssc/base_steem_smart_contract_rpc.rb +52 -10
  15. data/lib/radiator/ssc/blockchain.rb +10 -0
  16. data/lib/radiator/ssc/contracts.rb +17 -0
  17. data/lib/radiator/stream.rb +15 -6
  18. data/lib/radiator/transaction.rb +41 -1
  19. data/lib/radiator/type/amount.rb +26 -50
  20. data/lib/radiator/type/beneficiaries.rb +8 -1
  21. data/lib/radiator/type/price.rb +2 -2
  22. data/lib/radiator/version.rb +1 -1
  23. data/radiator.gemspec +15 -13
  24. data/test/fixtures/empty.json +1 -0
  25. data/test/fixtures/error.json +29 -0
  26. data/test/fixtures/follow_api_get_followers.json +1 -0
  27. data/test/fixtures/get_account.json +165 -0
  28. data/test/fixtures/get_account_count.json +1 -0
  29. data/test/fixtures/get_account_references.json +1 -0
  30. data/test/fixtures/get_block.json +193 -0
  31. data/test/fixtures/get_dynamic_global_properties.json +32 -0
  32. data/test/fixtures/get_feed_history.json +684 -0
  33. data/test/fixtures/get_hardfork_version.json +1 -0
  34. data/test/fixtures/get_key_references.json +14 -0
  35. data/test/fixtures/get_stats_for_time.json +57 -0
  36. data/test/fixtures/get_vesting_delegation.json +936 -0
  37. data/test/fixtures/golos_get_dynamic_global_properties.json +32 -0
  38. data/test/fixtures/market_history_api_get_market_history_buckets.json +1 -0
  39. data/test/fixtures/market_history_api_get_order_book.json +109 -0
  40. data/test/fixtures/market_history_api_get_recent_trades.json +55 -0
  41. data/test/fixtures/market_history_api_get_ticker.json +11 -0
  42. data/test/fixtures/market_history_api_get_volume.json +1 -0
  43. data/test/fixtures/null.json +1 -0
  44. data/test/fixtures/vcr_cassettes/account_by_key_api_all_methods.yml +631 -0
  45. data/test/fixtures/vcr_cassettes/account_by_key_api_jsonrpc.yml +52 -0
  46. data/test/fixtures/vcr_cassettes/all_methods.yml +18155 -0
  47. data/test/fixtures/vcr_cassettes/api_all_methods.yml +13419 -0
  48. data/test/fixtures/vcr_cassettes/base_per_debt.yml +5408 -0
  49. data/test/fixtures/vcr_cassettes/base_per_mvest.yml +4351 -0
  50. data/test/fixtures/vcr_cassettes/block_time.yml +3687 -0
  51. data/test/fixtures/vcr_cassettes/broadcast_transaction.yml +1186 -0
  52. data/test/fixtures/vcr_cassettes/condenser_all_all_methods.yml +13462 -0
  53. data/test/fixtures/vcr_cassettes/condenser_api_jsonrpc.yml +51 -0
  54. data/test/fixtures/vcr_cassettes/expiration_initialize.yml +3997 -0
  55. data/test/fixtures/vcr_cassettes/find_account.yml +4004 -0
  56. data/test/fixtures/vcr_cassettes/find_block.yml +3946 -0
  57. data/test/fixtures/vcr_cassettes/find_comment.yml +12457 -0
  58. data/test/fixtures/vcr_cassettes/follow_api_jsonrpc.yml +52 -0
  59. data/test/fixtures/vcr_cassettes/get_account_count.yml +627 -0
  60. data/test/fixtures/vcr_cassettes/get_account_references.yml +663 -0
  61. data/test/fixtures/vcr_cassettes/get_accounts.yml +735 -0
  62. data/test/fixtures/vcr_cassettes/get_accounts_no_argument.yml +663 -0
  63. data/test/fixtures/vcr_cassettes/get_dynamic_global_properties.yml +721 -0
  64. data/test/fixtures/vcr_cassettes/get_feed_history.yml +1201 -0
  65. data/test/fixtures/vcr_cassettes/get_hardfork_version.yml +629 -0
  66. data/test/fixtures/vcr_cassettes/get_key_references.yml +1091 -0
  67. data/test/fixtures/vcr_cassettes/get_market_history.yml +1147 -0
  68. data/test/fixtures/vcr_cassettes/get_market_history_buckets.yml +1147 -0
  69. data/test/fixtures/vcr_cassettes/get_order_book.yml +1195 -0
  70. data/test/fixtures/vcr_cassettes/get_recent_trades.yml +1147 -0
  71. data/test/fixtures/vcr_cassettes/get_ticker.yml +1151 -0
  72. data/test/fixtures/vcr_cassettes/get_trade_history.yml +1153 -0
  73. data/test/fixtures/vcr_cassettes/get_vesting_delegations.yml +575 -0
  74. data/test/fixtures/vcr_cassettes/get_volume.yml +1155 -0
  75. data/test/fixtures/vcr_cassettes/get_witness_by_account.yml +627 -0
  76. data/test/fixtures/vcr_cassettes/look_up_witnesses.yml +575 -0
  77. data/test/fixtures/vcr_cassettes/market_history_api_all_methods.yml +4373 -0
  78. data/test/fixtures/vcr_cassettes/network_broadcast_api_all_methods.yml +1288 -0
  79. data/test/fixtures/vcr_cassettes/properties.yml +3992 -0
  80. data/test/fixtures/vcr_cassettes/recover_transaction.yml +1211 -0
  81. data/test/fixtures/vcr_cassettes/ssc_blockchain_block_info.yml +92 -0
  82. data/test/fixtures/vcr_cassettes/ssc_blockchain_block_info_invalid.yml +90 -0
  83. data/test/fixtures/vcr_cassettes/ssc_blockchain_latest_block_info.yml +91 -0
  84. data/test/fixtures/vcr_cassettes/ssc_blockchain_transaction_info.yml +92 -0
  85. data/test/fixtures/vcr_cassettes/ssc_contracts_contract.yml +366 -0
  86. data/test/fixtures/vcr_cassettes/ssc_contracts_find.yml +91 -0
  87. data/test/fixtures/vcr_cassettes/ssc_contracts_find_one.yml +89 -0
  88. data/test/fixtures/vcr_cassettes/stream_jsonrpc.yml +9175 -0
  89. data/test/fixtures/vcr_cassettes/transaction_expiration_initialize_nil.yml +3743 -0
  90. data/test/fixtures/vcr_cassettes/transaction_jsonrpc.yml +151 -0
  91. data/test/fixtures/vcr_cassettes/unknown_chain_id.yml +3869 -0
  92. data/test/fixtures/vcr_cassettes/valid_chains.yml +3427 -0
  93. data/test/radiator/account_by_key_api_test.rb +46 -0
  94. data/test/radiator/api_test.rb +135 -0
  95. data/test/radiator/chain_stats_api_test.rb +49 -0
  96. data/test/radiator/chain_test.rb +153 -0
  97. data/test/radiator/condenser_api_test.rb +48 -0
  98. data/test/radiator/follow_api_test.rb +48 -0
  99. data/test/radiator/market_history_api_test.rb +100 -0
  100. data/test/radiator/network_broadcast_api_test.rb +48 -0
  101. data/test/radiator/operation_test.rb +117 -0
  102. data/test/radiator/ssc/blockchain_test.rb +58 -0
  103. data/test/radiator/ssc/contracts_test.rb +65 -0
  104. data/test/radiator/stream_test.rb +48 -0
  105. data/test/radiator/tag_api_test.rb +40 -0
  106. data/test/radiator/transaction_test.rb +755 -0
  107. data/test/test_helper.rb +66 -0
  108. metadata +190 -80
  109. data/.codeclimate.yml +0 -19
  110. data/.gitignore +0 -52
  111. data/.travis.yml +0 -23
  112. data/gource.sh +0 -8
  113. data/images/Anthony Martin.png +0 -0
  114. data/images/Marvin Hofmann.jpg +0 -0
  115. data/images/Marvin Hofmann.png +0 -0
  116. data/lib/steem.rb +0 -17
@@ -0,0 +1,629 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://api.steemit.com/
6
+ body:
7
+ encoding: UTF-8
8
+ string: '{"jsonrpc":"2.0","id":49,"method":"condenser_api.get_hardfork_version","params":[]}'
9
+ headers:
10
+ Content-Type:
11
+ - application/json; charset=utf-8
12
+ User-Agent:
13
+ - steem-ruby/0.9.4
14
+ Accept-Encoding:
15
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
16
+ Accept:
17
+ - "*/*"
18
+ Host:
19
+ - api.steemit.com
20
+ Content-Length:
21
+ - '112'
22
+ response:
23
+ status:
24
+ code: 200
25
+ message: OK
26
+ headers:
27
+ Date:
28
+ - Sat, 17 Oct 2020 04:07:02 GMT
29
+ Content-Type:
30
+ - application/json
31
+ Content-Length:
32
+ - '43'
33
+ Connection:
34
+ - keep-alive
35
+ Server:
36
+ - nginx
37
+ X-Jussi-Cache-Hit:
38
+ - appbase.condenser_api.get_hardfork_version.params=[]
39
+ X-Jussi-Request-Id:
40
+ - '001087749743989427'
41
+ X-Amzn-Trace-Id:
42
+ - Root=1-5f8a6de6-4f396750557b10b97fa2fcd9
43
+ Access-Control-Allow-Origin:
44
+ - "*"
45
+ Access-Control-Allow-Methods:
46
+ - GET, POST, OPTIONS
47
+ Access-Control-Allow-Headers:
48
+ - DNT,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range
49
+ Strict-Transport-Security:
50
+ - max-age=31557600; includeSubDomains; preload
51
+ Content-Security-Policy:
52
+ - upgrade-insecure-requests
53
+ body:
54
+ encoding: UTF-8
55
+ string: '{"id":49,"jsonrpc":"2.0","result":"0.23.0"}'
56
+ recorded_at: Sat, 17 Oct 2020 04:07:02 GMT
57
+ - request:
58
+ method: post
59
+ uri: https://api.steemit.com/
60
+ body:
61
+ encoding: UTF-8
62
+ string: '{"jsonrpc":"2.0","id":66,"method":"condenser_api.get_hardfork_version","params":[]}'
63
+ headers:
64
+ Content-Type:
65
+ - application/json; charset=utf-8
66
+ User-Agent:
67
+ - steem-ruby/0.9.4
68
+ Accept-Encoding:
69
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
70
+ Accept:
71
+ - "*/*"
72
+ Host:
73
+ - api.steemit.com
74
+ Content-Length:
75
+ - '79'
76
+ response:
77
+ status:
78
+ code: 200
79
+ message: OK
80
+ headers:
81
+ Date:
82
+ - Sat, 17 Oct 2020 04:09:10 GMT
83
+ Content-Type:
84
+ - application/json
85
+ Content-Length:
86
+ - '43'
87
+ Connection:
88
+ - keep-alive
89
+ Server:
90
+ - nginx
91
+ X-Jussi-Request-Id:
92
+ - '000483230460154446'
93
+ X-Amzn-Trace-Id:
94
+ - Root=1-5f8a6e66-66ebc6e43f5950ab25b7ae2a
95
+ Access-Control-Allow-Origin:
96
+ - "*"
97
+ Access-Control-Allow-Methods:
98
+ - GET, POST, OPTIONS
99
+ Access-Control-Allow-Headers:
100
+ - DNT,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range
101
+ Strict-Transport-Security:
102
+ - max-age=31557600; includeSubDomains; preload
103
+ Content-Security-Policy:
104
+ - upgrade-insecure-requests
105
+ body:
106
+ encoding: UTF-8
107
+ string: '{"jsonrpc":"2.0","result":"0.23.0","id":66}'
108
+ recorded_at: Sat, 17 Oct 2020 04:09:10 GMT
109
+ - request:
110
+ method: post
111
+ uri: https://api.steemit.com/
112
+ body:
113
+ encoding: UTF-8
114
+ string: '{"jsonrpc":"2.0","id":123,"method":"condenser_api.get_hardfork_version","params":[]}'
115
+ headers:
116
+ Content-Type:
117
+ - application/json; charset=utf-8
118
+ User-Agent:
119
+ - steem-ruby/0.9.4
120
+ Accept-Encoding:
121
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
122
+ Accept:
123
+ - "*/*"
124
+ Host:
125
+ - api.steemit.com
126
+ Content-Length:
127
+ - '81'
128
+ response:
129
+ status:
130
+ code: 200
131
+ message: OK
132
+ headers:
133
+ Date:
134
+ - Sat, 17 Oct 2020 04:13:51 GMT
135
+ Content-Type:
136
+ - application/json
137
+ Content-Length:
138
+ - '44'
139
+ Connection:
140
+ - keep-alive
141
+ Server:
142
+ - nginx
143
+ X-Jussi-Request-Id:
144
+ - '001095174581555959'
145
+ X-Amzn-Trace-Id:
146
+ - Root=1-5f8a6f7f-14f0911351177e0249b96e92
147
+ Access-Control-Allow-Origin:
148
+ - "*"
149
+ Access-Control-Allow-Methods:
150
+ - GET, POST, OPTIONS
151
+ Access-Control-Allow-Headers:
152
+ - DNT,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range
153
+ Strict-Transport-Security:
154
+ - max-age=31557600; includeSubDomains; preload
155
+ Content-Security-Policy:
156
+ - upgrade-insecure-requests
157
+ body:
158
+ encoding: UTF-8
159
+ string: '{"jsonrpc":"2.0","result":"0.23.0","id":123}'
160
+ recorded_at: Sat, 17 Oct 2020 04:13:51 GMT
161
+ - request:
162
+ method: post
163
+ uri: https://api.steemit.com/
164
+ body:
165
+ encoding: UTF-8
166
+ string: '{"jsonrpc":"2.0","id":139,"method":"condenser_api.get_hardfork_version","params":[]}'
167
+ headers:
168
+ Content-Type:
169
+ - application/json; charset=utf-8
170
+ User-Agent:
171
+ - steem-ruby/0.9.4
172
+ Accept-Encoding:
173
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
174
+ Accept:
175
+ - "*/*"
176
+ Host:
177
+ - api.steemit.com
178
+ Content-Length:
179
+ - '81'
180
+ response:
181
+ status:
182
+ code: 200
183
+ message: OK
184
+ headers:
185
+ Date:
186
+ - Sat, 17 Oct 2020 04:14:52 GMT
187
+ Content-Type:
188
+ - application/json
189
+ Content-Length:
190
+ - '44'
191
+ Connection:
192
+ - keep-alive
193
+ Server:
194
+ - nginx
195
+ X-Jussi-Request-Id:
196
+ - '000151563963759661'
197
+ X-Amzn-Trace-Id:
198
+ - Root=1-5f8a6fbc-17f70c5676b622cc63a3f39b
199
+ Access-Control-Allow-Origin:
200
+ - "*"
201
+ Access-Control-Allow-Methods:
202
+ - GET, POST, OPTIONS
203
+ Access-Control-Allow-Headers:
204
+ - DNT,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range
205
+ Strict-Transport-Security:
206
+ - max-age=31557600; includeSubDomains; preload
207
+ Content-Security-Policy:
208
+ - upgrade-insecure-requests
209
+ body:
210
+ encoding: UTF-8
211
+ string: '{"jsonrpc":"2.0","result":"0.23.0","id":139}'
212
+ recorded_at: Sat, 17 Oct 2020 04:14:52 GMT
213
+ - request:
214
+ method: post
215
+ uri: https://api.steemit.com/
216
+ body:
217
+ encoding: UTF-8
218
+ string: '{"jsonrpc":"2.0","id":41,"method":"condenser_api.get_hardfork_version","params":[]}'
219
+ headers:
220
+ Content-Type:
221
+ - application/json; charset=utf-8
222
+ User-Agent:
223
+ - steem-ruby/0.9.4
224
+ Accept-Encoding:
225
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
226
+ Accept:
227
+ - "*/*"
228
+ Host:
229
+ - api.steemit.com
230
+ Content-Length:
231
+ - '92'
232
+ response:
233
+ status:
234
+ code: 200
235
+ message: OK
236
+ headers:
237
+ Date:
238
+ - Sat, 17 Oct 2020 04:18:50 GMT
239
+ Content-Type:
240
+ - application/json
241
+ Content-Length:
242
+ - '43'
243
+ Connection:
244
+ - keep-alive
245
+ Server:
246
+ - nginx
247
+ X-Jussi-Request-Id:
248
+ - '001062318864334822'
249
+ X-Amzn-Trace-Id:
250
+ - Root=1-5f8a70aa-280fba7d3b154b2033b6114c
251
+ Access-Control-Allow-Origin:
252
+ - "*"
253
+ Access-Control-Allow-Methods:
254
+ - GET, POST, OPTIONS
255
+ Access-Control-Allow-Headers:
256
+ - DNT,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range
257
+ Strict-Transport-Security:
258
+ - max-age=31557600; includeSubDomains; preload
259
+ Content-Security-Policy:
260
+ - upgrade-insecure-requests
261
+ body:
262
+ encoding: UTF-8
263
+ string: '{"jsonrpc":"2.0","result":"0.23.0","id":41}'
264
+ recorded_at: Sat, 17 Oct 2020 04:18:50 GMT
265
+ - request:
266
+ method: post
267
+ uri: https://api.steemitdev.com/
268
+ body:
269
+ encoding: UTF-8
270
+ string: '{"jsonrpc":"2.0","id":100,"method":"condenser_api.get_hardfork_version","params":[]}'
271
+ headers:
272
+ Content-Type:
273
+ - application/json; charset=utf-8
274
+ User-Agent:
275
+ - steem-ruby/0.9.4
276
+ Accept-Encoding:
277
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
278
+ Accept:
279
+ - "*/*"
280
+ Host:
281
+ - api.steemitdev.com
282
+ Content-Length:
283
+ - '80'
284
+ response:
285
+ status:
286
+ code: 200
287
+ message: OK
288
+ headers:
289
+ Date:
290
+ - Sat, 17 Oct 2020 04:23:14 GMT
291
+ Content-Type:
292
+ - application/json
293
+ Content-Length:
294
+ - '44'
295
+ Connection:
296
+ - keep-alive
297
+ Server:
298
+ - nginx
299
+ X-Jussi-Request-Id:
300
+ - '000943006057259983'
301
+ X-Amzn-Trace-Id:
302
+ - Root=1-5f8a71b2-510124b7745d917a65626ac7
303
+ Access-Control-Allow-Origin:
304
+ - "*"
305
+ Access-Control-Allow-Methods:
306
+ - GET, POST, OPTIONS
307
+ Access-Control-Allow-Headers:
308
+ - DNT,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range
309
+ Strict-Transport-Security:
310
+ - max-age=31557600; includeSubDomains; preload
311
+ Content-Security-Policy:
312
+ - upgrade-insecure-requests
313
+ body:
314
+ encoding: UTF-8
315
+ string: '{"jsonrpc":"2.0","result":"0.23.0","id":100}'
316
+ recorded_at: Sat, 17 Oct 2020 04:23:14 GMT
317
+ - request:
318
+ method: post
319
+ uri: https://api.steemitdev.com/
320
+ body:
321
+ encoding: UTF-8
322
+ string: '{"jsonrpc":"2.0","id":69,"method":"condenser_api.get_hardfork_version","params":[]}'
323
+ headers:
324
+ Content-Type:
325
+ - application/json; charset=utf-8
326
+ User-Agent:
327
+ - steem-ruby/0.9.4
328
+ Accept-Encoding:
329
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
330
+ Accept:
331
+ - "*/*"
332
+ Host:
333
+ - api.steemitdev.com
334
+ Content-Length:
335
+ - '96'
336
+ response:
337
+ status:
338
+ code: 200
339
+ message: OK
340
+ headers:
341
+ Date:
342
+ - Sat, 17 Oct 2020 04:27:19 GMT
343
+ Content-Type:
344
+ - application/json
345
+ Content-Length:
346
+ - '43'
347
+ Connection:
348
+ - keep-alive
349
+ Server:
350
+ - nginx
351
+ X-Jussi-Request-Id:
352
+ - '000592721599284619'
353
+ X-Amzn-Trace-Id:
354
+ - Root=1-5f8a72a7-5f1987f3741f271b20b5e473
355
+ Access-Control-Allow-Origin:
356
+ - "*"
357
+ Access-Control-Allow-Methods:
358
+ - GET, POST, OPTIONS
359
+ Access-Control-Allow-Headers:
360
+ - DNT,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range
361
+ Strict-Transport-Security:
362
+ - max-age=31557600; includeSubDomains; preload
363
+ Content-Security-Policy:
364
+ - upgrade-insecure-requests
365
+ body:
366
+ encoding: UTF-8
367
+ string: '{"jsonrpc":"2.0","result":"0.23.0","id":69}'
368
+ recorded_at: Sat, 17 Oct 2020 04:27:19 GMT
369
+ - request:
370
+ method: post
371
+ uri: https://api.steemitdev.com/
372
+ body:
373
+ encoding: UTF-8
374
+ string: '{"jsonrpc":"2.0","id":44,"method":"condenser_api.get_hardfork_version","params":[]}'
375
+ headers:
376
+ Content-Type:
377
+ - application/json; charset=utf-8
378
+ User-Agent:
379
+ - steem-ruby/0.9.4
380
+ Accept-Encoding:
381
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
382
+ Accept:
383
+ - "*/*"
384
+ Host:
385
+ - api.steemitdev.com
386
+ Content-Length:
387
+ - '92'
388
+ response:
389
+ status:
390
+ code: 200
391
+ message: OK
392
+ headers:
393
+ Date:
394
+ - Sat, 17 Oct 2020 04:34:17 GMT
395
+ Content-Type:
396
+ - application/json
397
+ Content-Length:
398
+ - '43'
399
+ Connection:
400
+ - keep-alive
401
+ Server:
402
+ - nginx
403
+ X-Jussi-Request-Id:
404
+ - '001086656214400506'
405
+ X-Amzn-Trace-Id:
406
+ - Root=1-5f8a7449-5e5a401d0e953f6061265c09
407
+ Access-Control-Allow-Origin:
408
+ - "*"
409
+ Access-Control-Allow-Methods:
410
+ - GET, POST, OPTIONS
411
+ Access-Control-Allow-Headers:
412
+ - DNT,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range
413
+ Strict-Transport-Security:
414
+ - max-age=31557600; includeSubDomains; preload
415
+ Content-Security-Policy:
416
+ - upgrade-insecure-requests
417
+ body:
418
+ encoding: UTF-8
419
+ string: '{"jsonrpc":"2.0","result":"0.23.0","id":44}'
420
+ recorded_at: Sat, 17 Oct 2020 04:34:17 GMT
421
+ - request:
422
+ method: post
423
+ uri: https://api.steemitdev.com/
424
+ body:
425
+ encoding: UTF-8
426
+ string: '{"jsonrpc":"2.0","id":62,"method":"condenser_api.get_hardfork_version","params":[]}'
427
+ headers:
428
+ Content-Type:
429
+ - application/json; charset=utf-8
430
+ User-Agent:
431
+ - steem-ruby/0.9.4
432
+ Accept-Encoding:
433
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
434
+ Accept:
435
+ - "*/*"
436
+ Host:
437
+ - api.steemitdev.com
438
+ Content-Length:
439
+ - '87'
440
+ response:
441
+ status:
442
+ code: 200
443
+ message: OK
444
+ headers:
445
+ Date:
446
+ - Sat, 17 Oct 2020 04:39:53 GMT
447
+ Content-Type:
448
+ - application/json
449
+ Content-Length:
450
+ - '43'
451
+ Connection:
452
+ - keep-alive
453
+ Server:
454
+ - nginx
455
+ X-Jussi-Request-Id:
456
+ - '000925557036438621'
457
+ X-Amzn-Trace-Id:
458
+ - Root=1-5f8a7599-66d92220569ba103277e9cb5
459
+ Access-Control-Allow-Origin:
460
+ - "*"
461
+ Access-Control-Allow-Methods:
462
+ - GET, POST, OPTIONS
463
+ Access-Control-Allow-Headers:
464
+ - DNT,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range
465
+ Strict-Transport-Security:
466
+ - max-age=31557600; includeSubDomains; preload
467
+ Content-Security-Policy:
468
+ - upgrade-insecure-requests
469
+ body:
470
+ encoding: UTF-8
471
+ string: '{"jsonrpc":"2.0","result":"0.23.0","id":62}'
472
+ recorded_at: Sat, 17 Oct 2020 04:39:53 GMT
473
+ - request:
474
+ method: post
475
+ uri: https://api.steemitdev.com/
476
+ body:
477
+ encoding: UTF-8
478
+ string: '{"jsonrpc":"2.0","id":15,"method":"condenser_api.get_hardfork_version","params":[]}'
479
+ headers:
480
+ Content-Type:
481
+ - application/json; charset=utf-8
482
+ User-Agent:
483
+ - steem-ruby/0.9.4
484
+ Accept-Encoding:
485
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
486
+ Accept:
487
+ - "*/*"
488
+ Host:
489
+ - api.steemitdev.com
490
+ Content-Length:
491
+ - '75'
492
+ response:
493
+ status:
494
+ code: 200
495
+ message: OK
496
+ headers:
497
+ Date:
498
+ - Sat, 17 Oct 2020 04:55:49 GMT
499
+ Content-Type:
500
+ - application/json
501
+ Content-Length:
502
+ - '43'
503
+ Connection:
504
+ - keep-alive
505
+ Server:
506
+ - nginx
507
+ X-Jussi-Request-Id:
508
+ - '000226330875086100'
509
+ X-Amzn-Trace-Id:
510
+ - Root=1-5f8a7955-24d3f5be02fb35a143d6c8cb
511
+ Access-Control-Allow-Origin:
512
+ - "*"
513
+ Access-Control-Allow-Methods:
514
+ - GET, POST, OPTIONS
515
+ Access-Control-Allow-Headers:
516
+ - DNT,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range
517
+ Strict-Transport-Security:
518
+ - max-age=31557600; includeSubDomains; preload
519
+ Content-Security-Policy:
520
+ - upgrade-insecure-requests
521
+ body:
522
+ encoding: UTF-8
523
+ string: '{"jsonrpc":"2.0","result":"0.23.0","id":15}'
524
+ recorded_at: Sat, 17 Oct 2020 04:55:49 GMT
525
+ - request:
526
+ method: post
527
+ uri: https://api.steemitdev.com/
528
+ body:
529
+ encoding: UTF-8
530
+ string: '{"jsonrpc":"2.0","id":87,"method":"condenser_api.get_hardfork_version","params":[]}'
531
+ headers:
532
+ Content-Type:
533
+ - application/json; charset=utf-8
534
+ User-Agent:
535
+ - steem-ruby/0.9.4
536
+ Accept-Encoding:
537
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
538
+ Accept:
539
+ - "*/*"
540
+ Host:
541
+ - api.steemit.com
542
+ Content-Length:
543
+ - '80'
544
+ response:
545
+ status:
546
+ code: 200
547
+ message: OK
548
+ headers:
549
+ Date:
550
+ - Sat, 17 Oct 2020 05:03:38 GMT
551
+ Content-Type:
552
+ - application/json
553
+ Content-Length:
554
+ - '43'
555
+ Connection:
556
+ - keep-alive
557
+ Server:
558
+ - nginx
559
+ X-Jussi-Request-Id:
560
+ - '000924871646059758'
561
+ X-Amzn-Trace-Id:
562
+ - Root=1-5f8a7b2a-2a1b7035412025a43630ae72
563
+ Access-Control-Allow-Origin:
564
+ - "*"
565
+ Access-Control-Allow-Methods:
566
+ - GET, POST, OPTIONS
567
+ Access-Control-Allow-Headers:
568
+ - DNT,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range
569
+ Strict-Transport-Security:
570
+ - max-age=31557600; includeSubDomains; preload
571
+ Content-Security-Policy:
572
+ - upgrade-insecure-requests
573
+ body:
574
+ encoding: UTF-8
575
+ string: '{"jsonrpc":"2.0","result":"0.23.0","id":87}'
576
+ recorded_at: Sat, 17 Oct 2020 05:03:38 GMT
577
+ - request:
578
+ method: post
579
+ uri: https://api.steemitdev.com/
580
+ body:
581
+ encoding: UTF-8
582
+ string: '{"jsonrpc":"2.0","id":12,"method":"condenser_api.get_hardfork_version","params":[]}'
583
+ headers:
584
+ Content-Type:
585
+ - application/json; charset=utf-8
586
+ User-Agent:
587
+ - steem-ruby/0.9.5
588
+ Accept-Encoding:
589
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
590
+ Accept:
591
+ - "*/*"
592
+ Host:
593
+ - api.steemitdev.com
594
+ Content-Length:
595
+ - '80'
596
+ response:
597
+ status:
598
+ code: 200
599
+ message: OK
600
+ headers:
601
+ Date:
602
+ - Fri, 06 Nov 2020 21:12:54 GMT
603
+ Content-Type:
604
+ - application/json
605
+ Content-Length:
606
+ - '43'
607
+ Connection:
608
+ - keep-alive
609
+ Server:
610
+ - nginx
611
+ X-Jussi-Request-Id:
612
+ - '000185685207862564'
613
+ X-Amzn-Trace-Id:
614
+ - Root=1-5fa5bc55-57afeaaf4e9d46c80d7a3145
615
+ Access-Control-Allow-Origin:
616
+ - "*"
617
+ Access-Control-Allow-Methods:
618
+ - GET, POST, OPTIONS
619
+ Access-Control-Allow-Headers:
620
+ - DNT,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range
621
+ Strict-Transport-Security:
622
+ - max-age=31557600; includeSubDomains; preload
623
+ Content-Security-Policy:
624
+ - upgrade-insecure-requests
625
+ body:
626
+ encoding: UTF-8
627
+ string: '{"jsonrpc":"2.0","result":"0.23.0","id":12}'
628
+ recorded_at: Fri, 06 Nov 2020 21:12:54 GMT
629
+ recorded_with: VCR 6.0.0