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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d60c1978f3eb770a4eb66d5285fca642dcdb2350
4
- data.tar.gz: bf63651f334be66021fd4abb502777bb83f05cd6
3
+ metadata.gz: 281bd048cd7c749f9fc71433ab05303664b8a0fe
4
+ data.tar.gz: c6b078a41a4b21ac964f7c0aa53680a9563d5708
5
5
  SHA512:
6
- metadata.gz: df1233309b35b236309e1e51632dc268956f4ad783325b235e5a38b4c67a8f70f020756c35d0bc5db9a4e990858db8c07c603cbfd3f090225e6353f52ed72748
7
- data.tar.gz: e25ed21ae5ea5f8377d69954ac97c67a3c2ee9d8440146882dff6e594da730d9bd2fbf454458f6fd2f9bbdf90f7ee8c29bf3f1d9c90085e306be9415218ae53f
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'] || "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}",
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
@@ -1,5 +1,5 @@
1
1
  class Fanforce
2
2
  class Base
3
- VERSION = '2.0.0.rc3'
3
+ VERSION = '2.0.0.rc4'
4
4
  end
5
5
  end
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.rc3
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-17 00:00:00.000000000 Z
11
+ date: 2015-06-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rack