lib/rails_erd/tasks.rake in rails-erd-1.4.0 vs lib/rails_erd/tasks.rake in rails-erd-1.4.1
- old
+ new
@@ -6,10 +6,10 @@
task :options do
(RailsERD.options.keys.map(&:to_s) & ENV.keys).each do |option|
RailsERD.options[option.to_sym] = case ENV[option]
when "true", "yes" then true
when "false", "no" then false
- when /,/ then ENV[option].split(/\s*,\s*/).map(&:to_sym)
+ when /,/ then ENV[option].split(/\s*,\s*/)
else ENV[option].to_sym
end
end
end