Browse files

add hipchat

  • Loading branch information...
1 parent e418f3a commit 06e434461d3885fe76ff838ec77a844da0fa4d7c @xdite committed Apr 8, 2013
View
4 CHANGELOG.md
@@ -1,5 +1,9 @@
alpha
+0.2.1 (Apr 8, 2013)
+
+* add hipchat
+
0.2.0.1 (Jan 25, 2013)
* fix email_sender
* upgrade to Rails 3.2.11
View
2 lib/bootstrappers/version.rb
@@ -1,3 +1,3 @@
module Bootstrappers
- VERSION = "0.2.0.1"
+ VERSION = "0.2.1"
end
View
2 templates/Gemfile_additions
@@ -20,6 +20,8 @@ gem "turbo-sprockets-rails3"
gem "rvm-capistrano"
+gem "hipchat"
+
# Cache
gem "dalli"
View
7 templates/capistrano/deploy_rb.erb
@@ -1,5 +1,8 @@
# -*- encoding : utf-8 -*-
+raw_config = File.read("config/config.yml")
+APP_CONFIG = YAML.load(raw_config)
+
require "./config/boot"
require "bundler/capistrano"
require "rvm-capistrano"
@@ -23,6 +26,10 @@ set :git_shallow_clone, 1
set :use_sudo, false
set :rvm_ruby_string, '1.9.3'
+set :hipchat_token, APP_CONFIG["production"]["hipchat_token"]
+set :hipchat_room_name, APP_CONFIG["production"]["hipchat_room_name"]
+set :hipchat_announce, false # notify users?
+
role :web, "<%= app_name %>.com" # Your HTTP server, Apache/etc
role :app, "<%= app_name %>.com" # This may be the same as your `Web` server
role :db, "<%= app_name %>.com" , :primary => true # This is where Rails migrations will run
View
2 templates/config_yml.erb
@@ -3,6 +3,8 @@ defaults: &defaults
domain: "http://<%= app_name %>.dev"
facebook_app_id:
facebook_secret:
+ hipchat_token:
+ hipchat_room_name:
admin_emails:
- ""
google_analytics_key: ""

0 comments on commit 06e4344

Please sign in to comment.