fanforce-api 0.9.4 → 0.10.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/fanforce/api/ff_globals.rb +22 -63
- data/lib/fanforce/api/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
|
+
ZTY2OGRhZjBlNThkY2NjMDYwZGVhYWYyNjQ5ODQyMGZkYzFjN2ZjNw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
YzYzNGQ1ZGEzYTUwNmFlOTVmYTVjNGMzODVjODM5MGJkZjQzZmFiMw==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MWRiOTVjN2IxZjYzNGRmOGExODkxNGYwM2E5YTU2ODM3YTIxODI4OWJjZjBh
|
10
|
+
ZGE0NDIzNjUwN2ExNzQwYTczMzcwMTM2NjQ1ZDZlNjMxYzBiNDQ1ZjBhZjYz
|
11
|
+
YTJlZWM0OTUwYzkyOTUzMTYxOTJlN2QzYWUwYzhkZTdiYzQ5YWY=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NDVlNjM0MDRhMjVhNzIwYWMwNjVjODc4YTJjZDM4MjkzMmQ2NTdjNTNhYjRi
|
14
|
+
ZDZmNmFlOGVmZWViZjMyODYzNWE1MzUxMTVjYzlkNjlkZGVkMTdiMDQ4YzVi
|
15
|
+
NTYxN2FjNjdlMTZhNTBiYTRhNjdiNmFkOGQ1NTRkOTcyNTAxZTA=
|
@@ -1,73 +1,32 @@
|
|
1
1
|
if !ENV['RACK_ENV'] or ENV['RACK_ENV'] == 'development'
|
2
2
|
top_level_domain = ENV['FANFORCE_GEM_TOP_LEVEL_DOMAIN'] || 'gg'
|
3
3
|
$BASE_DOMAIN = ENV['FANFORCE_GEM_BASE_DOMAIN'] || 'fanforce.' + top_level_domain
|
4
|
-
$
|
5
|
-
$
|
6
|
-
$
|
7
|
-
$
|
8
|
-
|
9
|
-
$SMARTURL_DOMAIN = 'fanforc.' + top_level_domain
|
10
|
-
$FF_PLUGIN_DOMAIN = 'ffplugin.' + top_level_domain
|
11
|
-
$FF_APP_DOMAIN = 'ffapp.' + top_level_domain
|
12
|
-
$FF_WIDGET_DOMAIN = 'ffwidget.' + top_level_domain
|
13
|
-
|
14
|
-
$DEVS_DOMAIN = 'technical%40mobilizationlabs.com:zE27fdevelopers@developers-fanforce.dotcloud.com' # or localhost:3000'
|
15
|
-
|
16
|
-
$PUSHER_APP_ID = '23240'
|
17
|
-
$PUSHER_KEY = '029caf227a64c8e82e99'
|
18
|
-
$PUSHER_SECRET = '3169163d2e27de9a2291'
|
4
|
+
$SMARTURL_DOMAIN = 'fanforc.gg'
|
5
|
+
$FF_APP_DOMAIN = 'ffapp.gg'
|
6
|
+
$FF_PLUGIN_DOMAIN = 'ffplugin.gg'
|
7
|
+
$FF_WIDGET_DOMAIN = 'ffwidget.gg'
|
19
8
|
|
20
9
|
elsif ENV['RACK_ENV'] == 'test'
|
21
|
-
$BASE_DOMAIN
|
22
|
-
$
|
23
|
-
$
|
24
|
-
$
|
25
|
-
$
|
26
|
-
|
27
|
-
$SMARTURL_DOMAIN = 'fanforc.gg'
|
28
|
-
$FF_PLUGIN_DOMAIN = 'ffplugin.gg'
|
29
|
-
$FF_WIDGET_DOMAIN = 'ffwidget.gg'
|
30
|
-
$FF_APP_DOMAIN = 'ffapp.gg'
|
31
|
-
|
32
|
-
$DEVS_DOMAIN = 'technical%40mobilizationlabs.com:zE27fdevelopers@developers-fanforce.dotcloud.com'
|
33
|
-
|
34
|
-
$PUSHER_APP_ID = '23243'
|
35
|
-
$PUSHER_KEY = '7bcc87b3c55301f687b9'
|
36
|
-
$PUSHER_SECRET = '61c760c05430e68d7e8d'
|
10
|
+
$BASE_DOMAIN = 'fanforce.gg'
|
11
|
+
$SMARTURL_DOMAIN = 'fanforc.gg'
|
12
|
+
$FF_APP_DOMAIN = 'ffapp.gg'
|
13
|
+
$FF_PLUGIN_DOMAIN = 'ffplugin.gg'
|
14
|
+
$FF_WIDGET_DOMAIN = 'ffwidget.gg'
|
37
15
|
|
38
16
|
elsif ENV['RACK_ENV'] == 'qa'
|
39
|
-
$BASE_DOMAIN
|
40
|
-
$
|
41
|
-
$
|
42
|
-
$
|
43
|
-
$
|
44
|
-
|
45
|
-
$SMARTURL_DOMAIN = 'fanforc.us'
|
46
|
-
$FF_PLUGIN_DOMAIN = 'ffplugin.us'
|
47
|
-
$FF_APP_DOMAIN = 'ffapp.us'
|
48
|
-
$FF_WIDGET_DOMAIN = 'ffwidget.us'
|
49
|
-
|
50
|
-
$DEVS_DOMAIN = 'technical%40mobilizationlabs.com:zE27fdevelopers@developers-fanforce.dotcloud.com'
|
51
|
-
|
52
|
-
$PUSHER_APP_ID = '14778'
|
53
|
-
$PUSHER_KEY = 'b5e2e23fb9542798ef38'
|
54
|
-
$PUSHER_SECRET = '7bfba2003df078ca64e9'
|
17
|
+
$BASE_DOMAIN = 'fanforce-qa.com'
|
18
|
+
$SMARTURL_DOMAIN = 'fanforc.us'
|
19
|
+
$FF_APP_DOMAIN = 'ffapp.us'
|
20
|
+
$FF_PLUGIN_DOMAIN = 'ffplugin.us'
|
21
|
+
$FF_WIDGET_DOMAIN = 'ffwidget.us'
|
55
22
|
|
56
23
|
elsif ENV['RACK_ENV'] == 'production'
|
57
|
-
$BASE_DOMAIN
|
58
|
-
$
|
59
|
-
$
|
60
|
-
$
|
61
|
-
$
|
62
|
-
|
63
|
-
$SMARTURL_DOMAIN = 'fanforce.io'
|
64
|
-
$FF_PLUGIN_DOMAIN = 'ffplugin.io'
|
65
|
-
$FF_APP_DOMAIN = 'ffapp.io'
|
66
|
-
$FF_WIDGET_DOMAIN = 'ffwidget.io'
|
67
|
-
|
68
|
-
$DEVS_DOMAIN = 'technical%40mobilizationlabs.com:zE27fdevelopers@developers-fanforce.dotcloud.com'
|
69
|
-
|
70
|
-
$PUSHER_APP_ID = '14778'
|
71
|
-
$PUSHER_KEY = 'b5e2e23fb9542798ef38'
|
72
|
-
$PUSHER_SECRET = '7bfba2003df078ca64e9'
|
24
|
+
$BASE_DOMAIN = 'fanforce.com'
|
25
|
+
$SMARTURL_DOMAIN = 'fanforce.io'
|
26
|
+
$FF_APP_DOMAIN = 'ffapp.io'
|
27
|
+
$FF_PLUGIN_DOMAIN = 'ffplugin.io'
|
28
|
+
$FF_WIDGET_DOMAIN = 'ffwidget.io'
|
73
29
|
end
|
30
|
+
|
31
|
+
$API_DOMAIN = 'api.' + $BASE_DOMAIN
|
32
|
+
$I_DOMAIN = 'i.' + $BASE_DOMAIN
|
data/lib/fanforce/api/version.rb
CHANGED