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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- YThhNWRiNmFkOTY5OGNlMmQyODNiNjlkMDA1Y2Q1MDA5YzE2Y2FmYg==
4
+ YWE1MzM2MWMyMjE2YTUwNTBiMTlmOWRjN2FmMTEyNWQ0MTk2MmU1Nw==
5
5
  data.tar.gz: !binary |-
6
- MDBjMGI3M2U1MDViZTkzZDI4NThmMTAxYmJlZmEyYWFiYjFmZTdlNg==
6
+ YzZlYjNiNTg0Y2VlNTZmMzQ1NmQ3MjcyZDJjOTlhOWRmZGFhYmRjOQ==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- OWI2ODJhMmViY2I4OWUzNmZjZDI5NDQ4NWQxNmQ4NDQ4ZTdmNjYzYWFkNGVk
10
- ZDdkYjM4ODIxZWZlOGVlOTgyNDQxZWVlN2E5ZDliODJmM2QyZGI2ZTkxMjIw
11
- MjMyYjZlNTZjYTg4YzNmZDk2YmZiY2U0NTM3NTE5MWJjMDQ0OTc=
9
+ ZDlhNDkxYTYzZWFhYzJlYWM5ZTFhYmQ5NzFiYTNhNmI1NDFkYzIwM2E1ZWZh
10
+ M2Q2OGIyNzFiMGViZTQ3OTljODA2NmFlYTdlMzk1YzJkYzEzOTZiNmU0NDBm
11
+ ZjhjYmJlOWI1MzYxYWM2MmViOWViMWU2NWU5YjI5NTE5ZDQwOWM=
12
12
  data.tar.gz: !binary |-
13
- MDA0YmM4N2U4ZTg1YTEyNjk2MGM4M2VjMWQwNWQ2MmQ5NGMyMmJiYjhhM2I3
14
- MjEwOGZiOGE4NjE1Y2I0NmFiZjNjNTg0NWUxZmE3MzAyNjM0NWM0NGQ1N2I5
15
- Y2U5NzZkNmUzODYwODkyODc1Yzk1MTQ2OWEzZDE2NWY2Y2RmMjE=
13
+ ZmM0N2YxNzU2Yjc3NmU2YTc5MDQ0Yjc2YTRkZDMyZmQ0NGFmZWFjYTlmNzI0
14
+ NDNlOGZjMjhmNDZhYzIyYjFmNTE0NWFjNjVlNGU2NDUzOTU5ZGUwZWU2OWRm
15
+ ZTlkNGRkZTc0MWJhZGQyYzJmYjJiMGU0ODNlZGMwODYzOWZiY2M=
@@ -1,33 +1,33 @@
1
1
  module Fanforce
2
2
 
3
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
- SMARTURL_DOMAIN = 'fanforc.gg'
7
- FF_APP_DOMAIN = 'ffapp.gg'
8
- FF_PLUGIN_DOMAIN = 'ffplugin.gg'
9
- FF_WIDGET_DOMAIN = 'ffwidget.gg'
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 = 'fanforce.gg'
13
- SMARTURL_DOMAIN = 'fanforc.gg'
14
- FF_APP_DOMAIN = 'ffapp.gg'
15
- FF_PLUGIN_DOMAIN = 'ffplugin.gg'
16
- FF_WIDGET_DOMAIN = 'ffwidget.gg'
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 = 'fanforce-staging.com'
20
- SMARTURL_DOMAIN = 'fanforc.us'
21
- FF_APP_DOMAIN = 'ffapp.us'
22
- FF_PLUGIN_DOMAIN = 'ffplugin.us'
23
- FF_WIDGET_DOMAIN = 'ffwidget.us'
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 = 'fanforce.com'
27
- SMARTURL_DOMAIN = 'fanforce.io'
28
- FF_APP_DOMAIN = 'ffapp.io'
29
- FF_PLUGIN_DOMAIN = 'ffplugin.io'
30
- FF_WIDGET_DOMAIN = 'ffwidget.io'
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
@@ -1,3 +1,3 @@
1
1
  class Fanforce
2
- VERSION = '0.10.0'
2
+ VERSION = '0.11.0'
3
3
  end
data/lib/fanforce.rb ADDED
@@ -0,0 +1,2 @@
1
+ require_relative 'fanforce/domains'
2
+ require_relative 'fanforce/version'
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.10.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