fanforce 0.16.0 → 0.16.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NjM2Y2M3NDg1OTRkNWY1NGVjODcwZjE0NDFkMTg4YjdkNDEzYTE5OA==
4
+ NTQxZGQyNTY1NDI2ZTZiODQyZmIyODBiMGUwYTAxNjYxOWVkZjMyZA==
5
5
  data.tar.gz: !binary |-
6
- ZDYzNzlkYWQwNGY1Y2RkNTg4NWI1OTNhZjUxNmMwZDU2NjZmMzU5Mg==
6
+ YmQ1MTEwNDIxZjE1MDFjYTlkYzEzNjIwNzg1NTBiYTczZDYxYWIyZA==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- YzVkMjIzNzQ5MjcwODU4MjhmNTc2ZjVjOTVjM2E4NzkzMmE1YjMyMjgzNWVi
10
- ZTc0OWU5NmE2OTk2YTgzNzgwMzAyN2I1NjI5MDNkZDhhMmYwOWM3ODczMjA0
11
- YWQ2M2M5NDYxMmU3MWFiNzVmN2UwM2VlZWYxZjU0MjFmZDQ3NmM=
9
+ ODlhYjIyNjcxYzJiMGFhYTNkNGZmYzU4Mzc3Y2EwMTFlZDE0MGRiZDUwNDRj
10
+ M2NjMzA5MjM5Mzc4NGIzNjdiOWVmOGJhYjFjYjVkOWQ5ZWQ0NzE4NDRkZmI3
11
+ YzJlZTFjMDAxMTE5ZjFjZTZlMzc3OTMzOGZmZWExZjM3OTk2N2I=
12
12
  data.tar.gz: !binary |-
13
- MDZmYjI1YmE5OTg0MzdmYzI4MWU4MmRmM2Y4N2U2NTVhNGYxYWFjZDkyNjVi
14
- NTM1ZWEwOTgyYTA3MTNlMzlhMDAzYmM0YjkxYTIxMmNiNzYxNWU4MTBlZjVh
15
- NjQ3OWE1OGE5NDdlYzIxYzJlYzlmMWVkMTA3MGNkNjU0MTlmNzY=
13
+ NWNiZDI3NGY2ODIwYjBjMDVjMTRkN2M4MDY2MzE0N2Y1NDBkNjQxYmM2YTFl
14
+ MWQwNzlmMmQ3MGY0ZWYwOWY5YTQ2ODQ2YTgwZGRiYzlhN2FmMWJlZmY3YTg2
15
+ MGIwNmQ5ODhmNWZmMTZkODJmODliNjM1ODlkZWUwZjBmMTBlMDU=
@@ -1,66 +1,68 @@
1
1
  require_relative 'domain_environments'
2
2
 
3
- class Fanforce::Domains
3
+ module Fanforce::Domains
4
+ extend Fanforce::Utils
5
+ def self.included(base) base.extend(self) end
4
6
 
5
- def self.base_domain
7
+ def base_domain
6
8
  Fanforce::DomainEnvironments.method(ENV['RACK_ENV'] || 'development').call[:base]
7
9
  end
8
10
 
9
- def self.default_short_domain
11
+ def default_short_domain
10
12
  Fanforce::DomainEnvironments.method(ENV['RACK_ENV'] || 'development').call[:default_short_domain]
11
13
  end
12
14
 
13
- def self.apps_base_domain
15
+ def apps_base_domain
14
16
  Fanforce::DomainEnvironments.method(ENV['RACK_ENV'] || 'development').call[:apps_base]
15
17
  end
16
18
 
17
- def self.plugins_base_domain
19
+ def plugins_base_domain
18
20
  Fanforce::DomainEnvironments.method(ENV['RACK_ENV'] || 'development').call[:plugins_base]
19
21
  end
20
22
 
21
- def self.widgets_base_domain
23
+ def widgets_base_domain
22
24
  Fanforce::DomainEnvironments.method(ENV['RACK_ENV'] || 'development').call[:widgets_base]
23
25
  end
24
26
 
25
- def self.api_domain
27
+ def api_domain
26
28
  'api.' + base_domain
27
29
  end
28
30
 
29
- def self.eye_domain
31
+ def eye_domain
30
32
  'i.' + base_domain
31
33
  end
32
34
 
33
- def self.assets_domain
35
+ def assets_domain
34
36
  'assets.' + base_domain
35
37
  end
36
38
 
37
- def self.controller_domain
39
+ def controller_domain
38
40
  'controller.' + base_domain
39
41
  end
40
42
 
41
- def self.addon_management_url
43
+ def addon_management_url
42
44
  controller_domain + '/db'
43
45
  end
44
46
 
45
- def self.website_domain
47
+ def website_domain
46
48
  'www.' + base_domain
47
49
  end
48
50
 
49
- def self.developers_domain
51
+ def developers_domain
50
52
  'developers.' + base_domain
51
53
  end
52
54
 
53
55
  # these should be moved to edition
54
56
 
55
- def self.app_domain
57
+ def app_domain
56
58
  'app.' + base_domain
57
59
  end
58
60
 
59
- def self.signup_domain
61
+ def signup_domain
60
62
  'signup.' + base_domain
61
63
  end
62
64
 
63
- def self.marketplace_domain
65
+ def marketplace_domain
64
66
  'marketplace.' + base_domain
65
67
  end
66
68
 
@@ -1,3 +1,3 @@
1
1
  class Fanforce
2
- VERSION = '0.16.0'
2
+ VERSION = '0.16.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fanforce
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.16.0
4
+ version: 0.16.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Caleb Clark