exportr 0.1.9 → 0.1.95
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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
|