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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NjUwNjBkNTE5Yjc3MTJhNGQ2MmU1MTBmZTQ2MDM3NzE2MGM1MjJlYw==
4
+ OTcyODU0NzE0MjQxODdjNjcyMGZmOWY4NjIxZmI3MjcyYmIxYmFlNw==
5
5
  data.tar.gz: !binary |-
6
- ZmM2ZGEwNzE2NDg1ZGYxZmY5ODM3YzU2ZGM3NWIwY2E1ZmFhNWI3Mw==
6
+ NzY2YmQ4YTFhMWY1N2ZmZjQ5ZDY3NjMyYzY0YmUwNTYyOTg2OGZjYg==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- ZDZhYzBhOTlhZTdkYjMxMGJhODEyYzhjN2RlMDYwMWUxOGM4OTRlZDM0MWNl
10
- MzIwNzY4MzRlYmEyMTI0ZjNkNDIwOTAwMDZjMWQ1NjIwNDI4OTBiZjkzZjVl
11
- NmMyMWYxOTExMjE5MGM5YWUyZjljNWI3NDI1N2EyOTVlN2FkZWM=
9
+ MWY1ZGY2YWM4N2FhN2Q1YjY2ZTQ5M2Q1NTVjMTk0ZDY3NmI3NGIwZWZmMjgz
10
+ ODJiMDM4YTRhOTRkMmViMDZlN2I4YzkwNzJiYzkxOTRiZjEwMDQzNTMzOTlm
11
+ NjM3ZDEzNmVkMjEzNTNhNzE1ODlmYmVhNDhjZWQyZGUzZjc3OGQ=
12
12
  data.tar.gz: !binary |-
13
- ZjllYzZhYmIwYjhhYjU5Mjc4Y2M3OGViY2UzODUyY2Y0MGEyOWZlOTQyZDBj
14
- NjRiZTUwMmU1OGUxOTJiNmJlOTQ4NmI5OTU3OTk4MGU4MDA0YWQ2YTcwMGU5
15
- M2Q2OGZmNDExM2IyOGNkNWI0ZmJhNjkxNmFiZmI5MWU0YmIwYWM=
13
+ MTRmZjlhMmNjNmIzYjhmZGYzYzUwOTc2MjBjYzhiMDA1NzIzZjJkNDJiYmIx
14
+ MzhlMTdhNjk2YzBkMTdkMGRmMmIxMmY2ODkyYjJjYWUyNDNkYTIyZTNlNDgw
15
+ MWNkYmJjYzIxYjA0YWQ4NjcxZDU5NDE0YWEwNTk2ODUyZWU4NjY=
@@ -1,12 +1,11 @@
1
1
  class Fanforce
2
2
 
3
- if ENV['RACK_ENV'] == 'development'
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'
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
- 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'
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
@@ -1,3 +1,3 @@
1
1
  class Fanforce
2
- VERSION = '0.11.1'
2
+ VERSION = '0.11.2'
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.11.1
4
+ version: 0.11.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Caleb Clark