fanforce 0.10.0 → 0.11.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/domains.rb +21 -21
- data/lib/fanforce/version.rb +1 -1
- data/lib/fanforce.rb +2 -0
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
YWE1MzM2MWMyMjE2YTUwNTBiMTlmOWRjN2FmMTEyNWQ0MTk2MmU1Nw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
YzZlYjNiNTg0Y2VlNTZmMzQ1NmQ3MjcyZDJjOTlhOWRmZGFhYmRjOQ==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZDlhNDkxYTYzZWFhYzJlYWM5ZTFhYmQ5NzFiYTNhNmI1NDFkYzIwM2E1ZWZh
|
10
|
+
M2Q2OGIyNzFiMGViZTQ3OTljODA2NmFlYTdlMzk1YzJkYzEzOTZiNmU0NDBm
|
11
|
+
ZjhjYmJlOWI1MzYxYWM2MmViOWViMWU2NWU5YjI5NTE5ZDQwOWM=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ZmM0N2YxNzU2Yjc3NmU2YTc5MDQ0Yjc2YTRkZDMyZmQ0NGFmZWFjYTlmNzI0
|
14
|
+
NDNlOGZjMjhmNDZhYzIyYjFmNTE0NWFjNjVlNGU2NDUzOTU5ZGUwZWU2OWRm
|
15
|
+
ZTlkNGRkZTc0MWJhZGQyYzJmYjJiMGU0ODNlZGMwODYzOWZiY2M=
|
data/lib/fanforce/domains.rb
CHANGED
@@ -1,33 +1,33 @@
|
|
1
1
|
module Fanforce
|
2
2
|
|
3
3
|
if ENV['RACK_ENV'] == 'development'
|
4
|
-
TOP_LEVEL_DOMAIN
|
5
|
-
BASE_DOMAIN
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
4
|
+
TOP_LEVEL_DOMAIN = ENV['FANFORCE_GEM_TOP_LEVEL_DOMAIN'] || 'gg'
|
5
|
+
BASE_DOMAIN = ENV['FANFORCE_GEM_BASE_DOMAIN'] || 'fanforce.' + TOP_LEVEL_DOMAIN
|
6
|
+
DEFAULT_SMARTURL_DOMAIN = 'fanforc.gg'
|
7
|
+
APPS_BASE_DOMAIN = 'ffapp.gg'
|
8
|
+
PLUGINS_BASE_DOMAIN = 'ffplugin.gg'
|
9
|
+
WIDGETS_BASE_DOMAIN = 'ffwidget.gg'
|
10
10
|
|
11
11
|
elsif ENV['RACK_ENV'] == 'test'
|
12
|
-
BASE_DOMAIN
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
12
|
+
BASE_DOMAIN = 'fanforce.gg'
|
13
|
+
DEFAULT_SMARTURL_DOMAIN = 'fanforc.gg'
|
14
|
+
APPS_BASE_DOMAIN = 'ffapp.gg'
|
15
|
+
PLUGINS_BASE_DOMAIN = 'ffplugin.gg'
|
16
|
+
WIDGETS_BASE_DOMAIN = 'ffwidget.gg'
|
17
17
|
|
18
18
|
elsif ENV['RACK_ENV'] == 'staging'
|
19
|
-
BASE_DOMAIN
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
19
|
+
BASE_DOMAIN = 'fanforce-staging.com'
|
20
|
+
DEFAULT_SMARTURL_DOMAIN = 'fanforc.us'
|
21
|
+
APPS_BASE_DOMAIN = 'ffapp.us'
|
22
|
+
PLUGINS_BASE_DOMAIN = 'ffplugin.us'
|
23
|
+
WIDGETS_BASE_DOMAIN = 'ffwidget.us'
|
24
24
|
|
25
25
|
else
|
26
|
-
BASE_DOMAIN
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
26
|
+
BASE_DOMAIN = 'fanforce.com'
|
27
|
+
DEFAULT_SMARTURL_DOMAIN = 'fanforce.io'
|
28
|
+
APPS_BASE_DOMAIN = 'ffapp.io'
|
29
|
+
PLUGINS_BASE_DOMAIN = 'ffplugin.io'
|
30
|
+
WIDGETS_BASE_DOMAIN = 'ffwidget.io'
|
31
31
|
end
|
32
32
|
|
33
33
|
API_DOMAIN = 'api.' + BASE_DOMAIN
|
data/lib/fanforce/version.rb
CHANGED
data/lib/fanforce.rb
ADDED
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
|
+
version: 0.11.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Caleb Clark
|
@@ -23,6 +23,7 @@ files:
|
|
23
23
|
- README.md
|
24
24
|
- Rakefile
|
25
25
|
- fanforce.gemspec
|
26
|
+
- lib/fanforce.rb
|
26
27
|
- lib/fanforce/domains.rb
|
27
28
|
- lib/fanforce/version.rb
|
28
29
|
homepage: http://github.com/fanforce/fanforce
|