Sha256: 0c913559e937ac644b2bd9bf0dd0d046fb944886d91e2d658a8272964f4067ca
Contents?: true
Size: 1.44 KB
Versions: 6
Compression:
Stored size: 1.44 KB
Contents
module Fanforce::DomainEnvironments def self.development base_domain = (ENV['FANFORCE_GEM_TOP_LEVEL_DOMAIN'] || 'gg') { :base => ENV['FANFORCE_GEM_BASE_DOMAIN'] || "fanforce.#{base_domain}", :default_short_domain => ENV['FANFORCE_GEM_DEFAULT_SHORT_DOMAIN'] || "fanforc.#{base_domain}", :apps_base => ENV['FANFORCE_GEM_APPS_BASE_DOMAIN'] || "ffapp.#{base_domain}", :plugins_base => ENV['FANFORCE_GEM_PLUGINS_BASE_DOMAIN'] || "ffplugin.#{base_domain}", :widgets_base => ENV['FANFORCE_GEM_WIDGETS_BASE_DOMAIN'] || "ffwidget.#{base_domain}" } end def self.test { :base => 'fanforce.gg', :default_short_domain => 'fanforc.gg', :apps_base => 'ffapp.gg', :plugins_base => 'ffplugin.gg', :widgets_base => 'ffwidget.gg' } end def self.staging { :base => 'fanforce-staging.com', :default_short_domain => 'fanforc.us', :apps_base => 'ffapp.us', :plugins_base => 'ffplugin.us', :widgets_base => 'ffwidget.us' } end def self.production { :base => 'fanforce.com', :default_short_domain => 'fanforce.io', :apps_base => 'ffapp.io', :plugins_base => 'ffplugin.io', :widgets_base => 'ffwidget.io' } end end
Version data entries
6 entries across 6 versions & 1 rubygems