Skip to content
This repository was archived by the owner on Aug 9, 2019. It is now read-only.

exercism/DEPRECATED.rikki-ruby-analyzer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rikki: Ruby Analyzer

The Ruby Analizer provides an API wrapper for JacobNinja's exercism-analysis project (codeminer).

Usage

Start the application on port 8989:

rackup -p 8989

Send a POST request to the /analyze/:language endpoint. E.g.

$ curl "http://localhost:8989/analyze/ruby" -H "Content-Type: application/json" -d '{
  "code": "class Thing\n    def stuff\n    end\nend"
}'

Note: to get a string that is formatted nicely, paste a heredoc into IRB and copy the string that is returned. It will be escaped correctly.

Testing locally

To lean on default configurations:

  1. Run exercism.io on port 4567
  2. Run the ruby analyzer on port 8989
  3. Run redis (just use the default port, 6379)
  4. Run rikki with no arguments
  5. Submit a problematic piece of code.

About

Light wrapper around JacobNinja's codeminer for exercism project

Topics

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

  •  

Packages

No packages published

Contributors 2

  •  
  •  

Languages