fanforce 0.4.1 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +1 -0
- data/lib/fanforce/version.rb +1 -1
- data/lib/ff_globals.rb +32 -32
- metadata +1 -2
- data/Gemfile.lock +0 -27
data/.gitignore
CHANGED
data/lib/fanforce/version.rb
CHANGED
data/lib/ff_globals.rb
CHANGED
@@ -1,72 +1,72 @@
|
|
1
1
|
if !ENV['RACK_ENV'] or ENV['RACK_ENV'] == 'development'
|
2
|
-
$BASE_DOMAIN
|
3
|
-
$APP_DOMAIN
|
4
|
-
$API_DOMAIN
|
5
|
-
$I_DOMAIN
|
2
|
+
$BASE_DOMAIN = ENV['FANFORCE_GEM_BASE_DOMAIN'] || 'fanforce.gg'
|
3
|
+
$APP_DOMAIN = ENV['FANFORCE_GEM_APP_DOMAIN'] || 'app.' + $BASE_DOMAIN
|
4
|
+
$API_DOMAIN = ENV['FANFORCE_GEM_API_DOMAIN'] || 'api.' + $BASE_DOMAIN
|
5
|
+
$I_DOMAIN = ENV['FANFORCE_GEM_I_DOMAIN'] || 'i.' + $BASE_DOMAIN
|
6
6
|
$WEBSITE_DOMAIN = $BASE_DOMAIN
|
7
7
|
|
8
|
-
$SMARTURL_DOMAIN
|
9
|
-
$FF_PLUGIN_DOMAIN = '
|
10
|
-
$FF_APP_DOMAIN
|
8
|
+
$SMARTURL_DOMAIN = 'fanforc.gg'
|
9
|
+
$FF_PLUGIN_DOMAIN = 'ffplugin.gg'
|
10
|
+
$FF_APP_DOMAIN = 'ffapp.gg'
|
11
11
|
$FF_WIDGET_DOMAIN = 'ffwidget.gg'
|
12
12
|
|
13
13
|
$DEVS_DOMAIN = 'technical%40mobilizationlabs.com:zE27fdevelopers@developers-fanforce.dotcloud.com' # or localhost:3000'
|
14
14
|
|
15
15
|
$PUSHER_APP_ID = '23240'
|
16
|
-
$PUSHER_KEY
|
16
|
+
$PUSHER_KEY = '029caf227a64c8e82e99'
|
17
17
|
$PUSHER_SECRET = '3169163d2e27de9a2291'
|
18
18
|
|
19
19
|
elsif ENV['RACK_ENV'] == 'test'
|
20
|
-
$BASE_DOMAIN
|
21
|
-
$APP_DOMAIN
|
22
|
-
$API_DOMAIN
|
23
|
-
$I_DOMAIN
|
20
|
+
$BASE_DOMAIN = ENV['FANFORCE_GEM_BASE_DOMAIN'] || 'fanforce.gg'
|
21
|
+
$APP_DOMAIN = ENV['FANFORCE_GEM_APP_DOMAIN'] || 'app.' + $BASE_DOMAIN
|
22
|
+
$API_DOMAIN = ENV['FANFORCE_GEM_API_DOMAIN'] || 'api.' + $BASE_DOMAIN
|
23
|
+
$I_DOMAIN = ENV['FANFORCE_GEM_I_DOMAIN'] || 'i.' + $BASE_DOMAIN
|
24
24
|
$WEBSITE_DOMAIN = $BASE_DOMAIN
|
25
25
|
|
26
|
-
$SMARTURL_DOMAIN
|
27
|
-
$FF_PLUGIN_DOMAIN = '
|
26
|
+
$SMARTURL_DOMAIN = 'fanforc.gg'
|
27
|
+
$FF_PLUGIN_DOMAIN = 'ffplugin.gg'
|
28
28
|
$FF_WIDGET_DOMAIN = 'ffwidget.gg'
|
29
|
-
$FF_APP_DOMAIN
|
29
|
+
$FF_APP_DOMAIN = 'ffapp.gg'
|
30
30
|
|
31
31
|
$DEVS_DOMAIN = 'technical%40mobilizationlabs.com:zE27fdevelopers@developers-fanforce.dotcloud.com'
|
32
32
|
|
33
33
|
$PUSHER_APP_ID = '23243'
|
34
|
-
$PUSHER_KEY
|
34
|
+
$PUSHER_KEY = '7bcc87b3c55301f687b9'
|
35
35
|
$PUSHER_SECRET = '61c760c05430e68d7e8d'
|
36
36
|
|
37
37
|
elsif ENV['RACK_ENV'] == 'qa'
|
38
|
-
$BASE_DOMAIN
|
39
|
-
$APP_DOMAIN
|
40
|
-
$API_DOMAIN
|
41
|
-
$I_DOMAIN
|
38
|
+
$BASE_DOMAIN = ENV['FANFORCE_GEM_BASE_DOMAIN'] || 'fanforce-qa.com'
|
39
|
+
$APP_DOMAIN = ENV['FANFORCE_GEM_APP_DOMAIN'] || 'app.' + $BASE_DOMAIN
|
40
|
+
$API_DOMAIN = ENV['FANFORCE_GEM_API_DOMAIN'] || 'api.' + $BASE_DOMAIN
|
41
|
+
$I_DOMAIN = ENV['FANFORCE_GEM_I_DOMAIN'] || 'i.' + $BASE_DOMAIN
|
42
42
|
$WEBSITE_DOMAIN = $BASE_DOMAIN
|
43
43
|
|
44
|
-
$SMARTURL_DOMAIN
|
45
|
-
$FF_PLUGIN_DOMAIN = '
|
46
|
-
$FF_APP_DOMAIN
|
44
|
+
$SMARTURL_DOMAIN = 'fanforc.us'
|
45
|
+
$FF_PLUGIN_DOMAIN = 'ffplugin.us'
|
46
|
+
$FF_APP_DOMAIN = 'ffapp.us'
|
47
47
|
$FF_WIDGET_DOMAIN = 'ffwidget.us'
|
48
48
|
|
49
49
|
$DEVS_DOMAIN = 'technical%40mobilizationlabs.com:zE27fdevelopers@developers-fanforce.dotcloud.com'
|
50
50
|
|
51
51
|
$PUSHER_APP_ID = '14778'
|
52
|
-
$PUSHER_KEY
|
52
|
+
$PUSHER_KEY = 'b5e2e23fb9542798ef38'
|
53
53
|
$PUSHER_SECRET = '7bfba2003df078ca64e9'
|
54
54
|
|
55
55
|
elsif ENV['RACK_ENV'] == 'production'
|
56
|
-
$BASE_DOMAIN
|
57
|
-
$APP_DOMAIN
|
58
|
-
$API_DOMAIN
|
59
|
-
$I_DOMAIN
|
56
|
+
$BASE_DOMAIN = ENV['FANFORCE_GEM_BASE_DOMAIN'] || 'fanforce.com'
|
57
|
+
$APP_DOMAIN = ENV['FANFORCE_GEM_APP_DOMAIN'] || 'app.' + $BASE_DOMAIN
|
58
|
+
$API_DOMAIN = ENV['FANFORCE_GEM_API_DOMAIN'] || 'api.' + $BASE_DOMAIN
|
59
|
+
$I_DOMAIN = ENV['FANFORCE_GEM_I_DOMAIN'] || 'i.' + $BASE_DOMAIN
|
60
60
|
$WEBSITE_DOMAIN = $BASE_DOMAIN
|
61
61
|
|
62
|
-
$SMARTURL_DOMAIN
|
63
|
-
$FF_PLUGIN_DOMAIN = '
|
64
|
-
$FF_APP_DOMAIN
|
62
|
+
$SMARTURL_DOMAIN = 'fanforce.io'
|
63
|
+
$FF_PLUGIN_DOMAIN = 'ffplugin.io'
|
64
|
+
$FF_APP_DOMAIN = 'ffapp.io'
|
65
65
|
$FF_WIDGET_DOMAIN = 'ffwidget.io'
|
66
66
|
|
67
67
|
$DEVS_DOMAIN = 'technical%40mobilizationlabs.com:zE27fdevelopers@developers-fanforce.dotcloud.com'
|
68
68
|
|
69
69
|
$PUSHER_APP_ID = '14778'
|
70
|
-
$PUSHER_KEY
|
70
|
+
$PUSHER_KEY = 'b5e2e23fb9542798ef38'
|
71
71
|
$PUSHER_SECRET = '7bfba2003df078ca64e9'
|
72
72
|
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.4.
|
4
|
+
version: 0.4.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -86,7 +86,6 @@ files:
|
|
86
86
|
- .rbenv-gemsets
|
87
87
|
- .rbenv-version
|
88
88
|
- Gemfile
|
89
|
-
- Gemfile.lock
|
90
89
|
- LICENSE.md
|
91
90
|
- README.md
|
92
91
|
- Rakefile
|
data/Gemfile.lock
DELETED
@@ -1,27 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: .
|
3
|
-
specs:
|
4
|
-
fanforce (0.3.19)
|
5
|
-
multi_json (~> 1.3.6)
|
6
|
-
rack (> 1.0)
|
7
|
-
rest-client (~> 1.6.7)
|
8
|
-
|
9
|
-
GEM
|
10
|
-
remote: http://rubygems.org/
|
11
|
-
specs:
|
12
|
-
mime-types (1.19)
|
13
|
-
multi_json (1.3.6)
|
14
|
-
rack (1.4.1)
|
15
|
-
rake (0.9.2.2)
|
16
|
-
rest-client (1.6.7)
|
17
|
-
mime-types (>= 1.16)
|
18
|
-
|
19
|
-
PLATFORMS
|
20
|
-
ruby
|
21
|
-
|
22
|
-
DEPENDENCIES
|
23
|
-
fanforce!
|
24
|
-
multi_json (~> 1.3.6)
|
25
|
-
rack (> 1.0)
|
26
|
-
rake
|
27
|
-
rest-client (~> 1.6.7)
|