shul 0.3.8 → 0.3.9
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 +0 -0
- data/lib/shul.rb +24 -0
- metadata +4 -4
- 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: e6f66bef111d9873b5d0d5005706995cc7881c29
|
|
4
|
+
data.tar.gz: 5f1b39ab2a99f912e3a61e6737fbf509e543bc26
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 736a87e5023d31b5d356f9ae7da94bdc99252bfd67fa960417d4414ee0f7cc1b54c85eb24673c8f5d1b723ce3d8d6089ec0cfb55d51049ce10a8bc67d1f936d1
|
|
7
|
+
data.tar.gz: fbc1940622810aadcdaffbff72240ec7eb0a49fee4f4e9c9f2991c7167731073c5a698dfc09acc93f82f8b4dff32532996320f48ca4c6e5ecd97588124046b4a
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data.tar.gz.sig
CHANGED
|
Binary file
|
data/lib/shul.rb
CHANGED
|
@@ -40,6 +40,7 @@ Shul::Main.new Shoes, xml
|
|
|
40
40
|
|
|
41
41
|
# modifications
|
|
42
42
|
#
|
|
43
|
+
# 10-Jan-2017: Implemented methods value() and value=() for the label element
|
|
43
44
|
# 06-Dec-2016: bug fix: Removes the file /tmp/__green_shoes_temporary_file__
|
|
44
45
|
# to prevent a file lock on a thin client server setup
|
|
45
46
|
# 26-Nov-2016: A background color can be applied to an hbox using the
|
|
@@ -53,7 +54,13 @@ Shul::Main.new Shoes, xml
|
|
|
53
54
|
# Rexle::Element enhancement rather than a monkey patch
|
|
54
55
|
# * tested using the green_shoes gem.
|
|
55
56
|
|
|
57
|
+
#require 'rexle'
|
|
56
58
|
|
|
59
|
+
require 'requestor'
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
eval Requestor.read('http://rorbuilder.info/r/ruby'){|x| x.require 'rexle'}
|
|
63
|
+
require 'rxfhelper'
|
|
57
64
|
|
|
58
65
|
|
|
59
66
|
module RexleObject
|
|
@@ -97,6 +104,11 @@ module Shul
|
|
|
97
104
|
puts 'not yet implemented'
|
|
98
105
|
end
|
|
99
106
|
|
|
107
|
+
button 'test' do
|
|
108
|
+
alert('fun')
|
|
109
|
+
end
|
|
110
|
+
|
|
111
|
+
|
|
100
112
|
shul = Shul::App.new self, doc, refresh: bflag, \
|
|
101
113
|
attributes: {title: 'Shul'}
|
|
102
114
|
Thread.new do
|
|
@@ -347,7 +359,18 @@ module Shul
|
|
|
347
359
|
h = { }
|
|
348
360
|
h.merge!({width: e.attributes[:width]}) if e.attributes[:width]
|
|
349
361
|
h.merge!({stroke: e.attributes[:color]}) if e.attributes[:color]
|
|
362
|
+
|
|
350
363
|
e.obj = @shoes.para e.attributes[:value] , h
|
|
364
|
+
|
|
365
|
+
|
|
366
|
+
def e.value()
|
|
367
|
+
self.attributes[:value]
|
|
368
|
+
end
|
|
369
|
+
|
|
370
|
+
def e.value=(v)
|
|
371
|
+
self.attributes[:value] = v
|
|
372
|
+
self.obj.replace 'fffff'
|
|
373
|
+
end
|
|
351
374
|
|
|
352
375
|
end
|
|
353
376
|
|
|
@@ -397,6 +420,7 @@ module Shul
|
|
|
397
420
|
eval "shoes = @shoes; " + e.text.unescape
|
|
398
421
|
end
|
|
399
422
|
|
|
423
|
+
# e.g. <textbox id='tb' value='empty' size='40' multiline='true'/>
|
|
400
424
|
def textbox(e)
|
|
401
425
|
|
|
402
426
|
name = if e.attributes[:multiline] \
|
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.9
|
|
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:
|
|
34
|
+
date: 2017-01-10 00:00:00.000000000 Z
|
|
35
35
|
dependencies:
|
|
36
36
|
- !ruby/object:Gem::Dependency
|
|
37
37
|
name: rexle
|
|
@@ -74,7 +74,7 @@ dependencies:
|
|
|
74
74
|
- !ruby/object:Gem::Version
|
|
75
75
|
version: 0.3.0
|
|
76
76
|
description:
|
|
77
|
-
email: james@
|
|
77
|
+
email: james@jamesrobertson.eu
|
|
78
78
|
executables: []
|
|
79
79
|
extensions: []
|
|
80
80
|
extra_rdoc_files: []
|
|
@@ -100,7 +100,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
100
100
|
version: '0'
|
|
101
101
|
requirements: []
|
|
102
102
|
rubyforge_project:
|
|
103
|
-
rubygems_version: 2.
|
|
103
|
+
rubygems_version: 2.6.8
|
|
104
104
|
signing_key:
|
|
105
105
|
specification_version: 4
|
|
106
106
|
summary: Shoes + XUL = SHUL
|
metadata.gz.sig
CHANGED
|
Binary file
|