steemit / devportal

Steem Platform Developer Documentation.
https://developers.steem.io
MIT License
122 stars 74 forks source link

Update scrape:api_defs to use steem-ruby #136

Closed inertia186 closed 6 years ago

inertia186 commented 6 years ago

Currently, rake scrape:api_defs uses its own custom methods to fetch the API definitions from the steemd API plugins.

But this functionality is available in steem-ruby where it will be maintained more actively.

In order to uphold DRY (don't repeat yourself), we should use steem-ruby to fetch API method names.

AC

inertia186 commented 6 years ago

This story is blocked because steem-ruby has not been publically released.

inertia186 commented 6 years ago

Even though the steem-ruby github is not yet public, the gem is, so this is technically unblocked.

inertia186 commented 6 years ago

Also, Rakefile needs a tweak to allow rake to pick up alternate nodes if provided by TEST_NODE environment variable, so that this works:

TEST_NODE=https://api.steemitdev.com rake scrape:api_defs