caboose-cms 0.4.130 → 0.4.131

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
- ZWEyMTg3NDA3NDA3MDk4Yjg1NjFkNTc1YjA0NDlhM2MxNjY2YTFjZg==
4
+ YWMyYzcwMjc1MjEzNTNkOTcyZGMyYzAzODdmNzk0ZTc2YWZlZDcwMQ==
5
5
  data.tar.gz: !binary |-
6
- MTBiYjUxNzFmMzI4ZTVjZmQ1YTgxNmFjZGVlMjI4ZDVlZWVhNjg2NQ==
6
+ MGZmOWUzOTM0N2U1YWY5OTUzMDg4N2ViNzIzZDdiNzQ5MmY5MTg0Yw==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- NGJhYWExNDFjM2QzZWRjODdiZWQ5YjRhNWM0OGJkZTI4ZTU5ZWFiNGViNmY0
10
- ZTJmNWMxMTAyODRjNzFmZDg4NmI5MDE1YTFlMjhmNmZhODAwOTIyZGQzNTU2
11
- YTVjOTUxODA1YzcwMDhmNGMwNjczZGUzMWQwZDU5NDI1NTU3OWU=
9
+ Nzg3MGIwMWExOWJmYjRhY2Q0OWZlMDM3ZDdjNjEwMWE1ZTAxY2M4MjMzYWZk
10
+ NmM2NzliYmRhNjRmMmQ5YTBiMzhhNzNmMjA3NjZjMWYzMWM1NWI2OTUyODJm
11
+ ZjM4ODQ4MmI1NzBkNWJiZDU0NjIwZGE1Y2JjZjliZjZmZTY2Y2U=
12
12
  data.tar.gz: !binary |-
13
- Zjc5MTQ0OTA2YWY3YWYzMzVjYjA5ZTJlYTVmNjZiZTAyOTMwNjdhNTUxZjcy
14
- MjhkNTNhNDVhOTAxYzMzOTZlODhmMjFlYWIxN2JhMDBmZGQ2MzY4ZWU5ZGYz
15
- MGUxM2JjMTI0NTk1OTVhMDNhY2FkMmE0NGQ2NjM0NmIzOTE4Y2M=
13
+ YzIyOGYxOWExNDVkNWZjOWJlY2RhYWJhYmI1NTA0NWZhYWRkZjY5ZWMwYjcz
14
+ YWU3YzcwOTUxM2MxNmFiNGJhYTg4ZDI5Zjk3ZmY4ZWQwY2MxYWQ3NTAxOTZk
15
+ ZTVhNTI3MThkZDcwYTExMjRiYzNlNDQyM2VhNjNjYjRkNjQ2YTA=
@@ -18,7 +18,9 @@ module Caboose
18
18
 
19
19
  # Make sure we're not under construction
20
20
  d = Caboose::Domain.where(:domain => request.host_with_port).first
21
- if d.under_construction == true
21
+ if d.nil?
22
+ Caboose.log("Could not find domain for #{request.host_with_port}\nAdd this domain to the caboose site.")
23
+ elsif d.under_construction == true
22
24
  if d.site.under_construction_html && d.site.under_construction_html.strip.length > 0
23
25
  render :text => d.site.under_construction_html
24
26
  else
@@ -1,3 +1,3 @@
1
1
  module Caboose
2
- VERSION = '0.4.130'
2
+ VERSION = '0.4.131'
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.130
4
+ version: 0.4.131
5
5
  platform: ruby
6
6
  authors:
7
7
  - William Barry