radiator 0.4.8 → 0.4.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (55) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/radiator/api.rb +8 -8
  4. data/lib/radiator/ssc/base_steem_smart_contract_rpc.rb +1 -1
  5. data/lib/radiator/ssc/blockchain.rb +1 -1
  6. data/lib/radiator/ssc/contracts.rb +1 -1
  7. data/lib/radiator/ssc/stream.rb +1 -1
  8. data/lib/radiator/version.rb +1 -1
  9. data/radiator.gemspec +3 -3
  10. data/test/fixtures/vcr_cassettes/account_by_key_api_all_methods.yml +207 -1
  11. data/test/fixtures/vcr_cassettes/api_all_methods.yml +331 -1
  12. data/test/fixtures/vcr_cassettes/base_per_debt.yml +855 -1
  13. data/test/fixtures/vcr_cassettes/base_per_mvest.yml +651 -1
  14. data/test/fixtures/vcr_cassettes/block_time.yml +733 -1
  15. data/test/fixtures/vcr_cassettes/broadcast_transaction.yml +108 -1
  16. data/test/fixtures/vcr_cassettes/condenser_all_all_methods.yml +166 -1
  17. data/test/fixtures/vcr_cassettes/expiration_initialize.yml +1162 -1
  18. data/test/fixtures/vcr_cassettes/find_account.yml +633 -1
  19. data/test/fixtures/vcr_cassettes/find_block.yml +628 -1
  20. data/test/fixtures/vcr_cassettes/find_comment.yml +1967 -1
  21. data/test/fixtures/vcr_cassettes/get_account_count.yml +53 -1
  22. data/test/fixtures/vcr_cassettes/get_account_references.yml +111 -1
  23. data/test/fixtures/vcr_cassettes/get_accounts.yml +62 -1
  24. data/test/fixtures/vcr_cassettes/get_accounts_no_argument.yml +111 -1
  25. data/test/fixtures/vcr_cassettes/get_dynamic_global_properties.yml +59 -1
  26. data/test/fixtures/vcr_cassettes/get_feed_history.yml +191 -1
  27. data/test/fixtures/vcr_cassettes/get_hardfork_version.yml +53 -1
  28. data/test/fixtures/vcr_cassettes/get_key_references.yml +211 -1
  29. data/test/fixtures/vcr_cassettes/get_market_history.yml +209 -1
  30. data/test/fixtures/vcr_cassettes/get_market_history_buckets.yml +209 -1
  31. data/test/fixtures/vcr_cassettes/get_order_book.yml +209 -1
  32. data/test/fixtures/vcr_cassettes/get_recent_trades.yml +209 -1
  33. data/test/fixtures/vcr_cassettes/get_ticker.yml +105 -1
  34. data/test/fixtures/vcr_cassettes/get_trade_history.yml +209 -1
  35. data/test/fixtures/vcr_cassettes/get_vesting_delegations.yml +105 -1
  36. data/test/fixtures/vcr_cassettes/get_volume.yml +213 -1
  37. data/test/fixtures/vcr_cassettes/get_witness_by_account.yml +53 -1
  38. data/test/fixtures/vcr_cassettes/look_up_witnesses.yml +53 -1
  39. data/test/fixtures/vcr_cassettes/market_history_api_all_methods.yml +1461 -1
  40. data/test/fixtures/vcr_cassettes/network_broadcast_api_all_methods.yml +217 -1
  41. data/test/fixtures/vcr_cassettes/properties.yml +633 -1
  42. data/test/fixtures/vcr_cassettes/recover_transaction.yml +111 -1
  43. data/test/fixtures/vcr_cassettes/ssc_blockchain_block_info.yml +90 -3
  44. data/test/fixtures/vcr_cassettes/ssc_blockchain_block_info_invalid.yml +88 -3
  45. data/test/fixtures/vcr_cassettes/ssc_blockchain_latest_block_info.yml +89 -3
  46. data/test/fixtures/vcr_cassettes/ssc_blockchain_transaction_info.yml +82 -3
  47. data/test/fixtures/vcr_cassettes/ssc_contracts_contract.yml +364 -3
  48. data/test/fixtures/vcr_cassettes/ssc_contracts_find.yml +81 -3
  49. data/test/fixtures/vcr_cassettes/ssc_contracts_find_one.yml +87 -3
  50. data/test/fixtures/vcr_cassettes/stream_jsonrpc.yml +2167 -1
  51. data/test/fixtures/vcr_cassettes/transaction_expiration_initialize_nil.yml +1229 -1
  52. data/test/fixtures/vcr_cassettes/transaction_jsonrpc.yml +2131 -1
  53. data/test/fixtures/vcr_cassettes/unknown_chain_id.yml +1203 -1
  54. data/test/fixtures/vcr_cassettes/valid_chains.yml +1157 -1
  55. metadata +42 -42
@@ -2452,4 +2452,220 @@ http_interactions:
2452
2452
  string: '{"jsonrpc":"2.0","id":53,"error":{"code":-32603,"message":"Internal
2453
2453
  Error","data":{"error_id":"6db1886f-5082-489a-9a6c-7b48cc8f1d6a","jussi_request_id":"000347813434184976"}}}'
2454
2454
  recorded_at: Sun, 08 Nov 2020 06:01:30 GMT
2455
- recorded_with: VCR 6.0.0
2455
+ - request:
2456
+ method: post
2457
+ uri: https://api.steemitdev.com/
2458
+ body:
2459
+ encoding: UTF-8
2460
+ string: '{"jsonrpc":"2.0","id":44,"method":"jsonrpc.get_signature","params":{"method":"network_broadcast_api.broadcast_transaction"}}'
2461
+ headers:
2462
+ Content-Type:
2463
+ - application/json; charset=utf-8
2464
+ User-Agent:
2465
+ - steem-ruby/0.9.8
2466
+ Accept-Encoding:
2467
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
2468
+ Accept:
2469
+ - "*/*"
2470
+ Host:
2471
+ - api.steemit.com
2472
+ Content-Length:
2473
+ - '92'
2474
+ response:
2475
+ status:
2476
+ code: 200
2477
+ message: OK
2478
+ headers:
2479
+ Date:
2480
+ - Sat, 30 Jul 2022 23:22:27 GMT
2481
+ Content-Type:
2482
+ - application/json
2483
+ Content-Length:
2484
+ - '203'
2485
+ Connection:
2486
+ - keep-alive
2487
+ Server:
2488
+ - nginx
2489
+ X-Jussi-Cache-Hit:
2490
+ - appbase.jsonrpc.get_signature.params={"method":"network_broadcast_api.broadcast_transaction"}
2491
+ X-Jussi-Request-Id:
2492
+ - '000828141625644898'
2493
+ X-Amzn-Trace-Id:
2494
+ - Root=1-62e5bd33-4a2db227765563e24206f2be
2495
+ Access-Control-Allow-Origin:
2496
+ - "*"
2497
+ Access-Control-Allow-Methods:
2498
+ - GET, POST, OPTIONS
2499
+ Access-Control-Allow-Headers:
2500
+ - DNT,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range
2501
+ Strict-Transport-Security:
2502
+ - max-age=31557600; includeSubDomains; preload
2503
+ Content-Security-Policy:
2504
+ - upgrade-insecure-requests
2505
+ body:
2506
+ encoding: UTF-8
2507
+ string: '{"id":44,"jsonrpc":"2.0","result":{"args":{"trx":{"ref_block_num":0,"ref_block_prefix":0,"expiration":"1970-01-01T00:00:00","operations":[],"extensions":[],"signatures":[]},"max_block_age":-1},"ret":{}}}'
2508
+ recorded_at: Sat, 30 Jul 2022 23:22:28 GMT
2509
+ - request:
2510
+ method: post
2511
+ uri: https://api.steemitdev.com/
2512
+ body:
2513
+ encoding: UTF-8
2514
+ string: '{"jsonrpc":"2.0","id":45,"method":"network_broadcast_api.broadcast_transaction","params":{}}'
2515
+ headers:
2516
+ Content-Type:
2517
+ - application/json; charset=utf-8
2518
+ User-Agent:
2519
+ - steem-ruby/0.9.8
2520
+ Accept-Encoding:
2521
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
2522
+ Accept:
2523
+ - "*/*"
2524
+ Host:
2525
+ - api.steemit.com
2526
+ Content-Length:
2527
+ - '124'
2528
+ response:
2529
+ status:
2530
+ code: 200
2531
+ message: OK
2532
+ headers:
2533
+ Date:
2534
+ - Sat, 30 Jul 2022 23:22:28 GMT
2535
+ Content-Type:
2536
+ - application/json
2537
+ Content-Length:
2538
+ - '175'
2539
+ Connection:
2540
+ - keep-alive
2541
+ Server:
2542
+ - nginx
2543
+ X-Jussi-Error-Id:
2544
+ - 29cf1c0e-bc08-42f0-bde4-a1bf282b4973
2545
+ X-Jussi-Request-Id:
2546
+ - '000413419878153379'
2547
+ X-Amzn-Trace-Id:
2548
+ - Root=1-62e5bd34-598d3e6c7157ae5f1bc1e2f8
2549
+ Access-Control-Allow-Origin:
2550
+ - "*"
2551
+ Access-Control-Allow-Methods:
2552
+ - GET, POST, OPTIONS
2553
+ Access-Control-Allow-Headers:
2554
+ - DNT,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range
2555
+ Strict-Transport-Security:
2556
+ - max-age=31557600; includeSubDomains; preload
2557
+ Content-Security-Policy:
2558
+ - upgrade-insecure-requests
2559
+ body:
2560
+ encoding: UTF-8
2561
+ string: '{"jsonrpc":"2.0","id":45,"error":{"code":-32603,"message":"Internal
2562
+ Error","data":{"error_id":"29cf1c0e-bc08-42f0-bde4-a1bf282b4973","jussi_request_id":"000889932537108473"}}}'
2563
+ recorded_at: Sat, 30 Jul 2022 23:22:28 GMT
2564
+ - request:
2565
+ method: post
2566
+ uri: https://api.steemitdev.com/
2567
+ body:
2568
+ encoding: UTF-8
2569
+ string: '{"jsonrpc":"2.0","id":50,"method":"jsonrpc.get_signature","params":{"method":"network_broadcast_api.broadcast_transaction"}}'
2570
+ headers:
2571
+ Content-Type:
2572
+ - application/json; charset=utf-8
2573
+ User-Agent:
2574
+ - steem-ruby/0.9.8
2575
+ Accept-Encoding:
2576
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
2577
+ Accept:
2578
+ - "*/*"
2579
+ Host:
2580
+ - api.steemitdev.com
2581
+ Content-Length:
2582
+ - '68'
2583
+ response:
2584
+ status:
2585
+ code: 200
2586
+ message: OK
2587
+ headers:
2588
+ Date:
2589
+ - Sat, 30 Jul 2022 23:28:13 GMT
2590
+ Content-Type:
2591
+ - application/json
2592
+ Content-Length:
2593
+ - '203'
2594
+ Connection:
2595
+ - keep-alive
2596
+ Server:
2597
+ - nginx
2598
+ X-Jussi-Request-Id:
2599
+ - '001064392725560128'
2600
+ X-Amzn-Trace-Id:
2601
+ - Root=1-62e5be8d-708fd3df02fdcc353e811940
2602
+ Access-Control-Allow-Origin:
2603
+ - "*"
2604
+ Access-Control-Allow-Methods:
2605
+ - GET, POST, OPTIONS
2606
+ Access-Control-Allow-Headers:
2607
+ - DNT,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range
2608
+ Strict-Transport-Security:
2609
+ - max-age=31557600; includeSubDomains; preload
2610
+ Content-Security-Policy:
2611
+ - upgrade-insecure-requests
2612
+ body:
2613
+ encoding: UTF-8
2614
+ string: '{"jsonrpc":"2.0","result":{"args":{"trx":{"ref_block_num":0,"ref_block_prefix":0,"expiration":"1970-01-01T00:00:00","operations":[],"extensions":[],"signatures":[]},"max_block_age":-1},"ret":{}},"id":50}'
2615
+ recorded_at: Sat, 30 Jul 2022 23:28:13 GMT
2616
+ - request:
2617
+ method: post
2618
+ uri: https://api.steemitdev.com/
2619
+ body:
2620
+ encoding: UTF-8
2621
+ string: '{"jsonrpc":"2.0","id":51,"method":"network_broadcast_api.broadcast_transaction","params":{}}'
2622
+ headers:
2623
+ Content-Type:
2624
+ - application/json; charset=utf-8
2625
+ User-Agent:
2626
+ - steem-ruby/0.9.8
2627
+ Accept-Encoding:
2628
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
2629
+ Accept:
2630
+ - "*/*"
2631
+ Host:
2632
+ - api.steemitdev.com
2633
+ Content-Length:
2634
+ - '124'
2635
+ response:
2636
+ status:
2637
+ code: 200
2638
+ message: OK
2639
+ headers:
2640
+ Date:
2641
+ - Sat, 30 Jul 2022 23:28:13 GMT
2642
+ Content-Type:
2643
+ - application/json
2644
+ Content-Length:
2645
+ - '175'
2646
+ Connection:
2647
+ - keep-alive
2648
+ Server:
2649
+ - nginx
2650
+ X-Jussi-Error-Id:
2651
+ - 072a86c8-8429-40a7-98cb-f86368a788bd
2652
+ X-Jussi-Request-Id:
2653
+ - '000255955323382604'
2654
+ X-Amzn-Trace-Id:
2655
+ - Root=1-62e5be8d-03bad5750a56fab7051249a7
2656
+ Access-Control-Allow-Origin:
2657
+ - "*"
2658
+ Access-Control-Allow-Methods:
2659
+ - GET, POST, OPTIONS
2660
+ Access-Control-Allow-Headers:
2661
+ - DNT,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range
2662
+ Strict-Transport-Security:
2663
+ - max-age=31557600; includeSubDomains; preload
2664
+ Content-Security-Policy:
2665
+ - upgrade-insecure-requests
2666
+ body:
2667
+ encoding: UTF-8
2668
+ string: '{"jsonrpc":"2.0","id":51,"error":{"code":-32603,"message":"Internal
2669
+ Error","data":{"error_id":"072a86c8-8429-40a7-98cb-f86368a788bd","jussi_request_id":"000438108779411381"}}}'
2670
+ recorded_at: Sat, 30 Jul 2022 23:28:14 GMT
2671
+ recorded_with: VCR 6.1.0