arbre 2.1.0 → 2.2.0
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
- data/CHANGELOG.md +5 -0
- data/lib/arbre/html/html5_elements.rb +118 -11
- data/lib/arbre/version.rb +1 -1
- metadata +3 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9ae7ea94456db90147d93574face824a7d6e86e90e8c952076eef08e31d85531
|
4
|
+
data.tar.gz: 83ac77a573fc14129bae1ba060e375ba67079178891d6c6d26317e5f498563da
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 72ac02a6a56f17196a14bf89286c981c45b20bf63333db1ae54dd76ccf133e5fd1cd1cb40c0e02b327b55a70458c16db694ac39cda1975efe5316c12d94a6999
|
7
|
+
data.tar.gz: 17587b57785ab8147ead7dee81079ae84ebd8b119f5236da3deb61c0c67a19a5c906ed3e245827c2167ea431ba65063a7b8f6e1f4f51478c56b8257c6633a9ff
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,9 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 2.2.0 [☰](https://github.com/activeadmin/arbre/compare/v2.1.0...v2.2.0)
|
4
|
+
|
5
|
+
* Add some missing HTML5 elements [#655][] by [@tagliala][]
|
6
|
+
|
3
7
|
## 2.1.0 [☰](https://github.com/activeadmin/arbre/compare/v2.0.2...v2.1.0)
|
4
8
|
|
5
9
|
* Add support for ViewComponent. [#644][] by [@budu][]
|
@@ -154,6 +158,7 @@ Initial release and extraction from Active Admin
|
|
154
158
|
[#617]: https://github.com/activeadmin/arbre/pull/617
|
155
159
|
[#622]: https://github.com/activeadmin/arbre/pull/622
|
156
160
|
[#644]: https://github.com/activeadmin/arbre/pull/644
|
161
|
+
[#655]: https://github.com/activeadmin/arbre/pull/655
|
157
162
|
|
158
163
|
[@aramvisser]: https://github.com/aramvisser
|
159
164
|
[@LTe]: https://github.com/LTe
|
@@ -2,17 +2,124 @@
|
|
2
2
|
module Arbre
|
3
3
|
module HTML
|
4
4
|
|
5
|
-
AUTO_BUILD_ELEMENTS = [
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
5
|
+
AUTO_BUILD_ELEMENTS = [
|
6
|
+
:a,
|
7
|
+
:abbr,
|
8
|
+
:address,
|
9
|
+
:area,
|
10
|
+
:article,
|
11
|
+
:aside,
|
12
|
+
:audio,
|
13
|
+
:b,
|
14
|
+
:base,
|
15
|
+
:bdi,
|
16
|
+
:bdo,
|
17
|
+
:blockquote,
|
18
|
+
:body,
|
19
|
+
:br,
|
20
|
+
:button,
|
21
|
+
:canvas,
|
22
|
+
:caption,
|
23
|
+
:cite,
|
24
|
+
:code,
|
25
|
+
:col,
|
26
|
+
:colgroup,
|
27
|
+
:command,
|
28
|
+
:data,
|
29
|
+
:datalist,
|
30
|
+
:dd,
|
31
|
+
:del,
|
32
|
+
:details,
|
33
|
+
:dfn,
|
34
|
+
:dialog,
|
35
|
+
:div,
|
36
|
+
:dl,
|
37
|
+
:dt,
|
38
|
+
:em,
|
39
|
+
:embed,
|
40
|
+
:fieldset,
|
41
|
+
:figcaption,
|
42
|
+
:figure,
|
43
|
+
:footer,
|
44
|
+
:form,
|
45
|
+
:h1,
|
46
|
+
:h2,
|
47
|
+
:h3,
|
48
|
+
:h4,
|
49
|
+
:h5,
|
50
|
+
:h6,
|
51
|
+
:head,
|
52
|
+
:header,
|
53
|
+
:hgroup,
|
54
|
+
:hr,
|
55
|
+
:html,
|
56
|
+
:i,
|
57
|
+
:iframe,
|
58
|
+
:img,
|
59
|
+
:input,
|
60
|
+
:ins,
|
61
|
+
:kbd,
|
62
|
+
:keygen,
|
63
|
+
:label,
|
64
|
+
:legend,
|
65
|
+
:li,
|
66
|
+
:link,
|
67
|
+
:main,
|
68
|
+
:map,
|
69
|
+
:mark,
|
70
|
+
:menu,
|
71
|
+
:menuitem,
|
72
|
+
:meta,
|
73
|
+
:meter,
|
74
|
+
:nav,
|
75
|
+
:noscript,
|
76
|
+
:object,
|
77
|
+
:ol,
|
78
|
+
:optgroup,
|
79
|
+
:option,
|
80
|
+
:output,
|
81
|
+
:param,
|
82
|
+
:picture,
|
83
|
+
:pre,
|
84
|
+
:progress,
|
85
|
+
:q,
|
86
|
+
:rp,
|
87
|
+
:rt,
|
88
|
+
:ruby,
|
89
|
+
:s,
|
90
|
+
:samp,
|
91
|
+
:script,
|
92
|
+
:search,
|
93
|
+
:section,
|
94
|
+
:select,
|
95
|
+
:slot,
|
96
|
+
:small,
|
97
|
+
:source,
|
98
|
+
:span,
|
99
|
+
:strong,
|
100
|
+
:style,
|
101
|
+
:sub,
|
102
|
+
:summary,
|
103
|
+
:sup,
|
104
|
+
:svg,
|
105
|
+
:table,
|
106
|
+
:tbody,
|
107
|
+
:td,
|
108
|
+
:template,
|
109
|
+
:textarea,
|
110
|
+
:tfoot,
|
111
|
+
:th,
|
112
|
+
:thead,
|
113
|
+
:time,
|
114
|
+
:title,
|
115
|
+
:tr,
|
116
|
+
:track,
|
117
|
+
:u,
|
118
|
+
:ul,
|
119
|
+
:var,
|
120
|
+
:video,
|
121
|
+
:wbr
|
122
|
+
]
|
16
123
|
|
17
124
|
HTML5_ELEMENTS = [ :p ] + AUTO_BUILD_ELEMENTS
|
18
125
|
|
data/lib/arbre/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: arbre
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Greg Bell
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2025-02-02 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: activesupport
|
@@ -69,7 +68,6 @@ licenses:
|
|
69
68
|
- MIT
|
70
69
|
metadata:
|
71
70
|
rubygems_mfa_required: 'true'
|
72
|
-
post_install_message:
|
73
71
|
rdoc_options: []
|
74
72
|
require_paths:
|
75
73
|
- lib
|
@@ -84,8 +82,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
84
82
|
- !ruby/object:Gem::Version
|
85
83
|
version: '0'
|
86
84
|
requirements: []
|
87
|
-
rubygems_version: 3.
|
88
|
-
signing_key:
|
85
|
+
rubygems_version: 3.6.3
|
89
86
|
specification_version: 4
|
90
87
|
summary: An Object Oriented DOM Tree in Ruby
|
91
88
|
test_files: []
|