fanforce-base 2.0.0.rc3 → 2.0.0.rc4
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 +7 -3
- data/lib/fanforce/base/domains.rb +6 -0
- data/lib/fanforce/base/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 281bd048cd7c749f9fc71433ab05303664b8a0fe
|
4
|
+
data.tar.gz: c6b078a41a4b21ac964f7c0aa53680a9563d5708
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cae7fd67411ff778b0b0f984f1da8768e5317201e653eb3c6de188c0448c5aa0baa3d1191ace43c0649b64be26185546a650e7a13c9798656d938dbd0bc3ec76
|
7
|
+
data.tar.gz: 051870d55dc9fd0628134bf9634e137dbe54753e67445922a4f85df96801829c878bcd11ffaf0f1bba00a5692d40c43c66bc5aee65f0f3187af42ec90ed3ecd0
|
@@ -5,9 +5,10 @@ module Fanforce::Base::DomainEnvironments
|
|
5
5
|
def self.development
|
6
6
|
root_domain = (ENV['FANFORCE_GEM_TOP_LEVEL_DOMAIN'] || 'dev')
|
7
7
|
{
|
8
|
-
:base => ENV['FANFORCE_GEM_BASE_DOMAIN']
|
9
|
-
:default_short_domain => ENV['FANFORCE_GEM_DEFAULT_SHORT_DOMAIN']
|
10
|
-
:plugins_base => ENV['FANFORCE_GEM_PLUGINS_BASE_DOMAIN']
|
8
|
+
:base => ENV['FANFORCE_GEM_BASE_DOMAIN'] || "fanforce.#{root_domain}",
|
9
|
+
:default_short_domain => ENV['FANFORCE_GEM_DEFAULT_SHORT_DOMAIN'] || "fnfrc.#{root_domain}",
|
10
|
+
:plugins_base => ENV['FANFORCE_GEM_PLUGINS_BASE_DOMAIN'] || "ffplugin.#{root_domain}",
|
11
|
+
:plugins_base_mx => ENV['FANFORCE_GEM_PLUGINS_BASE_MX_DOMAIN'] || "ffplugin.me",
|
11
12
|
}
|
12
13
|
end
|
13
14
|
|
@@ -18,6 +19,7 @@ module Fanforce::Base::DomainEnvironments
|
|
18
19
|
:base => 'fanforce.dev',
|
19
20
|
:default_short_domain => 'fnfrc.dev',
|
20
21
|
:plugins_base => 'ffplugin.dev',
|
22
|
+
:plugins_base_mx => 'ffplugin.me',
|
21
23
|
}
|
22
24
|
end
|
23
25
|
|
@@ -28,6 +30,7 @@ module Fanforce::Base::DomainEnvironments
|
|
28
30
|
:base => 'fanforce-staging.com',
|
29
31
|
:default_short_domain => 'fnfrc.us',
|
30
32
|
:plugins_base => 'ffplugin.us',
|
33
|
+
:plugins_base_mx => 'ffplugin.us',
|
31
34
|
}
|
32
35
|
end
|
33
36
|
|
@@ -38,6 +41,7 @@ module Fanforce::Base::DomainEnvironments
|
|
38
41
|
:base => 'fanforce.com',
|
39
42
|
:default_short_domain => 'fanforce.io',
|
40
43
|
:plugins_base => 'ffplugin.io',
|
44
|
+
:plugins_base_mx => 'ffplugin.io',
|
41
45
|
}
|
42
46
|
end
|
43
47
|
|
@@ -40,6 +40,12 @@ module Fanforce::Base::Domains
|
|
40
40
|
Fanforce::Base::DomainEnvironments.method(environment).call[:plugins_base]
|
41
41
|
end
|
42
42
|
|
43
|
+
# Base email domain used for plugins (i.e., ffplugin.com) for current environment
|
44
|
+
# @return [domain]
|
45
|
+
def plugins_base_mx_domain
|
46
|
+
Fanforce::Base::DomainEnvironments.method(environment).call[:plugins_base_mx]
|
47
|
+
end
|
48
|
+
|
43
49
|
# Domain for accessing supercore-api (i.e., api.fanforce.com) for current environment
|
44
50
|
# @return [domain]
|
45
51
|
def api_domain
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fanforce-base
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.0.
|
4
|
+
version: 2.0.0.rc4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Caleb Clark
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-06-
|
11
|
+
date: 2015-06-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rack
|