shul 0.3.11 → 0.3.12
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 +0 -0
- data/lib/shul.rb +12 -6
- metadata +1 -1
- metadata.gz.sig +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 986d36724410915c839699ac3eddfb05b28e8635
|
4
|
+
data.tar.gz: c7d8c19e1f6c8b8a40c76a6f10538451e2973339
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9f7df1e42bea6902649a4357e3739da15f2cfb0c1c2e476b46c0b294172bec87a824e97e7708e12a93aacb58b8966eebaa75b1df71ffdd3ff61d35e2ab16c972
|
7
|
+
data.tar.gz: 1bfbbc2ab1b4097a4c84170b52821a58e970163db0dcbd4665d6ad6640cd5cc195f5d68c54b4d0cabd57c3bb9e445e083d0497cb3bd78fb9d2f67dd94e80ee7c
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/shul.rb
CHANGED
@@ -40,6 +40,8 @@ Shul::Main.new Shoes, xml
|
|
40
40
|
|
41
41
|
# modifications
|
42
42
|
#
|
43
|
+
# 13-Jan-2017: The script tag is now executed only after the
|
44
|
+
# document elements have been loaded
|
43
45
|
# 10-Jan-2017: Implemented methods value() and value=() for the label element
|
44
46
|
# 06-Dec-2016: bug fix: Removes the file /tmp/__green_shoes_temporary_file__
|
45
47
|
# to prevent a file lock on a thin client server setup
|
@@ -104,9 +106,9 @@ module Shul
|
|
104
106
|
puts 'not yet implemented'
|
105
107
|
end
|
106
108
|
|
107
|
-
button 'test' do
|
108
|
-
|
109
|
-
end
|
109
|
+
#button 'test' do
|
110
|
+
# alert('fun')
|
111
|
+
#end
|
110
112
|
|
111
113
|
|
112
114
|
shul = Shul::App.new self, doc, refresh: bflag, \
|
@@ -192,12 +194,16 @@ module Shul
|
|
192
194
|
@width, @height = 100, 100
|
193
195
|
|
194
196
|
@doc = doc
|
195
|
-
|
196
|
-
@doc.root.elements.each {|x| method(x.name.sub(':','_').to_sym).call(x) }
|
197
|
-
|
197
|
+
|
198
198
|
def @doc.element_by_id(id)
|
199
199
|
self.root.element("//*[@id='#{id}']")
|
200
|
+
end
|
201
|
+
|
202
|
+
@doc.root.elements.each do |x|
|
203
|
+
method(x.name.sub(':','_').to_sym).call(x) unless x.name == 'script'
|
200
204
|
end
|
205
|
+
|
206
|
+
@doc.root.xpath('script').each {|x| script x }
|
201
207
|
|
202
208
|
end
|
203
209
|
|
metadata
CHANGED
metadata.gz.sig
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
I��b�t�?d/.TN_�����@���x���Q�<T����2��sӁ������IO��g�O�)�$�b%=@�U嗚�gjP�����W��;��e6(�"~�_c�6|>}���&*ܡfqPYA����*ne��P�w@6k5�/0�dզ�Wkb-��bEe�� Y �q�5s�W��ɡ����C{K{(R�N��p��� �}U�ce�8*-�֘��@7�\䔀�=�Y��%���
|
2
|
+
A�+~�� V��og/s1f
|