lib/pgcli/rails/tasks.rake in pgcli-rails-0.6.4 vs lib/pgcli/rails/tasks.rake in pgcli-rails-0.6.5

- old
+ new

@@ -3,10 +3,10 @@ require "pgcli/rails/dbconsole" # APP_PATH constant must be set for DBConsole to work APP_PATH = Rails.root.join("config", "application") unless defined?(APP_PATH) - opt = if ::Rails.version >= "5.1" + opt = if Rails.version >= "5.1" { "--include-password" => true } else ["--include-password"] end