caboose-cms 0.4.140 → 0.4.141

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
- NjEzZWJmYzI2MDdlZTYxN2IwZDFmYmIwY2M2M2JkNmYwYjQ3MWYxNA==
4
+ M2ZlYzBkYzNmMzNmMDhkNWUzZGQ0NGM4NGFkYmEyNGFjYWEzNTM0Nw==
5
5
  data.tar.gz: !binary |-
6
- MjQ1ZmY5MTM0NjQwMGE4ZGNjNTRmMTBhYmIwNmNkYzAwM2JkNDQyMA==
6
+ NmY0MjRiNGEwOTZkOWI1NDUwNGI2NTNiMmQxNTljNmZhYjAxZWQ4Mg==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- ZjE2YmY0N2YyZDQ0NDRmYzU5ODIzMzE1ODZkNjdiMjVjOTllNDc0MmQ2OGIw
10
- MjViMjQ5NjAxMWZiYTVhNmQyYTkwMmUzOTdjYjBkMzUzNmY3YmJlMjNlNTVm
11
- NGI0M2U1OTgzYmE4ZjJiOTQxZWZiN2YzNzQxZjNmMjVjMmY2OTE=
9
+ ZTE2Yjc3ZTI5YjFhZDRiZTQ5MjU1OWUyYjI4NTZkOTNlYmEyZTczMmM0YWQ4
10
+ NzYyNDAzNWJkNzE4MGU2OWFiNmMwNDQ3MDQ1ODAwZTc2NzRlNzAxMTIwNzBj
11
+ MTZkMWRjNDY1NTk4YTQ0Yjg5ODAxYjQxZWU2N2M1NjhhZWIxZjY=
12
12
  data.tar.gz: !binary |-
13
- OTBkMDZmODdjN2ZhODZmNzNiZTdiNDAzNzNiYTZiZmZhODM4NTQxNDg1MTRj
14
- YTY5MWQwMzUwYTJjMjcxNzI5NWY5M2Y2M2RhNDUzZjI1NDc5NWIzNzVhODI0
15
- NDRjYWVmMDQzOWFlMTEyNTY0MGJkYWE4MjFkZWNmOTI1NGU4MDI=
13
+ OTk4MDgyMDY5MTYyNjkwMWFkMDNiZmM2MTgzMjdkYjQ0MzUyNDQxOTFjMTNm
14
+ MTQ3ZGQwMjBhMjE2NDk3NTkwNGM0Y2Q4NzQ2MmQyZmU3ZjFhNDAwYjdjYzMw
15
+ ZTAxOWNiNzJiZjc5YmJlMGMyNWY0MDU2ZGE2ZDI2YWUwMTVlYjg=
@@ -14,23 +14,20 @@ module Caboose
14
14
  # Find the page with an exact URI match
15
15
  page = Page.page_with_uri(request.host_with_port, request.fullpath, false)
16
16
 
17
- if (!page)
18
-
19
- # Make sure we're not under construction
20
- d = Caboose::Domain.where(:domain => request.host_with_port).first
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
24
- if d.site.under_construction_html && d.site.under_construction_html.strip.length > 0
25
- render :text => d.site.under_construction_html
26
- else
27
- render :file => 'caboose/application/under_construction', :layout => false
28
- end
29
- return
30
- else
31
- Caboose.log("domain id = #{d.id}")
17
+ # Make sure we're not under construction
18
+ d = Caboose::Domain.where(:domain => request.host_with_port).first
19
+ if d.nil?
20
+ Caboose.log("Could not find domain for #{request.host_with_port}\nAdd this domain to the caboose site.")
21
+ elsif d.under_construction == true
22
+ if d.site.under_construction_html && d.site.under_construction_html.strip.length > 0
23
+ render :text => d.site.under_construction_html
24
+ else
25
+ render :file => 'caboose/application/under_construction', :layout => false
32
26
  end
33
-
27
+ return
28
+ end
29
+
30
+ if !page
34
31
  asset
35
32
  return
36
33
  end
@@ -1,3 +1,3 @@
1
1
  module Caboose
2
- VERSION = '0.4.140'
2
+ VERSION = '0.4.141'
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.140
4
+ version: 0.4.141
5
5
  platform: ruby
6
6
  authors:
7
7
  - William Barry