fanforce-base 1.1.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fanforce/base/domain_environments.rb +6 -6
- data/lib/fanforce/base/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 943f281285afe9b7a2083fc8ca184b3813c914b6
|
4
|
+
data.tar.gz: f02fd3387405a5bab5c9b7d26097adeaf2cace82
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 88886db210a5d2a153e6bf457f8d5eea2161a919222dbd959f965d18bdfd4232cc652713ca403233d3d34dab6ea618a4a86721c90390bfec87b3faacde32fc9b
|
7
|
+
data.tar.gz: 535e94ddc76d00a843fe1c21055d212fa85bb1660aeb5663523b6503a3b96b6f51eac274b3bb6ff9c610acb16d40e037eefa5fccdb10ee3c63cb4c74602054e2
|
@@ -3,10 +3,10 @@ module Fanforce::Base::DomainEnvironments
|
|
3
3
|
# Base domains for development environment.
|
4
4
|
# @return [hash]
|
5
5
|
def self.development
|
6
|
-
root_domain = (ENV['FANFORCE_GEM_TOP_LEVEL_DOMAIN'] || '
|
6
|
+
root_domain = (ENV['FANFORCE_GEM_TOP_LEVEL_DOMAIN'] || 'dev')
|
7
7
|
{
|
8
8
|
:base => ENV['FANFORCE_GEM_BASE_DOMAIN'] || "fanforce.#{root_domain}",
|
9
|
-
:default_short_domain => ENV['FANFORCE_GEM_DEFAULT_SHORT_DOMAIN'] || "
|
9
|
+
:default_short_domain => ENV['FANFORCE_GEM_DEFAULT_SHORT_DOMAIN'] || "fnfrc.#{root_domain}",
|
10
10
|
:apps_base => ENV['FANFORCE_GEM_APPS_BASE_DOMAIN'] || "ffapp.#{root_domain}",
|
11
11
|
}
|
12
12
|
end
|
@@ -15,9 +15,9 @@ module Fanforce::Base::DomainEnvironments
|
|
15
15
|
# @return [hash]
|
16
16
|
def self.test
|
17
17
|
{
|
18
|
-
:base => 'fanforce.
|
19
|
-
:default_short_domain => '
|
20
|
-
:apps_base => 'ffapp.
|
18
|
+
:base => 'fanforce.dev',
|
19
|
+
:default_short_domain => 'fnfrc.dev',
|
20
|
+
:apps_base => 'ffapp.dev',
|
21
21
|
}
|
22
22
|
end
|
23
23
|
|
@@ -26,7 +26,7 @@ module Fanforce::Base::DomainEnvironments
|
|
26
26
|
def self.staging
|
27
27
|
{
|
28
28
|
:base => 'fanforce-staging.com',
|
29
|
-
:default_short_domain => '
|
29
|
+
:default_short_domain => 'fnfrc.us',
|
30
30
|
:apps_base => 'ffapp.us',
|
31
31
|
}
|
32
32
|
end
|