Merge tag 'v0.4.0' into develop
Gems upgraded * tag 'v0.4.0':
|7 months ago|
|bin||1 year ago|
|config||9 months ago|
|data||2 years ago|
|img||2 years ago|
|lib||1 year ago|
|public||1 year ago|
|test||7 months ago|
|.gitignore||9 months ago|
|.ruby-version||2 years ago|
|.travis.yml||1 year ago|
|Capfile||9 months ago|
|Gemfile||9 months ago|
|Gemfile.lock||7 months ago|
|README.md||9 months ago|
|Rakefile||2 years ago|
|config.ru||9 months ago|
|pijpenstelen.rb||1 year ago|
Page that shows rain precipitation in a graph for your current location.
Ensure you have Ruby (2.x), and bundler installed.
git clone https://git.webschuur.com/berkes/pijpenstelen.git
Now visit http://localhost:9292, accept the location request in your browser and you should see a graph predicting rainfall in next hours.
Tests are ran on Travis
To run tests locally:
bundle exec rake
Integration tests (also known as end-to-end tests) are found under
These tests run through rack and stub out the external weather provider. Fixed responses are found in the fixtures directory.
They mimic the experience that an end-user would have.
There is currently no quick way to run only these tests, they are ran as part of the entire test-suite, so intermixed with the unit-tests.
Unit tests are found under
These tests run classes (models) in isolation and test their isolated behaviour.
There is currently no quick way to run only these tests, they are ran as part of the entire test-suite, so intermixed with the integration-tests.
Push to heroku:
heroku ....TODO: document all the steps with heroku to deploy from scratch.
See also the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE.md file for details