Sha256: b21d316204b2b8db9d6a3479187d35ffd0b9998b60175d4edfc8d7112db304d7

Contents?: true

Size: 501 Bytes

Versions: 2

Compression:

Stored size: 501 Bytes

Contents

module WordPressTools
  class Configuration
    DEFAULT_CONFIG = {
      wp_cli_download_url: "https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar",
      wp_cli_path: "/usr/local/bin/wp",
      admin_user: "admin",
      admin_email: "admin@example.com",
      admin_password: "password",
      db_user: "root",
      db_password: "",
      site_url: "http://localhost:8080",
      locale: "en_US"
    }.freeze

    def self.for(key)
      DEFAULT_CONFIG[key]
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
wordpress_tools-1.4.1 lib/wordpress_tools/config.rb
wordpress_tools-1.4.0 lib/wordpress_tools/config.rb