From 72d44dedeb269167a4d9c965f205180545575d05 Mon Sep 17 00:00:00 2001 From: Greg Zapp Date: Tue, 29 Oct 2013 16:41:16 +1300 Subject: [PATCH 1/2] Added dotenv support to Rakefile --- Gemfile | 1 + Rakefile | 2 ++ 2 files changed, 3 insertions(+) diff --git a/Gemfile b/Gemfile index 7fc2ad4..7b95c50 100644 --- a/Gemfile +++ b/Gemfile @@ -19,6 +19,7 @@ gem "json" gem "rspec" gem "rufus-scheduler" gem "nokogiri" +gem "dotenv" group :development do gem "foreman" diff --git a/Rakefile b/Rakefile index b2ce97b..9c30af5 100644 --- a/Rakefile +++ b/Rakefile @@ -1,3 +1,5 @@ +require 'dotenv' +Dotenv.load namespace :db do require 'sequel' From acd04b272529f184ff8e9e1393f0cf23a73c8ebb Mon Sep 17 00:00:00 2001 From: Greg Zapp Date: Tue, 29 Oct 2013 17:31:06 +1300 Subject: [PATCH 2/2] Updating for travis.ci --- Gemfile.lock | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Gemfile.lock b/Gemfile.lock index 3b537e3..4981054 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -5,6 +5,7 @@ GEM coderay (1.0.8) daemons (1.1.9) diff-lcs (1.1.3) + dotenv (0.9.0) eventmachine (1.0.3) faraday (0.8.6) multipart-post (~> 1.1) @@ -101,6 +102,7 @@ PLATFORMS ruby DEPENDENCIES + dotenv foreman haml json