The deadline is near
All tasks must align
Disruptions appear
Good thing I use Mign!
- Mac OS X
- Command Line Tools
- PostgreSQL 9.1.0+
- Git 1.7.0+
- RVM 1.10.2+
- Ruby 1.9.3-p125 (Should be managed by RVM)
- Pow 0.3.2+
You'll want to work around LLVM GCC. Here's a suggestion.
git clone https://github.com/relaxdiego/mign
cd mign
(if RVM asks, trust the .rvmrc file)script/setup
- Point your browser to
http://mign.dev
- Learn more about the features by opening
doc/features.html
with your favorite browser
Report it here.
git pull origin master
script/setup
script/runtests
- Start coding using your favorite editor
The tests will run in full, regenerate the code coverage report which is saved in the coverage
directory, then pause and wait for you to make changes to to the code. When a change is detected, it will run part or all of the tests depending on which part of the code you changed, tell you if the tests passed or failed, then wait for changes. When a change is detected...you get the point now, right?
Regarding the coverage report: To speed up testing, the coverage report is re-generated only on startup and when you press Enter
from the terminal where sript/runtests
is running. You can tell when the coverage report has been generated by the line 'Coverage report generated for...' that gets displayed in the terminal.
- Fork
https://github.com/relaxdiego/mign
- Create a branch for whatever it is you plan to do
- Change stuff
- Send a pull request. If I like it, I will merge to my master branch
- Covered by tests. Use rspec for unit tests and cucumber for integration tests.
- All tests must pass.
- Must come with a poem/haiku. I'm just kidding, but there's
public/poetry.yml
if you really want to. ;-)
- Before submitting your step definitions, run
cucumber --format usage
to ensure that you are not submitting any unused step definitions. - When updating doc/features.html, make sure you press
Enter
whilescript/runtests
is running so that the documentation is regenerated in full.
- Capybara DSL - Learn about the DSL used in the tests.
- Cucumber - Learn about the Cucumber framework. The Cucumber Book is highly recommended.
- Rspec-Rails - Background information about the testing framework used for Mign.
- Factory Girl - Learn about the dynamic fixture library used in the tests.
- Guard - Learn about what files are watched (for changes) and how tests gets executed automatically.
- Devise - The authentication engine used with Mign.
- CanCan - The authorization gem used by Mign.
(The MIT license)
Copyright (c) 2012 Mark S. Maglana
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.