caboose-cms 0.4.58 → 0.4.59

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
- ZTNlOWNmNDc5MmM4ZmUxYTkwMDNkY2VmNWE5MWIyNzhjNTFlYTVhYQ==
4
+ MmNhY2I4YjdjYzk4Nzg3MGM4MWVjMTM3YzFmMjE2Nzc2MThkNWI0Yg==
5
5
  data.tar.gz: !binary |-
6
- YTU4ZTIxZjFkYmQ1YjE2YTEwNjcyNzhjMGFiY2NkM2I3ZGMwNTFhZA==
6
+ MjZkOWVlNjAwZTgyY2I4YTUxODBhNjgwMjkxMzQ2NGY0NzQ3MjU0YQ==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- Yzg2NWY4ZmE3M2E3NTJmMDQ1MTRhM2EwN2ZiZWJiZjUyZGU1NjYyOWUwY2Fh
10
- ZjRiNDBkMTM3ZjIzMDY5YTMwZWZmZmQ0Y2MzODhjZDQwMmE0M2Q4MmRlZWIx
11
- OWUyMjZkN2M3NDE5MDZmOGE5NzVhMDdmMzYxZDliZjQyMThkNDM=
9
+ NTEzYzUwODYxZWMyZmM0MDY0YzIwY2Y0MmMxYTgwZDUwODlkMzNjNjdlZDQx
10
+ MzUzNDA3MWNiYTQ0ZDQ5ZTljMWRmNDRlMDk0NGIxNzRkMTdlNGZlN2Y1OTM1
11
+ YTk0ZWNiZWI4YjRjY2ExNjU4NWM3NjVjZjM2OWUyOTY3NTFlYTM=
12
12
  data.tar.gz: !binary |-
13
- Mzk0YjAwMzU0OGFhNTZkZGY1MGI2OWY2NDA0MTRkODc3MGM4ZWZlMjU3MDhk
14
- ZTU2ZWMxNDk2ZGFjM2EzMjYwYzc3OTY2YzlkYTU2OWNlYTcxNjgyOWQwNDA1
15
- MWZiMTc3ZTQzYTI1NWUyYTkxNDZiMjE0MzljMTQzMmZmYmZjOTU=
13
+ MTAyZDA4ZGI4MWRmMThiMTIzZjRmYzc0ZmZkNjk0ODdhNmU3M2YzZWUzMTY5
14
+ ODQxZTJmNDVhMzRmOTU0NzJlZTQ1YWI4NGI3YmJkM2YwY2Q1NjNjMTM4Njhk
15
+ YzQ1YWEzMjcxZjM4Njg4MjhlZDhkOTY3NmQ5NWU3ZGRkM2FjNDE=
@@ -228,7 +228,7 @@ module Caboose
228
228
  when 'sort_order' then b.sort_order = v
229
229
  when 'name' then b.name = v
230
230
  when 'value' then
231
- if b.block_type.field_type == 'richtext'
231
+ if b.block_type.field_type == 'richtext' && (b.name.nil? || b.name.strip.length == 0)
232
232
  b = RichTextBlockParser.parse(b, v, request.host_with_port)
233
233
  else
234
234
  b.value = v
@@ -1,3 +1,3 @@
1
1
  module Caboose
2
- VERSION = '0.4.58'
2
+ VERSION = '0.4.59'
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.58
4
+ version: 0.4.59
5
5
  platform: ruby
6
6
  authors:
7
7
  - William Barry