Sha256: 9f73becce1e8f523b411dbf9adc43e2d3359d0041c2f1179ebc4a804767e42e7
Contents?: true
Size: 1.3 KB
Versions: 1
Compression:
Stored size: 1.3 KB
Contents
# Contributing ## Workflow Fork, then clone the repo: ```shell git clone git@github.com:your-username/whois-parser.git ``` Set up your machine: ```shell bundle ``` Make sure the tests pass: ```shell $ bundle exec rake ``` To propose a change/feature/patch, create your feature branch: ```shell git checkout -b my-new-feature ``` Make your change. Add tests for your change. Make the tests pass: ```shell bundle exec rake ``` `utils/mkwhois.rb` can be used to quicky generate `status_available.txt` and `status_registered.txt` files for your tests ```shell ruby utils/mkwhois.rb google.com status_available ``` Commit your changes: ```shell git commit -am 'Add some feature' ``` Push to your fork and [submit a pull request](https://github.com/weppos/whois-parser/compare/). ## Tests To increase the chance that your pull request is accepted please **make sure to write tests**. Changes without corresponding tests will likely not be included as they will produce fragile code that can easily break whenever the registry changes the response format. Some examples: [84dbdde320f31c20184bcfe5e544e8fd3cd32862](https://github.com/weppos/whois/commit/84dbdde320f31c20184bcfe5e544e8fd3cd32862), [3b6688b95e6fadcf720cc777ef4bbd2cd644e62b](https://github.com/weppos/whois/commit/3b6688b95e6fadcf720cc777ef4bbd2cd644e62b)
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
whois-parser-1.1.0 | CONTRIBUTING.md |