This file contains 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
# Description: | |
# This script enables you to deploy via the Pulsar gem through hubot. | |
# Deploy authorization is enabled via the auth hubot script; to deploy | |
# you need to have either the 'admin' or the 'deployer' role. | |
# | |
# Dependencies: | |
# auth.coffee | |
# | |
# Configuration: | |
# HUBOT_INSTALL_DIR |
This file contains 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
http = require 'http' | |
fs = require 'fs' | |
{spawn, exec} = require 'child_process' | |
# ---------------- | |
# Server / Builder | |
# ---------------- | |
option '-P', '--production', 'run server in production mode' |
This file contains 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
env = require 'config/environment' | |
if env.isDevelopment() | |
window.App.ApplicationAdapter = DS.RESTAdapter.extend({ | |
host: 'http://localhost:3000' | |
}) | |
else if env.isTest() | |
window.App.ApplicationAdapter = DS.FixtureAdapter.extend({ | |
simulateRemoteResponse: false | |
}) |
This file contains 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
#!/usr/bin/env ruby | |
require_relative 'spec/support/simplecov' | |
module SimpleCov | |
module ResultMerger | |
class << self | |
def resultset_files | |
Dir.glob(File.join(SimpleCov.coverage_path, '*', '.resultset.json')) | |
end |