Sha256: 7f7ae27d93fdc111d7347128b5e2ce7d9aef701c60c9b6720519052a16fbf386

Contents?: true

Size: 348 Bytes

Versions: 104

Compression:

Stored size: 348 Bytes

Contents

database_engines = ['mysql', 'postgresql']
if ! database_engines.any? {|d| @template_dependencies.include?(d)}
  db = Rubber::Util::prompt("DATABASE",
                            "The database engine to use (#{database_engines.join(', ')})",
                            true,
                            'mysql')
  template_dependencies << db
end

Version data entries

104 entries across 64 versions & 6 rubygems

Version Path
rubber-2.0.0.pre4 templates/complete_passenger/templates.rb
rubber-2.0.0.pre3 templates/complete_passenger/templates.rb
rubber-2.0.0.pre2 templates/complete_passenger/templates.rb
rubber-2.0.0.pre1 templates/complete_passenger/templates.rb
rubber-1.15.0 generators/vulcanize/templates/complete_passenger/templates.rb
rubber-1.15.0 lib/generators/vulcanize/templates/complete_passenger/templates.rb
rubber-1.14.1 lib/generators/vulcanize/templates/complete_passenger/templates.rb
rubber-1.14.1 generators/vulcanize/templates/complete_passenger/templates.rb
rubber-1.14.0 lib/generators/vulcanize/templates/complete_passenger/templates.rb
rubber-1.14.0 generators/vulcanize/templates/complete_passenger/templates.rb
rubber-1.13.2 generators/vulcanize/templates/complete_passenger/templates.rb
rubber-1.13.2 lib/generators/vulcanize/templates/complete_passenger/templates.rb
rubber-1.13.1 generators/vulcanize/templates/complete_passenger/templates.rb
rubber-1.13.1 lib/generators/vulcanize/templates/complete_passenger/templates.rb
rubber-1.13.0 lib/generators/vulcanize/templates/complete_passenger/templates.rb
rubber-1.13.0 generators/vulcanize/templates/complete_passenger/templates.rb
rubber-1.12.2 lib/generators/vulcanize/templates/complete_passenger/templates.rb
rubber-1.12.2 generators/vulcanize/templates/complete_passenger/templates.rb
rubber-1.12.1 lib/generators/vulcanize/templates/complete_passenger/templates.rb
rubber-1.12.1 generators/vulcanize/templates/complete_passenger/templates.rb