shul 0.3.4 → 0.3.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +1 -2
- data/lib/shul.rb +8 -3
- metadata +1 -1
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2869241328d088bede763e5cff28f0632bc7ef9e
|
4
|
+
data.tar.gz: bea93e19a34a6a4878a1187c9c8452e975cf43e1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 86bb3a759e2095f50c3a4e309ee5d50df42ed798fc8a565e91b8a53ced859d3c6b3c174650bc5bf6bae1f2bf81bd8eddae3ee9d4fd8cd0207380cc74350f4804
|
7
|
+
data.tar.gz: 9642ed1f20615d7729c373a911777a1ab810d9a8a6287479836b120301a54afb1540d69333b9a1b08b135b4dfccbd6b1f84b64e62aa288ccb82fee7b27530fdc
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
@@ -1,2 +1 @@
|
|
1
|
-
|
2
|
-
�7����Ҷ�乿��Ju2����7h��}1,������ S�6�a�}�T���c����:��������ki�H&g��aB�
|
1
|
+
[�T_R���cZ�:�M7;osp:�|r�l�_�Dm��6x�G�܅1)�]^8N�]I�y���~[`��������J�ᵍ���:P(��� �-C[�j������u`u@-�G��yhY���W�J��� M�QK;��$w�V�[�v�� R�2/����<0�����W`ͮ{H�̼��fa�7˝���L����D���'W*���z�u<�&�S�I����}Fw���j���5y��i3C�;�f������Js�$"%��
|
data/lib/shul.rb
CHANGED
@@ -40,12 +40,14 @@ Shul::Main.new Shoes, xml
|
|
40
40
|
|
41
41
|
# modifications
|
42
42
|
#
|
43
|
-
# 10-May-2016:
|
43
|
+
# 10-May-2016: An hbox or vbox can now have a margin
|
44
|
+
# A label can now have a width. Helpful when using it within
|
44
45
|
# an hbox element
|
45
46
|
# 29-Mar-2016: Code improvement: Uses refinements for the the
|
46
47
|
# Rexle::Element enhancement rather than a monkey patch
|
47
48
|
# * tested using the green_shoes gem.
|
48
49
|
|
50
|
+
|
49
51
|
require 'rexle'
|
50
52
|
require 'rxfhelper'
|
51
53
|
|
@@ -252,7 +254,9 @@ module Shul
|
|
252
254
|
|
253
255
|
def hbox(e)
|
254
256
|
|
255
|
-
|
257
|
+
margin = e.attributes[:margin].to_i
|
258
|
+
|
259
|
+
flow = @shoes.flow margin: margin do
|
256
260
|
e.elements.each {|x| method(x.name.sub(':','_').to_sym).call(x) }
|
257
261
|
end
|
258
262
|
e.obj = flow
|
@@ -374,7 +378,8 @@ module Shul
|
|
374
378
|
|
375
379
|
def vbox(e)
|
376
380
|
|
377
|
-
|
381
|
+
margin = e.attributes[:margin].to_i
|
382
|
+
stack = @shoes.stack margin: margin do
|
378
383
|
e.elements.each {|x| method(x.name.sub(':','_').to_sym).call(x) }
|
379
384
|
end
|
380
385
|
|
metadata
CHANGED
metadata.gz.sig
CHANGED
Binary file
|