fanforce 0.11.1 → 0.11.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/fanforce/domains.rb +13 -12
- data/lib/fanforce/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
OTcyODU0NzE0MjQxODdjNjcyMGZmOWY4NjIxZmI3MjcyYmIxYmFlNw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NzY2YmQ4YTFhMWY1N2ZmZjQ5ZDY3NjMyYzY0YmUwNTYyOTg2OGZjYg==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MWY1ZGY2YWM4N2FhN2Q1YjY2ZTQ5M2Q1NTVjMTk0ZDY3NmI3NGIwZWZmMjgz
|
10
|
+
ODJiMDM4YTRhOTRkMmViMDZlN2I4YzkwNzJiYzkxOTRiZjEwMDQzNTMzOTlm
|
11
|
+
NjM3ZDEzNmVkMjEzNTNhNzE1ODlmYmVhNDhjZWQyZGUzZjc3OGQ=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MTRmZjlhMmNjNmIzYjhmZGYzYzUwOTc2MjBjYzhiMDA1NzIzZjJkNDJiYmIx
|
14
|
+
MzhlMTdhNjk2YzBkMTdkMGRmMmIxMmY2ODkyYjJjYWUyNDNkYTIyZTNlNDgw
|
15
|
+
MWNkYmJjYzIxYjA0YWQ4NjcxZDU5NDE0YWEwNTk2ODUyZWU4NjY=
|
data/lib/fanforce/domains.rb
CHANGED
@@ -1,12 +1,11 @@
|
|
1
1
|
class Fanforce
|
2
2
|
|
3
|
-
if ENV['RACK_ENV'] == '
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
WIDGETS_BASE_DOMAIN = 'ffwidget.gg'
|
3
|
+
if ENV['RACK_ENV'] == 'production'
|
4
|
+
BASE_DOMAIN = 'fanforce.com'
|
5
|
+
DEFAULT_SMARTURL_DOMAIN = 'fanforce.io'
|
6
|
+
APPS_BASE_DOMAIN = 'ffapp.io'
|
7
|
+
PLUGINS_BASE_DOMAIN = 'ffplugin.io'
|
8
|
+
WIDGETS_BASE_DOMAIN = 'ffwidget.io'
|
10
9
|
|
11
10
|
elsif ENV['RACK_ENV'] == 'test'
|
12
11
|
BASE_DOMAIN = 'fanforce.gg'
|
@@ -23,11 +22,13 @@ class Fanforce
|
|
23
22
|
WIDGETS_BASE_DOMAIN = 'ffwidget.us'
|
24
23
|
|
25
24
|
else
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
25
|
+
TOP_LEVEL_DOMAIN = ENV['FANFORCE_GEM_TOP_LEVEL_DOMAIN'] || 'gg'
|
26
|
+
BASE_DOMAIN = ENV['FANFORCE_GEM_BASE_DOMAIN'] || 'fanforce.' + TOP_LEVEL_DOMAIN
|
27
|
+
DEFAULT_SMARTURL_DOMAIN = 'fanforc.gg'
|
28
|
+
APPS_BASE_DOMAIN = 'ffapp.gg'
|
29
|
+
PLUGINS_BASE_DOMAIN = 'ffplugin.gg'
|
30
|
+
WIDGETS_BASE_DOMAIN = 'ffwidget.gg'
|
31
|
+
|
31
32
|
end
|
32
33
|
|
33
34
|
API_DOMAIN = 'api.' + BASE_DOMAIN
|
data/lib/fanforce/version.rb
CHANGED