htmle 0.1.3 → 0.1.4
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/lib/htmle.rb +11 -3
- data.tar.gz.sig +0 -0
- metadata +18 -18
- 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: 3082c17e0bacc4d491fdaad1b84cfb4ccd326585
|
4
|
+
data.tar.gz: 57d15d858625be6516164cce2cf066eafc96360b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f899b38cb1a35de4ecc0d1658af39adc7647b6f87e7175ee9a3b8aaa715307017cc0ab658c9d59c2a7187f0b0a3c631fe5337eddddfdc62d436a144883dee260
|
7
|
+
data.tar.gz: 906a75e799be99752efd0626352512503f6e565ec7cbbb66a8b6e18258132a976aa1f4a0773edc36bad5587e66d65d440517b49646ca1b25aef9953535a42d4f
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/lib/htmle.rb
CHANGED
@@ -13,7 +13,7 @@ DEFAULT_HTML_CSS = <<CSS
|
|
13
13
|
font-size: 16; color: rgb(255,0,0);
|
14
14
|
}
|
15
15
|
html {background-color: white;}
|
16
|
-
div {background-color:
|
16
|
+
div {background-color: black; padding: 30 10; margin: 5 5;}
|
17
17
|
|
18
18
|
CSS
|
19
19
|
|
@@ -21,6 +21,10 @@ class Htmle < Domle
|
|
21
21
|
|
22
22
|
class Box < Element
|
23
23
|
attr2_accessor *%i(class width height background-color margin padding)
|
24
|
+
|
25
|
+
def boundary()
|
26
|
+
[0,0,0,0]
|
27
|
+
end
|
24
28
|
end
|
25
29
|
|
26
30
|
class Html < Box
|
@@ -57,7 +61,10 @@ class Htmle < Domle
|
|
57
61
|
end
|
58
62
|
|
59
63
|
class Li < Box
|
60
|
-
end
|
64
|
+
end
|
65
|
+
|
66
|
+
class Input < Box
|
67
|
+
end
|
61
68
|
|
62
69
|
private
|
63
70
|
|
@@ -91,7 +98,8 @@ class Htmle < Domle
|
|
91
98
|
a: Htmle::A,
|
92
99
|
ul: Htmle::Ul,
|
93
100
|
ol: Htmle::Ol,
|
94
|
-
li: Htmle::Li
|
101
|
+
li: Htmle::Li,
|
102
|
+
input: Htmle::Input
|
95
103
|
|
96
104
|
}
|
97
105
|
end
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: htmle
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -12,26 +12,26 @@ cert_chain:
|
|
12
12
|
-----BEGIN CERTIFICATE-----
|
13
13
|
MIIDljCCAn6gAwIBAgIBATANBgkqhkiG9w0BAQUFADBIMRIwEAYDVQQDDAlnZW1t
|
14
14
|
YXN0ZXIxHjAcBgoJkiaJk/IsZAEZFg5qYW1lc3JvYmVydHNvbjESMBAGCgmSJomT
|
15
|
-
|
15
|
+
8ixkARkWAmV1MB4XDTE2MTIyMjEzNDU0OVoXDTE3MTIyMjEzNDU0OVowSDESMBAG
|
16
16
|
A1UEAwwJZ2VtbWFzdGVyMR4wHAYKCZImiZPyLGQBGRYOamFtZXNyb2JlcnRzb24x
|
17
17
|
EjAQBgoJkiaJk/IsZAEZFgJldTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoC
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
18
|
+
ggEBANJbSEoiz0wdlOoFZpT4R4s/HhjUIcAyha0I27CGX4lstk8OnEu40RM2+jyR
|
19
|
+
XvExdLJkA5azV2l8ttmAIQs71KWTmttq6DSi0RBy2HsGRm1mWzyd7YCSAAm3s22N
|
20
|
+
0KSw4xHIuzmx2G0OacAGif0TcQc08GzWs0ochXfrIfqDwibA0CxkQ445A8GweD8G
|
21
|
+
Xth6YgE0ucjdqlt7UsdD6ceR3pUuEmj53DZrMRxy3xy7sgmw8K77Dp8DL6H4mjt6
|
22
|
+
kxe8ab5rW1WG4Bz2qTnatBREJE8HmYOivwu1KboNNN3I2j/YxiFpPhRaf7ocswFG
|
23
|
+
bxAALNuTwgpHxuQwFdekAWFEMRsCAwEAAaOBijCBhzAJBgNVHRMEAjAAMAsGA1Ud
|
24
|
+
DwQEAwIEsDAdBgNVHQ4EFgQUY68MY/UVSNrf4veO7tc4xmpKPSIwJgYDVR0RBB8w
|
25
25
|
HYEbZ2VtbWFzdGVyQGphbWVzcm9iZXJ0c29uLmV1MCYGA1UdEgQfMB2BG2dlbW1h
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
26
|
+
c3RlckBqYW1lc3JvYmVydHNvbi5ldTANBgkqhkiG9w0BAQUFAAOCAQEAYLkBSd3p
|
27
|
+
wRobgB5g0O+E1CrHF2wR8g5IvWfGeUzQ+WR21q+scvsuGhdpPgS9EGeLHQnkDMp9
|
28
|
+
hY+f0I/zAHsaA1ytxvWngNbgB1UF+XYRzxKIyMdGzk8puBxjrKdkjpwdI+cWpyT1
|
29
|
+
FewFhnYT8bbjyT0lL3bTumiqmv2Fl6mK5gibhhgfiyKFDnSkpNBHgnQJn7i41iL2
|
30
|
+
sodXFvJ9UKOa7cfOlThIRwCqJkTKrdBmqR/+wCUNlqSldRw0Whxk1P4GSagdwH50
|
31
|
+
nVnBX6qdmcSpb54jyBZoRwImq4/YifXTmX3/u2C+uUwcKEp/ESMUHTgvAGiSCR7Y
|
32
|
+
FZOZhh2apmq6MA==
|
33
33
|
-----END CERTIFICATE-----
|
34
|
-
date:
|
34
|
+
date: 2016-12-22 00:00:00.000000000 Z
|
35
35
|
dependencies:
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: domle
|
@@ -80,7 +80,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
80
80
|
version: '0'
|
81
81
|
requirements: []
|
82
82
|
rubyforge_project:
|
83
|
-
rubygems_version: 2.
|
83
|
+
rubygems_version: 2.5.1
|
84
84
|
signing_key:
|
85
85
|
specification_version: 4
|
86
86
|
summary: "*Experimental gem under development* Htmle (HTML + Domle) is an implementation
|
metadata.gz.sig
CHANGED
Binary file
|