fanforce 0.19.0 → 0.20.0

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: 28c2b519871a88609f8bb761d63b44f5a2ed007e
4
- data.tar.gz: c0e2afa41afc07f373abf26d8c1c6c9b5be27483
3
+ metadata.gz: 8feda290205056cc8deb63ae2c9bd4e5c6740597
4
+ data.tar.gz: 0dcf8b48b2a78856d0b96fffeb5587dfebc8a013
5
5
  SHA512:
6
- metadata.gz: 91876b049ae41fc09fb96fc80446d1d5aff9f48b4d78e198745d7e2bbad6f7422bdc56ccb65fb186c14c4ad704ba2e7c859f267ab6618e3ffce047fedb04aaf1
7
- data.tar.gz: bf297eb5dfa0079c28c711073fc8a056b60724cd730eccfa95684b78dfb3373e2f88ffad0bc1cb94b8bb9898437556d2f6630d37365a2bf3c796be9a64116f27
6
+ metadata.gz: 1020ea56d670ca4df787a6657b7fdafd7bea7db3cce202ece5b2f065f26719e49d0aa317623c24b07fcde10a42b8bb6c923ceb7bfe93040c3e5e44511d625f87
7
+ data.tar.gz: cccc2973a91e9b38482b1c63df6a07362fe9a52e86109ba5c8de3c8a13e1e2bef6a8dfbda12ae2fcf3c4e842e6ee3783915036bfe6f48ee76de846bf2242a88f
@@ -6,8 +6,6 @@ module Fanforce::DomainEnvironments
6
6
  :base => ENV['FANFORCE_GEM_BASE_DOMAIN'] || "fanforce.#{base_domain}",
7
7
  :default_short_domain => ENV['FANFORCE_GEM_DEFAULT_SHORT_DOMAIN'] || "fanforc.#{base_domain}",
8
8
  :apps_base => ENV['FANFORCE_GEM_APPS_BASE_DOMAIN'] || "ffapp.#{base_domain}",
9
- :plugins_base => ENV['FANFORCE_GEM_PLUGINS_BASE_DOMAIN'] || "ffplugin.#{base_domain}",
10
- :widgets_base => ENV['FANFORCE_GEM_WIDGETS_BASE_DOMAIN'] || "ffwidget.#{base_domain}"
11
9
  }
12
10
  end
13
11
 
@@ -16,8 +14,6 @@ module Fanforce::DomainEnvironments
16
14
  :base => 'fanforce.gg',
17
15
  :default_short_domain => 'fanforc.gg',
18
16
  :apps_base => 'ffapp.gg',
19
- :plugins_base => 'ffplugin.gg',
20
- :widgets_base => 'ffwidget.gg'
21
17
  }
22
18
  end
23
19
 
@@ -26,8 +22,6 @@ module Fanforce::DomainEnvironments
26
22
  :base => 'fanforce-staging.com',
27
23
  :default_short_domain => 'fanforc.us',
28
24
  :apps_base => 'ffapp.us',
29
- :plugins_base => 'ffplugin.us',
30
- :widgets_base => 'ffwidget.us'
31
25
  }
32
26
  end
33
27
 
@@ -36,8 +30,6 @@ module Fanforce::DomainEnvironments
36
30
  :base => 'fanforce.com',
37
31
  :default_short_domain => 'fanforce.io',
38
32
  :apps_base => 'ffapp.io',
39
- :plugins_base => 'ffplugin.io',
40
- :widgets_base => 'ffwidget.io'
41
33
  }
42
34
  end
43
35
 
@@ -2,7 +2,7 @@ require_relative 'domain_environments'
2
2
 
3
3
  module Fanforce::Domains
4
4
  extend Fanforce::Domains
5
- def self.included(base) base.extend(self) end
5
+ def self.included(base) base.extend(self) end
6
6
 
7
7
  def environment
8
8
  ENV['RACK_ENV'] || 'development'
@@ -10,12 +10,12 @@ module Fanforce::Domains
10
10
 
11
11
  def environ
12
12
  case environment
13
- when 'production' then :Prd
14
- when 'staging' then :Stg
15
- when 'test' then :Test
16
- when 'development' then :Dev
13
+ when 'production' then :Prd
14
+ when 'staging' then :Stg
15
+ when 'test' then :Test
16
+ when 'development' then :Dev
17
+ end
17
18
  end
18
- end
19
19
 
20
20
  def base_domain
21
21
  Fanforce::DomainEnvironments.method(environment).call[:base]
@@ -29,12 +29,8 @@ end
29
29
  Fanforce::DomainEnvironments.method(environment).call[:apps_base]
30
30
  end
31
31
 
32
- def plugins_base_domain
33
- Fanforce::DomainEnvironments.method(environment).call[:plugins_base]
34
- end
35
-
36
- def widgets_base_domain
37
- Fanforce::DomainEnvironments.method(environment).call[:widgets_base]
32
+ def components_base_domain
33
+ Fanforce::DomainEnvironments.method(environment).call[:components_base]
38
34
  end
39
35
 
40
36
  def api_domain
@@ -65,10 +61,6 @@ end
65
61
  'uranium.' + base_domain
66
62
  end
67
63
 
68
- def addon_management_url
69
- controller_domain + '/db'
70
- end
71
-
72
64
  def website_domain
73
65
  'www.' + base_domain
74
66
  end
File without changes
@@ -1,3 +1,3 @@
1
1
  class Fanforce
2
- VERSION = '0.19.0'
2
+ VERSION = '0.20.0'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fanforce
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.19.0
4
+ version: 0.20.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Caleb Clark
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-08-10 00:00:00.000000000 Z
11
+ date: 2014-09-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rack