exportr 0.1.9 → 0.1.95
Sign up to get free protection for your applications and to get access to all the features.
data/lib/exportr/version.rb
CHANGED
@@ -14,6 +14,15 @@ class ExportrGenerator < Rails::Generators::Base
|
|
14
14
|
config.each_pair { |key,value| ENV[key] = value } if config
|
15
15
|
end
|
16
16
|
end'
|
17
|
+
|
18
|
+
# Decrecation warning
|
19
|
+
if File.exists?("#{Rails.root}/config/initializers/exportr.rb")
|
20
|
+
puts
|
21
|
+
puts 'Deprecation Warning: Exportr no longer uses config/initialzers/exportr.rb to load environment variables.'
|
22
|
+
puts 'Please remove before restarting your server.'
|
23
|
+
puts
|
24
|
+
end
|
25
|
+
|
17
26
|
end
|
18
27
|
|
19
28
|
def mod_gitignore
|