exportr 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/exportr/railtie.rb +1 -1
- data/lib/exportr/version.rb +1 -1
- metadata +1 -1
data/lib/exportr/railtie.rb
CHANGED
@@ -4,7 +4,7 @@ module Exportr
|
|
4
4
|
|
5
5
|
class Railtie < Rails::Railtie
|
6
6
|
|
7
|
-
|
7
|
+
config.before_initialize do
|
8
8
|
if File.exists? "#{Rails.root}/#{Exportr::Config::CONFIG_FILE}"
|
9
9
|
config = YAML.load(File.open("#{Rails.root}/#{Exportr::Config::CONFIG_FILE}"))
|
10
10
|
config.each_pair { |key,value| ENV[key] = value } if config
|
data/lib/exportr/version.rb
CHANGED