http://www.ex-parrot.com/pdw/Mail-RFC822-Address.html
\w
[{ | |
"environments": [ | |
"site.dev", | |
"site.staging", | |
"site.com" | |
] | |
}] |
var dev = "dev", | |
staging = "staging", | |
production = "production", | |
url = window.location, | |
hostname = window.location.hostname; | |
hostname = hostname.split('.'); | |
if (hostname[1] === dev) { | |
hostname[1] = staging; |
require 'restforce' | |
require 'faye' | |
require 'pry' | |
Restforce.log = true | |
client = Restforce.new username: '**********************************', | |
password: '************************', | |
security_token: '************************', | |
client_id: '*************************************************************************************', |
source "https://rubygems.org" | |
ruby "2.1.2" | |
# gem 'sinatra' | |
gem 'eventmachine' | |
gem "cookiejar", :git => "https://github.com/MissionCapital/cookiejar.git" | |
gem "restforce" | |
gem 'faye', '0.8.9' | |
gem 'pry' |