This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Airbrake.configure do |config| | |
# ... | |
config.user_attributes = %w{id email} # the default is just 'id' | |
config.async = true # requires the gem 'sucker_punch' and 'airbrake ~> 3.1.15' | |
end | |
# Inform Errbit of the version of the codebase checked out | |
GIT_COMMIT = ENV.fetch('COMMIT_HASH', `git log -n1 --format='%H'`.chomp).freeze |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if %w{solo app_master}.member? config.current_role | |
app = config.current_path[/(?<=\/data\/)([^\/]+)(?=\/)/] | |
env = ENV["RAILS_ENV"] | |
sha = File.read("#{config.current_path}/REVISION").chomp | |
require 'net/http' | |
require 'uri' | |
uri = URI("http://status.cphepdev.com/projects/#{app}/deploy/#{env}") | |
configuration = config.configuration |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function() { | |
angular | |
.module("ccpModule", ["ngRoute", "ngAnimate", "ngResource"]) | |
.config(function($routeProvider) { | |
$routeProvider | |
.when("/", { | |
templateUrl: "index.html", | |
controller: "MainController" | |
}) | |
.when("/dialPad", { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function() { | |
angular | |
.module("ccpModule", ["ngRoute", "ngAnimate", "ngResource"]) | |
.config(function($routeProvider) { | |
$routeProvider | |
.when("/", { | |
templateUrl: "index.html", | |
controller: "MainController" | |
}) | |
.when("/dialPad", { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# frozen_string_literal: true | |
require "bundler/inline" | |
gemfile(true) do | |
source "https://rubygems.org" | |
git_source(:github) { |repo| "https://github.com/#{repo}.git" } | |
gem "rails", github: "rails/rails", branch: "master" |
OlderNewer