shul 0.3.3 → 0.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +2 -3
- data/lib/shul.rb +11 -1
- metadata +2 -2
- 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: 462fdd2dd278cf301cb27c76fe19c88bd1238df8
|
|
4
|
+
data.tar.gz: dd79a7c6854268d6f37af912ff040ae0c638a3dc
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 00e269ab08064d7bef2ee2667584caf4a2f96534657bdbb80aa2a9a8f9b9d76cdaf8e0ac6e1aeee3f0db683d92ed7ec9e82e7a1225340c715b2eb0df69122ff1
|
|
7
|
+
data.tar.gz: d8500c953fe717e94cc368123815e44cb09d7a5f9fa4b6dec7cf1949763f45cc28585f01223105ce8ab2157c2ba0791b8f06b35fb1f5c42dd90b1879f66694ea
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data.tar.gz.sig
CHANGED
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
�\������y
|
|
1
|
+
,�&iT�W��Z�J��z<7Z��7y�0�s�.����YC��xB_.a#ꁁ��R,���,n�0
|
|
2
|
+
�7����Ҷ�乿��Ju2����7h��}1,������ S�6�a�}�T���c����:��������ki�H&g��aB�
|
data/lib/shul.rb
CHANGED
|
@@ -40,6 +40,8 @@ Shul::Main.new Shoes, xml
|
|
|
40
40
|
|
|
41
41
|
# modifications
|
|
42
42
|
#
|
|
43
|
+
# 10-May-2016: A label can now have a width. Helpful when using it within
|
|
44
|
+
# an hbox element
|
|
43
45
|
# 29-Mar-2016: Code improvement: Uses refinements for the the
|
|
44
46
|
# Rexle::Element enhancement rather than a monkey patch
|
|
45
47
|
# * tested using the green_shoes gem.
|
|
@@ -308,8 +310,16 @@ module Shul
|
|
|
308
310
|
e.obj = @shoes.image h[:src], top: h[:top], left: h[:left]
|
|
309
311
|
end
|
|
310
312
|
|
|
313
|
+
# e.g. <label value='light' width='40'/>
|
|
314
|
+
|
|
311
315
|
def label(e)
|
|
312
|
-
|
|
316
|
+
|
|
317
|
+
if e.attributes[:width] then
|
|
318
|
+
e.obj = @shoes.para e.attributes[:value], width: e.attributes[:width]
|
|
319
|
+
else
|
|
320
|
+
e.obj = @shoes.para e.attributes[:value]
|
|
321
|
+
end
|
|
322
|
+
|
|
313
323
|
end
|
|
314
324
|
|
|
315
325
|
def listbox(e)
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: shul
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- James Robertson
|
|
@@ -31,7 +31,7 @@ cert_chain:
|
|
|
31
31
|
/vGEl178JmTwkkyOnfudv6A8yY1uGiMvCrStPdAXg91qOFgoQFo/tUKAHYzSpxYg
|
|
32
32
|
pcdACC5rdLX/DA==
|
|
33
33
|
-----END CERTIFICATE-----
|
|
34
|
-
date: 2016-
|
|
34
|
+
date: 2016-05-10 00:00:00.000000000 Z
|
|
35
35
|
dependencies:
|
|
36
36
|
- !ruby/object:Gem::Dependency
|
|
37
37
|
name: rexle
|
metadata.gz.sig
CHANGED
|
Binary file
|