This goal of this project is to build a robot that can analyze Github repositories and report if any of the conditions outlined below are not met. The first check will involve determining whether repositories have README.md files.
To determine whether a Github repo has a README.md, run the following:
> github_valet = GithubValet.new
> github_valet.readme_md_exists_for?(repo_string)
A repository with a README returns true, a repository without returns false.
Ruby 2.5.0
Give examples
Here's how to currently download and install
Clone the repository from github:
> git clone [email protected]:trystant/github-valet.git
Install supporting libraries with bundler
> bundle install
Use bundle exec pry
to open a console
> bundle exec pry
Run GithubValet
commands:
[1] pry(main)> github_valet.readme_md_exists_for?('BOWiki/BOW')
=> true
Github-valet uses RSpec for automated tests.
The tests are run by using the command rake
.
Add additional notes about how to deploy this on a live system
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
We use SemVer for versioning. For the versions available, see the tags on this repository.
- Mark Nyon - Initial work - Github Profile
See also the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE file for details