Sha256: e2792e2a1237343adf76593b93bbf09b667e97c541439f04abf5b705f436b9df

Contents?: true

Size: 702 Bytes

Versions: 6

Compression:

Stored size: 702 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",
      wp_cli_config_path: "~/.wp-cli/config.yml",
      wp_server_download_url: "https://github.com/wp-cli/server-command/archive/master.zip",
      wp_server_directory: "~/.wp-cli/commands/server",
      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

6 entries across 6 versions & 1 rubygems

Version Path
wordpress_tools-1.1.3 lib/wordpress_tools/config.rb
wordpress_tools-1.1.2 lib/wordpress_tools/config.rb
wordpress_tools-1.1.1 lib/wordpress_tools/config.rb
wordpress_tools-1.1.0 lib/wordpress_tools/config.rb
wordpress_tools-1.0.1 lib/wordpress_tools/config.rb
wordpress_tools-1.0.0 lib/wordpress_tools/config.rb