caboose-cms 0.5.20 → 0.5.21

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
- MzA2NTkxMGUyNmUwZDM4MjFlYjgzZmQwZTQ2NWI0NGVlN2I0NGQwOA==
4
+ MjcxMGIwMjJjMWQxYzNkOGFkNDMyNDY5ZDQ1M2FkMmUwMGFiZGM2MQ==
5
5
  data.tar.gz: !binary |-
6
- ZWFmOGRkNTVmYTg1ZGE3YWZiZTExMGExMDYxYmQ5M2JhODc1NjNhZg==
6
+ MzE0OGIxODAwMDk3NjAwYjBmZjY4MDFmMzk2M2E4ZWUyOWMwM2U0Mw==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MDMwYjU3YTAyMjlkNjljZGQ5ZmY0OTk4NDBkZDdhYmI0ZDU2MTExZmVlODM5
10
- YTI2Y2IyYjc3NmUwYmFhMTU5NDkyOTVkN2EwYzlhNTcxMzlkNjA2OWVlZDc4
11
- ZTE5NjY4YmM3OWZlNzhmZGVmZmE5MjdjMzBjOTc1ZmQxZmE5MTI=
9
+ ZjJlNGM0YmUwOTI5ODBmNGYzYjE3ZTUzMDliMjE4YWQ3YWZhN2QxMWE0NjU2
10
+ NjNjZTUwMDlmZDNjMTgwZmIzODlhZGVhNWJlNzNiZTljNDgyMjNmYzIzMDMw
11
+ YzRlNGEzOWIwOWI4ZDA0MWJkYTAwN2I3MjA1YmRjMTBhOTM5NTY=
12
12
  data.tar.gz: !binary |-
13
- YzBhYWY2MzBmOTBhODUwYzkzMjU2MjY3NzUwYzc4NzQxOTUxYzMxMTAxNTVl
14
- MjNjMjY3MjAzMDgwNzVhMjBhNmFhZTM1MmM5YTIxMTU4NTFlNmE3NjY2MGRj
15
- MjVkYjg3YWVkMjc5Y2NkZGM2M2E3ZGJjY2M4OGNlNmI5YTJmZjA=
13
+ Y2Q0YTk3YjA1Y2UxYTYwZWE1Y2E2YzViMTk4Yzk3YWZjMmJhYmQyZTBhZDBm
14
+ NmJhOTEzOWEwYTNmMDU3NzBjZGYyNzU4Y2JhZWE5ODNlN2UzMTg1ZjZjYjZi
15
+ MDZiMTY4YzU2M2FkOTBjMGQ5MTlmY2JiM2MxMzcyNjRlMTA0YmU=
@@ -5,10 +5,14 @@ link = block.child_value('link')
5
5
  align = block.child_value('align')
6
6
  width = block.child_value('width')
7
7
  height = block.child_value('height')
8
- mt = block.child_value('margin_top').downcase
9
- mr = block.child_value('margin_right').downcase
10
- mb = block.child_value('margin_bottom').downcase
11
- ml = block.child_value('margin_left').downcase
8
+ mt = block.child_value('margin_top')
9
+ mr = block.child_value('margin_right')
10
+ mb = block.child_value('margin_bottom')
11
+ ml = block.child_value('margin_left')
12
+ mt.downcase! if mt
13
+ mr.downcase! if mr
14
+ mb.downcase! if mb
15
+ ml.downcase! if ml
12
16
  url = img ? img.url(img_style.downcase.to_sym) : nil
13
17
 
14
18
  img = nil
@@ -1,3 +1,3 @@
1
1
  module Caboose
2
- VERSION = '0.5.20'
2
+ VERSION = '0.5.21'
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.5.20
4
+ version: 0.5.21
5
5
  platform: ruby
6
6
  authors:
7
7
  - William Barry