Sha256: be85dcee6c45d085303f533c0167939164b1ff024aaae1769a3624a5080a8778
Contents?: true
Size: 553 Bytes
Versions: 2
Compression:
Stored size: 553 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", 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.3.0 | lib/wordpress_tools/config.rb |
wordpress_tools-1.2.0 | lib/wordpress_tools/config.rb |