arbre 2.0.2 → 2.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +13 -1
- data/lib/arbre/html/html5_elements.rb +118 -11
- data/lib/arbre/rails/rendering.rb +2 -2
- data/lib/arbre/version.rb +1 -1
- metadata +6 -9
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,6 +1,15 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
-
##
|
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
|
+
|
7
|
+
## 2.1.0 [☰](https://github.com/activeadmin/arbre/compare/v2.0.2...v2.1.0)
|
8
|
+
|
9
|
+
* Add support for ViewComponent. [#644][] by [@budu][]
|
10
|
+
* Remove support for Ruby `< 3.1`
|
11
|
+
* Remove support for Rails `< 7.0`
|
12
|
+
* Test against Rails 8.0
|
4
13
|
|
5
14
|
## 2.0.2 [☰](https://github.com/activeadmin/arbre/compare/v2.0.1...v2.0.2)
|
6
15
|
|
@@ -148,6 +157,8 @@ Initial release and extraction from Active Admin
|
|
148
157
|
[#578]: https://github.com/activeadmin/arbre/pull/578
|
149
158
|
[#617]: https://github.com/activeadmin/arbre/pull/617
|
150
159
|
[#622]: https://github.com/activeadmin/arbre/pull/622
|
160
|
+
[#644]: https://github.com/activeadmin/arbre/pull/644
|
161
|
+
[#655]: https://github.com/activeadmin/arbre/pull/655
|
151
162
|
|
152
163
|
[@aramvisser]: https://github.com/aramvisser
|
153
164
|
[@LTe]: https://github.com/LTe
|
@@ -172,3 +183,4 @@ Initial release and extraction from Active Admin
|
|
172
183
|
[@tomascco]: https://github.com/tomascco
|
173
184
|
[@javierjulio]: https://github.com/javierjulio
|
174
185
|
[@Earlopain]: https://github.com/Earlopain
|
186
|
+
[@budu]: https://github.com/budu
|
@@ -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.0
|
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
|
@@ -16,14 +15,14 @@ dependencies:
|
|
16
15
|
requirements:
|
17
16
|
- - ">="
|
18
17
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
18
|
+
version: '7.0'
|
20
19
|
type: :runtime
|
21
20
|
prerelease: false
|
22
21
|
version_requirements: !ruby/object:Gem::Requirement
|
23
22
|
requirements:
|
24
23
|
- - ">="
|
25
24
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
25
|
+
version: '7.0'
|
27
26
|
description: Arbre makes it easy to generate HTML directly in Ruby
|
28
27
|
email:
|
29
28
|
- gregdbell@gmail.com
|
@@ -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
|
@@ -77,15 +75,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
77
75
|
requirements:
|
78
76
|
- - ">="
|
79
77
|
- !ruby/object:Gem::Version
|
80
|
-
version: '
|
78
|
+
version: '3.1'
|
81
79
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
82
80
|
requirements:
|
83
81
|
- - ">="
|
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: []
|