Merge tag 'v0.4.0' into develop
Gems upgraded * tag 'v0.4.0':
|10 months ago|
|bin||2 years ago|
|config||1 year ago|
|data||2 years ago|
|img||2 years ago|
|lib||2 years ago|
|public||2 years ago|
|test||10 months ago|
|.gitignore||1 year ago|
|.ruby-version||2 years ago|
|.travis.yml||2 years ago|
|Capfile||1 year ago|
|Gemfile||1 year ago|
|Gemfile.lock||10 months ago|
|README.md||1 year ago|
|Rakefile||2 years ago|
|config.ru||1 year ago|
|pijpenstelen.rb||2 years 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