/netguru

Netguru private gem

Primary LanguageRuby

netguru gem

Gem designed to take the load of config/deploy.rb

tasks

netguru:tag_release

Tags releases with a timestamp and environment, e.g. 201205161559-production

Usage: after('deploy:update_code', 'netguru:tag_release')

(this is enabled for production stage by default)

deploy:revert

Rewinds your stage branch to specified timestamp and restarts app.

Usage: cap production deploy:revert -s to=201205161559

generators

Hooks for git (git_hooks)

  • post-merge - show message if changes in Gemfile/Gemfile.lock or schema.rb have been detected so user can spot it and run bundle/rake db:migrate

In order to install:

rails generate netguru:git_hooks

Run generators

  • rails g netguru

In orded to install peek dev tools:

  • rails g netguru:peek

TO DO:

  • specs for review response check during reponse
  • specs for sc middleware
  • use Konf gem