radiator 0.2.3rc4 → 0.2.3rc5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5be0e8ac5298ce8b9ba8444bbaf18fa07cdef2f0
4
- data.tar.gz: f69ed3441423a19dd03fffb9d15efb88fd4fc87e
3
+ metadata.gz: ae5ca8cb6bb94221e9ad50cecaf293b8d69033ec
4
+ data.tar.gz: dbf009ce0f79176e2041927a382cadf87dc2a997
5
5
  SHA512:
6
- metadata.gz: e297d9b05cdc2d15707d6cf9e6c90ae68cebb5e913382521254731d82561f5e538619d4ee145b57bae2ee7c29bb4d55fef90d37cc9d8775752b38c18ef849a1e
7
- data.tar.gz: 8b0e555e7b9f79b1c08322561032f16255ab3d344fa34dc77cc04ac31eb03bd8dd6efb3ba08732f0ab12aadfbd54d03d93eaa664b8277e27e7ce367d1b196299
6
+ metadata.gz: 0f5e4311758429fa94c37f3dbdf4877d9dd9c25c98d0123cdd33f0a90168fff1d25c9c1c66cddff78f80a7a92753dca3dca92da20300f82dfeb7c2d4214e2669
7
+ data.tar.gz: 586790e8570aff81c3ac1fda9c8c0509952ad6b853be430e986c6d5b44dd70076c4d61daded342f7207abed44d261ac551a37092328beb888564dd8339b2b886
@@ -2,8 +2,10 @@ language: ruby
2
2
  rvm:
3
3
  # - "2.0.0"
4
4
  # - "2.1.5"
5
- - "2.2.1"
5
+ # - "2.2.1"
6
6
  - "2.3.0"
7
+ - "2.4.2"
8
+ # - "2.5.0" # dev
7
9
  script: TESTOPTS="--verbose" bundle exec rake test
8
10
  addons:
9
11
  code_climate:
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- radiator (0.2.3rc4)
4
+ radiator (0.2.3rc5)
5
5
  bitcoin-ruby (= 0.0.11)
6
6
  ffi (= 1.9.18)
7
7
  hashie (~> 3.5, >= 3.5.5)
@@ -68,7 +68,7 @@ PLATFORMS
68
68
 
69
69
  DEPENDENCIES
70
70
  awesome_print (~> 1.7, >= 1.7.0)
71
- bundler (~> 1.14, >= 1.14.6)
71
+ bundler (~> 1.15, >= 1.15.4)
72
72
  codeclimate-test-reporter (~> 0.5.2)
73
73
  faraday (~> 0.9.2)
74
74
  minitest (~> 5.9, >= 5.9.0)
@@ -83,4 +83,4 @@ DEPENDENCIES
83
83
  yard (~> 0.8.7.6)
84
84
 
85
85
  BUNDLED WITH
86
- 1.14.6
86
+ 1.15.4
data/README.md CHANGED
@@ -16,6 +16,7 @@ Radiator is an API Client for interaction with the STEEM network using Ruby.
16
16
  * Now using exponential back-off for retries.
17
17
  * Detecting presence of `transaction_ids` (if enabled by the node).
18
18
  * Default for `Hashie` warnings now go to `/dev/null`, where they belong.
19
+ * Added stray methods/operations.
19
20
 
20
21
  #### Fixes in v0.2.2
21
22
 
@@ -1,9 +1,9 @@
1
1
  // Copied from:
2
- // https://raw.githubusercontent.com/steemit/steem-js/master/src/broadcast/operations.json
2
+ // https://raw.githubusercontent.com/steemit/steem-js/master/src/broadcast/operations.js
3
3
 
4
4
  [
5
5
  {
6
- "roles": ["posting"],
6
+ "roles": ["posting", "active", "owner"],
7
7
  "operation": "vote",
8
8
  "params": [
9
9
  "voter",
@@ -13,7 +13,7 @@
13
13
  ]
14
14
  },
15
15
  {
16
- "roles": ["posting"],
16
+ "roles": ["posting", "active", "owner"],
17
17
  "operation": "comment",
18
18
  "params": [
19
19
  "parent_author",
@@ -36,7 +36,7 @@
36
36
  ]
37
37
  },
38
38
  {
39
- "roles": ["active"],
39
+ "roles": ["active", "owner"],
40
40
  "operation": "transfer_to_vesting",
41
41
  "params": [
42
42
  "from",
@@ -45,7 +45,7 @@
45
45
  ]
46
46
  },
47
47
  {
48
- "roles": ["active"],
48
+ "roles": ["active", "owner"],
49
49
  "operation": "withdraw_vesting",
50
50
  "params": [
51
51
  "account",
@@ -53,7 +53,7 @@
53
53
  ]
54
54
  },
55
55
  {
56
- "roles": ["active"],
56
+ "roles": ["active", "owner"],
57
57
  "operation": "limit_order_create",
58
58
  "params": [
59
59
  "owner",
@@ -65,7 +65,7 @@
65
65
  ]
66
66
  },
67
67
  {
68
- "roles": ["active"],
68
+ "roles": ["active", "owner"],
69
69
  "operation": "limit_order_cancel",
70
70
  "params": [
71
71
  "owner",
@@ -73,7 +73,7 @@
73
73
  ]
74
74
  },
75
75
  {
76
- "roles": ["active"],
76
+ "roles": ["active", "owner"],
77
77
  "operation": "price",
78
78
  "params": [
79
79
  "base",
@@ -81,7 +81,7 @@
81
81
  ]
82
82
  },
83
83
  {
84
- "roles": ["active"],
84
+ "roles": ["active", "owner"],
85
85
  "operation": "feed_publish",
86
86
  "params": [
87
87
  "publisher",
@@ -89,7 +89,7 @@
89
89
  ]
90
90
  },
91
91
  {
92
- "roles": ["active"],
92
+ "roles": ["active", "owner"],
93
93
  "operation": "convert",
94
94
  "params": [
95
95
  "owner",
@@ -98,7 +98,7 @@
98
98
  ]
99
99
  },
100
100
  {
101
- "roles": ["active"],
101
+ "roles": ["active", "owner"],
102
102
  "operation": "account_create",
103
103
  "params": [
104
104
  "fee",
@@ -112,7 +112,7 @@
112
112
  ]
113
113
  },
114
114
  {
115
- "roles": ["owner", "active"],
115
+ "roles": ["active", "owner"],
116
116
  "operation": "account_update",
117
117
  "params": [
118
118
  "account",
@@ -124,7 +124,7 @@
124
124
  ]
125
125
  },
126
126
  {
127
- "roles": ["active"],
127
+ "roles": ["active", "owner"],
128
128
  "operation": "witness_update",
129
129
  "params": [
130
130
  "owner",
@@ -135,7 +135,7 @@
135
135
  ]
136
136
  },
137
137
  {
138
- "roles": ["posting"],
138
+ "roles": ["active", "owner"],
139
139
  "operation": "account_witness_vote",
140
140
  "params": [
141
141
  "account",
@@ -144,7 +144,7 @@
144
144
  ]
145
145
  },
146
146
  {
147
- "roles": ["posting"],
147
+ "roles": ["active", "owner"],
148
148
  "operation": "account_witness_proxy",
149
149
  "params": [
150
150
  "account",
@@ -152,7 +152,7 @@
152
152
  ]
153
153
  },
154
154
  {
155
- "roles": ["active"],
155
+ "roles": ["active", "owner"],
156
156
  "operation": "pow",
157
157
  "params": [
158
158
  "worker",
@@ -162,7 +162,7 @@
162
162
  ]
163
163
  },
164
164
  {
165
- "roles": ["active"],
165
+ "roles": ["active", "owner"],
166
166
  "operation": "custom",
167
167
  "params": [
168
168
  "required_auths",
@@ -171,7 +171,7 @@
171
171
  ]
172
172
  },
173
173
  {
174
- "roles": ["posting"],
174
+ "roles": ["posting", "active", "owner"],
175
175
  "operation": "delete_comment",
176
176
  "params": [
177
177
  "author",
@@ -179,7 +179,7 @@
179
179
  ]
180
180
  },
181
181
  {
182
- "roles": ["posting", "active"],
182
+ "roles": ["posting", "active", "owner"],
183
183
  "operation": "custom_json",
184
184
  "params": [
185
185
  "required_auths",
@@ -189,7 +189,7 @@
189
189
  ]
190
190
  },
191
191
  {
192
- "roles": ["posting"],
192
+ "roles": ["posting", "active", "owner"],
193
193
  "operation": "comment_options",
194
194
  "params": [
195
195
  "author",
@@ -203,7 +203,7 @@
203
203
  ]
204
204
  },
205
205
  {
206
- "roles": ["active"],
206
+ "roles": ["active", "owner"],
207
207
  "operation": "set_withdraw_vesting_route",
208
208
  "params": [
209
209
  "from_account",
@@ -213,7 +213,7 @@
213
213
  ]
214
214
  },
215
215
  {
216
- "roles": ["active"],
216
+ "roles": ["active", "owner"],
217
217
  "operation": "limit_order_create2",
218
218
  "params": [
219
219
  "owner",
@@ -225,7 +225,7 @@
225
225
  ]
226
226
  },
227
227
  {
228
- "roles": ["posting"],
228
+ "roles": ["posting", "active", "owner"],
229
229
  "operation": "challenge_authority",
230
230
  "params": [
231
231
  "challenger",
@@ -242,7 +242,7 @@
242
242
  ]
243
243
  },
244
244
  {
245
- "roles": ["active"],
245
+ "roles": ["active", "owner"],
246
246
  "operation": "request_account_recovery",
247
247
  "params": [
248
248
  "recovery_account",
@@ -251,6 +251,16 @@
251
251
  "extensions"
252
252
  ]
253
253
  },
254
+ {
255
+ "roles": ["owner"],
256
+ "operation": "recover_account",
257
+ "params": [
258
+ "account_to_recover",
259
+ "new_owner_authority",
260
+ "recent_owner_authority",
261
+ "extensions"
262
+ ]
263
+ },
254
264
  {
255
265
  "roles": ["owner"],
256
266
  "operation": "change_recovery_account",
@@ -261,7 +271,7 @@
261
271
  ]
262
272
  },
263
273
  {
264
- "roles": ["active"],
274
+ "roles": ["active", "owner"],
265
275
  "operation": "escrow_transfer",
266
276
  "params": [
267
277
  "from",
@@ -277,7 +287,7 @@
277
287
  ]
278
288
  },
279
289
  {
280
- "roles": ["active"],
290
+ "roles": ["active", "owner"],
281
291
  "operation": "escrow_dispute",
282
292
  "params": [
283
293
  "from",
@@ -288,7 +298,7 @@
288
298
  ]
289
299
  },
290
300
  {
291
- "roles": ["active"],
301
+ "roles": ["active", "owner"],
292
302
  "operation": "escrow_release",
293
303
  "params": [
294
304
  "from",
@@ -302,7 +312,7 @@
302
312
  ]
303
313
  },
304
314
  {
305
- "roles": ["active"],
315
+ "roles": ["active", "owner"],
306
316
  "operation": "pow2",
307
317
  "params": [
308
318
  "input",
@@ -310,7 +320,7 @@
310
320
  ]
311
321
  },
312
322
  {
313
- "roles": ["active"],
323
+ "roles": ["active", "owner"],
314
324
  "operation": "escrow_approve",
315
325
  "params": [
316
326
  "from",
@@ -322,7 +332,7 @@
322
332
  ]
323
333
  },
324
334
  {
325
- "roles": ["active"],
335
+ "roles": ["active", "owner"],
326
336
  "operation": "transfer_to_savings",
327
337
  "params": [
328
338
  "from",
@@ -332,7 +342,7 @@
332
342
  ]
333
343
  },
334
344
  {
335
- "roles": ["active"],
345
+ "roles": ["active", "owner"],
336
346
  "operation": "transfer_from_savings",
337
347
  "params": [
338
348
  "from",
@@ -343,7 +353,7 @@
343
353
  ]
344
354
  },
345
355
  {
346
- "roles": ["active"],
356
+ "roles": ["active", "owner"],
347
357
  "operation": "cancel_transfer_from_savings",
348
358
  "params": [
349
359
  "from",
@@ -367,7 +377,7 @@
367
377
  ]
368
378
  },
369
379
  {
370
- "roles": ["active"],
380
+ "roles": ["active", "owner"],
371
381
  "operation": "reset_account",
372
382
  "params": [
373
383
  "reset_account",
@@ -385,7 +395,7 @@
385
395
  ]
386
396
  },
387
397
  {
388
- "roles": ["posting"],
398
+ "roles": ["posting", "active", "owner"],
389
399
  "operation": "claim_reward_balance",
390
400
  "params": [
391
401
  "account",
@@ -395,7 +405,7 @@
395
405
  ]
396
406
  },
397
407
  {
398
- "roles": ["active"],
408
+ "roles": ["active", "owner"],
399
409
  "operation": "delegate_vesting_shares",
400
410
  "params": [
401
411
  "delegator",
@@ -404,7 +414,7 @@
404
414
  ]
405
415
  },
406
416
  {
407
- "roles": ["active"],
417
+ "roles": ["active", "owner"],
408
418
  "operation": "account_create_with_delegation",
409
419
  "params": [
410
420
  "fee",
@@ -420,7 +430,7 @@
420
430
  ]
421
431
  },
422
432
  {
423
- "roles": ["active"],
433
+ "roles": ["active", "owner"],
424
434
  "operation": "fill_convert_request",
425
435
  "params": [
426
436
  "owner",
@@ -430,7 +440,7 @@
430
440
  ]
431
441
  },
432
442
  {
433
- "roles": ["posting"],
443
+ "roles": ["posting", "active", "owner"],
434
444
  "operation": "comment_reward",
435
445
  "params": [
436
446
  "author",
@@ -439,7 +449,7 @@
439
449
  ]
440
450
  },
441
451
  {
442
- "roles": ["active"],
452
+ "roles": ["active", "owner"],
443
453
  "operation": "liquidity_reward",
444
454
  "params": [
445
455
  "owner",
@@ -447,7 +457,7 @@
447
457
  ]
448
458
  },
449
459
  {
450
- "roles": ["active"],
460
+ "roles": ["active", "owner"],
451
461
  "operation": "interest",
452
462
  "params": [
453
463
  "owner",
@@ -455,7 +465,7 @@
455
465
  ]
456
466
  },
457
467
  {
458
- "roles": ["active"],
468
+ "roles": ["active", "owner"],
459
469
  "operation": "fill_vesting_withdraw",
460
470
  "params": [
461
471
  "from_account",
@@ -465,7 +475,7 @@
465
475
  ]
466
476
  },
467
477
  {
468
- "roles": ["posting"],
478
+ "roles": ["posting", "active", "owner"],
469
479
  "operation": "fill_order",
470
480
  "params": [
471
481
  "current_owner",
@@ -477,7 +487,7 @@
477
487
  ]
478
488
  },
479
489
  {
480
- "roles": ["posting"],
490
+ "roles": ["posting", "active", "owner"],
481
491
  "operation": "fill_transfer_from_savings",
482
492
  "params": [
483
493
  "from",
@@ -1,5 +1,5 @@
1
1
  // Copied from:
2
- // https://raw.githubusercontent.com/steemit/steem-js/master/src/api/methods.json
2
+ // https://raw.githubusercontent.com/steemit/steem-js/master/src/api/methods.js
3
3
 
4
4
  [
5
5
  {
@@ -315,7 +315,7 @@
315
315
  {
316
316
  "api": "database_api",
317
317
  "method": "get_content_replies",
318
- "params": ["parent", "parentPermlink"]
318
+ "params": ["author", "permlink"]
319
319
  },
320
320
  {
321
321
  "api": "database_api",
@@ -359,6 +359,16 @@
359
359
  "api": "database_api",
360
360
  "method": "get_miner_queue"
361
361
  },
362
+ {
363
+ "api": "database_api",
364
+ "method": "get_reward_fund",
365
+ "params": ["name"]
366
+ },
367
+ {
368
+ "api": "database_api",
369
+ "method": "get_vesting_delegations",
370
+ "params": ["account", "from", "limit"]
371
+ },
362
372
  {
363
373
  "api": "login_api",
364
374
  "method": "login",
@@ -484,9 +494,5 @@
484
494
  "api": "market_history_api",
485
495
  "method": "get_market_history_buckets",
486
496
  "params": []
487
- },
488
- {
489
- "api": "database_api",
490
- "method": "get_reward_fund"
491
497
  }
492
498
  ]
@@ -1,3 +1,3 @@
1
1
  module Radiator
2
- VERSION = '0.2.3rc4'
2
+ VERSION = '0.2.3rc5'
3
3
  end
@@ -17,7 +17,7 @@ Gem::Specification.new do |spec|
17
17
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test)/}) }
18
18
  spec.require_paths = ['lib']
19
19
 
20
- spec.add_development_dependency 'bundler', '~> 1.14', '>= 1.14.6'
20
+ spec.add_development_dependency 'bundler', '~> 1.15', '>= 1.15.4'
21
21
  spec.add_development_dependency 'rake', '~> 11.2', '>= 11.2.2'
22
22
  spec.add_development_dependency 'minitest', '~> 5.9', '>= 5.9.0'
23
23
  spec.add_development_dependency 'minitest-line', '~> 0.6.3'
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.2.3rc4
4
+ version: 0.2.3rc5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Anthony Martin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-09-24 00:00:00.000000000 Z
11
+ date: 2017-09-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -16,20 +16,20 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.14'
19
+ version: '1.15'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 1.14.6
22
+ version: 1.15.4
23
23
  type: :development
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
27
  - - "~>"
28
28
  - !ruby/object:Gem::Version
29
- version: '1.14'
29
+ version: '1.15'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 1.14.6
32
+ version: 1.15.4
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: rake
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -410,7 +410,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
410
410
  version: 1.3.1
411
411
  requirements: []
412
412
  rubyforge_project:
413
- rubygems_version: 2.6.12
413
+ rubygems_version: 2.5.1
414
414
  signing_key:
415
415
  specification_version: 4
416
416
  summary: STEEM RPC Ruby Client