caboose-cms 0.4.69 → 0.4.70

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
- NmJhNDdjYTY3OGQyMDgxZGE0NjE1ZGNjOGMxNzNkNTlkYzE1ZDQ5OA==
4
+ MWNmYmU1YjA5ZTM3NmQxM2NlYTdkNzY3ZGU3MWE5NzVlMzFmNGQ5NA==
5
5
  data.tar.gz: !binary |-
6
- YmFlY2YzMjRjMGY5ZDE2MzQzNzU1MWYxOThmMzQ3ZmE3NWQ2OWRmNg==
6
+ NWFkODM1YzM4ZGM3ZmVkZjdjNmYzZTAxMTFiM2NkOWM3NmM2N2NlNA==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- YjQxY2JiNTM5N2FhZWQ5NDY3NWE5YWYzZjMwZGE2YWJiNDBhMTBjZDk1YTY4
10
- MDJmZDRmNDY1ZGFlMTRjZWNkNTA3OTY2ZmE2OTUwMGExMTdiYTQyZTEyYjBi
11
- MTkwOWQ5ZTQyOTI1YWVkZDhkZDI4NzhiYjMwYTg2OWJhZDc5YmE=
9
+ OWYzN2I1MTk3NmIwNzZkZjkzNDJhMWEwNDUyNGI5OWU5NDEzYmRhMjcyZGRh
10
+ YjMxYTBjZWRiNWY2ZDY1MGQ5Y2MwZDVlMTUzZjI4ZDFlMWExNzdiNGUwMzE5
11
+ OTI3ZGIxYzA3N2E3OGVlNTNiMWYwYjIyMWQ1MDk2NDU2NjA2NTQ=
12
12
  data.tar.gz: !binary |-
13
- Y2Q3YTc4NWUxNmM1MDQyM2FiNTdiZmQ3YTYzZTgwZTNmYWNhNGM1OGI5NjQx
14
- NjU3Y2MxY2U0MDAzMmE1MTA0ZmJlOGE2OGMzOTM5MDcwNDk0MmIwNTk1Mzdk
15
- Yzg3Yzg1NTY5MzdiMzQ1NTdlMGQ4NDdjNDdjYTE2YmQxNzFhMTI=
13
+ OWRhZDkyZDY4OTRhMzk0YzY2ZGUzNjcxMjU3NmEyMTczNTBjY2Y2ODQ1OGFm
14
+ YjJiMWU4ZGIwOWNlYTBjNTQzYzNlNzQ1YTIyNDViZGQ1NTUzZDE1ZTliNmFk
15
+ MGZlMmI1YjY4MjI1YTBiYTg1MzA1NzJjYzI0NWMwYTQ4YmZhMjQ=
@@ -12,6 +12,10 @@ module Caboose
12
12
  # Modify the built-in params array with URL params if necessary
13
13
  parse_url_params if Caboose.use_url_params
14
14
 
15
+ # Get the site we're working with
16
+ domain = Domain.where(request.host_with_port).first
17
+ @site = domain ? domain.site : nil
18
+
15
19
  # Make sure someone is logged in
16
20
  if !logged_in?
17
21
  elo = User.find(User::LOGGED_OUT_USER_ID)
@@ -21,7 +25,7 @@ module Caboose
21
25
  session['use_redirect_urls'] = true if session['use_redirect_urls'].nil?
22
26
 
23
27
  # Initialize AB Testing
24
- AbTesting.init(request.session_options[:id]) if Caboose.use_ab_testing
28
+ AbTesting.init(request.session_options[:id]) if Caboose.use_ab_testing
25
29
 
26
30
  # Try to find the page
27
31
  @page = Page.new
@@ -172,6 +172,7 @@ module Caboose
172
172
  'caboose/fonts/big_noodle_titling_oblique.ttf',
173
173
  'caboose/fonts/big_noodle_titling.ttf',
174
174
  'caboose/fonts.css',
175
+ 'caboose/icomoon_fonts.css',
175
176
  'caboose/login.css',
176
177
  'caboose/modal.css',
177
178
  'caboose/page_bar_generator.css',
@@ -1,3 +1,3 @@
1
1
  module Caboose
2
- VERSION = '0.4.69'
2
+ VERSION = '0.4.70'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: caboose-cms
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.69
4
+ version: 0.4.70
5
5
  platform: ruby
6
6
  authors:
7
7
  - William Barry