caboose-cms 0.4.121 → 0.4.122

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
- ODU0ZTBmZDk0OTA5ODI5YWRkMTEyNWI0YTc1YTVjMDY1NzNlNjhmZQ==
4
+ NzgxZTI3MTAzZmM1YzNiM2JkZDRmYmNjOTQ2MmNjZjFkNTNiM2EyOA==
5
5
  data.tar.gz: !binary |-
6
- MjMzMWNiNDFjMTk2ZWMwYzc4NDIwYjEwMjFhMjlkZTFjZDc5MWZjOA==
6
+ NDVlN2VhYjEyNzRjM2Q5NmFmZGFkZTI2Y2U3NTI4ODFiYmZmZDIxMQ==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- ZDBhOWUwNTQxMWM3YjE2NmI2YjE3M2U3Zjk2ZTE0NGFiMGY1MmM1MDE0MDdj
10
- MmM5ZDM1MDBkODk5ZGRlYmZmOTg5NjJkMGMxYTk2Yjg2MzhmMjAzNzEyZTEx
11
- MDE5YWEyNDlkODQzMDVhMDNmZTE5ZDEwNzljN2MzZGRlNDM4OGU=
9
+ MmRjOWIyZGE5ZDNiZGRjMjBhZjY2ZDRkNWVkMjQyNjQ4NTk2NDkyMWRjYmRj
10
+ ZTVlZmMxMDNlOWIwYjhiMmEwYmRhYjM1M2U1YjUwNGFlY2ZmYmVhZDBlNjky
11
+ NGI2ZTkxODFmNTc3NzdlZjMwYjI0ODNmNWJiZGZkYzdiYzM3OTQ=
12
12
  data.tar.gz: !binary |-
13
- OTQ5MDU3ZTQzMzk5NjM4MzFiMDFjYTM1MTYzNDY5ZDdhYjg0MDg2ZmU0Mzc4
14
- M2Q1NDBhZGYxMDI2ZWE3ZmUxN2I5MDEwYzBlNjdmZWU5Y2M5YmM4MGM1OTI4
15
- NmU2Mzk2ZmJlYmZhY2MwNjc4NWM0OWNmYjhkNDAzYzQ1NTkyMWQ=
13
+ ODMwZmNiZTQ0NTgzOWE4MTYwNzRmYTUwZmYxZGM0YWFjOGY0NmQ2MTIzZmYw
14
+ MjBlZjc5ZDNlYzE2NjIxMTdkYzQzYWE1ZGY0OTQ5MWZmMzJlOGY5NzdiY2E0
15
+ NDYxNWZkYWRlMjE2N2ZmYWRmZjZiY2U0ZGE4ZjJmNTM5YWIxZjE=
@@ -271,7 +271,7 @@ module Caboose
271
271
  b.value = v
272
272
  b.update_global_value(v, @site.id)
273
273
  else
274
- if b.block_type.field_type == 'richtext' && (b.name.nil? || b.name.strip.length == 0) && (b.block_type.name != 'richtext2')
274
+ if !Caboose.parse_richtext_blocks && b.block_type.field_type == 'richtext' && (b.name.nil? || b.name.strip.length == 0) && (b.block_type.name != 'richtext2')
275
275
  b = RichTextBlockParser.parse(b, v, request.host_with_port)
276
276
  else
277
277
  b.value = v
@@ -61,6 +61,10 @@ module Caboose
61
61
 
62
62
  # Session length (in hours)
63
63
  mattr_accessor :session_length
64
- @@session_length = 24
64
+ @@session_length = 24
65
+
66
+ # Parse rich text blocks
67
+ mattr_accessor :parse_richtext_blocks
68
+ @@parse_richtext_blocks = true
65
69
 
66
70
  end
@@ -1,3 +1,3 @@
1
1
  module Caboose
2
- VERSION = '0.4.121'
2
+ VERSION = '0.4.122'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: caboose-cms
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.121
4
+ version: 0.4.122
5
5
  platform: ruby
6
6
  authors:
7
7
  - William Barry
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-09-23 00:00:00.000000000 Z
11
+ date: 2014-09-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails