Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/agilous/ruby_objects
https://github.com/agilous/ruby_objects
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/agilous/ruby_objects
- Owner: agilous
- License: mit
- Created: 2024-02-29T22:13:17.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-02-29T22:14:51.000Z (11 months ago)
- Last Synced: 2024-11-30T22:45:11.901Z (about 2 months ago)
- Language: Ruby
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Ruby Objects Testing Harness
This is a simple testing harness for plain old ruby objects (PORO's).## Requirements
* [Ruby](https://www.ruby-lang.org/) programming language
* [Git](https://git-scm.com/) source control management tool## Setup
In a terminal run:
```sh
git clone [email protected]:agilous/ruby_objects.git
cd ruby_objects
bin/setup
bin/ci
```## Usage
Any PORO you difine `/lib` can be tested with an associated RSpec spec in `/spec`.Run your specs with: `bin/rspec`
Lint your code with: `bin/rubocop`
## Contributing
[How to Contribute to Open Source](https://opensource.guide/how-to-contribute/)
offer's the best advice.### tl;dr
1. [Fork it](https://docs.github.com/en/github/getting-started-with-github/fork-a-repo)!
1. Create your feature branch: `git checkout -b cool-new-feature`
1. Commit your changes: `git commit -am 'Added a cool feature'`
1. Push to the branch: `git push origin cool-new-feature`
1. [Create new Pull Request](https://docs.github.com/en/github/collaborating-with-issues-and-pull-requests/creating-a-pull-request).