README.md in jumpup-heroku-0.0.3 vs README.md in jumpup-heroku-0.0.4
- old
+ new
@@ -1,15 +1,16 @@
# Jumpup-heroku
+[![RubyGems][gem_version_badge]][ruby_gems]
Rake tasks to deploy any Rails application on [Heroku](http://heroku.com) using [Jumpup](https://github.com/Helabs/jumpup).
## Instalation
Add to your gem file.
```ruby
-gem 'jumpup-heroku', github: 'Helabs/jumpup-heroku'
+gem 'jumpup-heroku'
```
Without groups on Gemfile, because of initializer.
## Usage
@@ -18,11 +19,11 @@
```ruby
# config/initializers/jumpup-heroku.rb
Jumpup::Heroku.configure do |config|
config.app = 'myapp'
- end
+ end if Rails.env.development?
```
If you use [Heroku Accounts](https://github.com/ddollar/heroku-accounts)
```ruby
@@ -33,29 +34,29 @@
end
config.account(:name_of_account2) do |account2|
account2.app = 'myapp2'
account2.run_database_tasks = false # Default: true
end
- end
+ end if Rails.env.development?
```
Have production and staging app? Do like this:
```ruby
Jumpup::Heroku.configure do |config|
config.staging_app = 'myapp-staging'
config.production_app = 'myapp'
- end
+ end if Rails.env.development?
```
If you need to disable remote database tasks (backup, migrate and seed):
```ruby
Jumpup::Heroku.configure do |config|
config.app = 'myapp'
config.run_database_tasks = false # Default: true
- end
+ end if Rails.env.development?
```
2. Add to the tasks on jumpup.rake the tasks to deploy on Heroku:
```ruby
@@ -71,10 +72,14 @@
jumpup:finish
jumpup:heroku:finish
)
```
+### Deploy to production
+
+Run ```rake jumpup:heroku:deploy:production``` or as an alias ```rake integrate:production```
+
## Versioning
Jumpup-heroku follow the [Semantic Versioning](http://semver.org/).
## Issues
@@ -83,13 +88,27 @@
## Contributing
Please see [CONTRIBUTING.md](https://github.com/Helabs/jumpup-heroku/blob/master/CONTRIBUTING.md) for details.
+## Release
+
+Follow this steps to release a new version of the gem.
+
+1. Test if everything is running ok;
+1. Change version of the gem on `VERSION` constant;
+1. Add the release date on the `CHANGELOG`;
+1. Do a commit "Bump version x.x.x", follow the semantic version;
+1. Run `$ rake release`, this will send the gem to the rubygems;
+1. Check if the gem is on the rubygems and the tags are correct on the github;
+
## Credits
Jumpup-heroku is maintained and funded by [HE:labs](http://helabs.com.br/opensource/).
Thank you to all the [contributors](https://github.com/Helabs/jumpup-heroku/graphs/contributors).
## License
-Jumpup-heroku is Copyright © 2013-2014 HE:labs. It is free software, and may be redistributed under the terms specified in the LICENSE file.
\ No newline at end of file
+Jumpup-heroku is Copyright © 2013-2014 HE:labs. It is free software, and may be redistributed under the terms specified in the LICENSE file.
+
+[gem_version_badge]: https://badge.fury.io/rb/jumpup-heroku.png
+[ruby_gems]: http://rubygems.org/gems/jumpup-heroku