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 +8 -8
- data/app/views/caboose/blocks/_image.html.erb +8 -4
- data/lib/caboose/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MjcxMGIwMjJjMWQxYzNkOGFkNDMyNDY5ZDQ1M2FkMmUwMGFiZGM2MQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MzE0OGIxODAwMDk3NjAwYjBmZjY4MDFmMzk2M2E4ZWUyOWMwM2U0Mw==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZjJlNGM0YmUwOTI5ODBmNGYzYjE3ZTUzMDliMjE4YWQ3YWZhN2QxMWE0NjU2
|
10
|
+
NjNjZTUwMDlmZDNjMTgwZmIzODlhZGVhNWJlNzNiZTljNDgyMjNmYzIzMDMw
|
11
|
+
YzRlNGEzOWIwOWI4ZDA0MWJkYTAwN2I3MjA1YmRjMTBhOTM5NTY=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
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')
|
9
|
-
mr = block.child_value('margin_right')
|
10
|
-
mb = block.child_value('margin_bottom')
|
11
|
-
ml = block.child_value('margin_left')
|
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
|
data/lib/caboose/version.rb
CHANGED