Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/exercism/ruby-representer
https://github.com/exercism/ruby-representer
community-contributions-paused exercism-representer exercism-tooling
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/exercism/ruby-representer
- Owner: exercism
- License: agpl-3.0
- Created: 2019-10-09T10:43:43.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2024-04-25T07:19:21.000Z (8 months ago)
- Last Synced: 2024-05-01T11:25:30.980Z (8 months ago)
- Topics: community-contributions-paused, exercism-representer, exercism-tooling
- Language: Ruby
- Size: 105 KB
- Stars: 4
- Watchers: 7
- Forks: 5
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Code of conduct: CODE_OF_CONDUCT.md
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# Exercism's Ruby Representer
![Tests](https://github.com/exercism/ruby-representer/workflows/Tests/badge.svg)
[![Maintainability](https://api.codeclimate.com/v1/badges/902bdd98f91d51456ce9/maintainability)](https://codeclimate.com/github/exercism/ruby-representer/maintainability)
[![Test Coverage](https://api.codeclimate.com/v1/badges/902bdd98f91d51456ce9/test_coverage)](https://codeclimate.com/github/exercism/ruby-representer/test_coverage)This is Exercism's representer for the Ruby track.
It is run with `./bin/run.sh $EXERCISM $PATH_TO_FILES $PATH_FOR_OUTPUT` and will read the source code from `$PATH_TO_FILES` and write a text file with a representation to `$PATH_FOR_OUTPUT`.
For example:
```bash
./bin/run.sh two_fer ~/solution-238382y7sds7fsadfasj23j/ ~/solution-238382y7sds7fsadfasj23j/output
```## Running the tests
Before running the tests, first install the dependencies:
```bash
bundle install
```Then, run the following command to run the tests:
```bash
bundle exec rake test
```