shul 0.4.11 → 0.4.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 +13 -0
- 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: bdb142002afd2afc55e1acf0c866222f75a150fb
|
4
|
+
data.tar.gz: 79f20519f543751458a7c7669769ec5e45585074
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9f7efbfeb7487fc71376a7493d69c8f9fc58f26d253d23765544f53d56ca15a29292ef12c4c04c4ba3b20f41595e845e9c57428be5c843fe5baac9276b42a748
|
7
|
+
data.tar.gz: d6834ec03b903943c373fd7cdc041aacf4171914e9840e355d19d09271205dfd03997e9785505b4e23bdc0b1d1733d053a85d2f00b8ce6ac3cbbe2102089e8e2
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/shul.rb
CHANGED
@@ -44,6 +44,8 @@ Shul::Main.new Shoes, doc
|
|
44
44
|
#
|
45
45
|
# 13-Aug-2017: feature: A radio button checked value can now be
|
46
46
|
# changed from script
|
47
|
+
# feature: The default icon can now be changed by adding the
|
48
|
+
# icon attribute to the app element
|
47
49
|
# 12-Aug-2017: feature: A Radiogroup can now be created or deleted dynamically
|
48
50
|
# 11-Aug-2017: feature: An element can now be removed using method *remove*.
|
49
51
|
# 10-Aug-2017: feature: A Textbox element can now be created dynamically
|
@@ -74,6 +76,7 @@ Shul::Main.new Shoes, doc
|
|
74
76
|
|
75
77
|
|
76
78
|
require 'domle'
|
79
|
+
require 'tempfile'
|
77
80
|
|
78
81
|
|
79
82
|
|
@@ -430,6 +433,16 @@ module Shul
|
|
430
433
|
method(h[:onkeypress][/^[a-z]\w+/].to_sym).call(k)
|
431
434
|
end
|
432
435
|
end
|
436
|
+
|
437
|
+
icon = h[:icon]
|
438
|
+
|
439
|
+
if icon then
|
440
|
+
|
441
|
+
file = Tempfile.new('shoes').path
|
442
|
+
File.write file, RXFHelper.read(icon).first
|
443
|
+
shoes.win.icon = file
|
444
|
+
|
445
|
+
end
|
433
446
|
|
434
447
|
end
|
435
448
|
|
metadata
CHANGED
metadata.gz.sig
CHANGED
Binary file
|