exportr 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -4,7 +4,7 @@ module Exportr
4
4
 
5
5
  class Railtie < Rails::Railtie
6
6
 
7
- initializer 'exportr.load_environment_variables' do |app|
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
@@ -1,3 +1,3 @@
1
1
  module Exportr
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: exportr
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: