arbre 2.0.1 → 2.1.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 +14 -0
- data/lib/arbre/context.rb +1 -1
- data/lib/arbre/rails/rendering.rb +2 -2
- data/lib/arbre/railtie.rb +3 -3
- data/lib/arbre/version.rb +1 -1
- data/lib/arbre.rb +10 -10
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 37ef1c5e18803525f693ca36673b54057365cd2b4656d98a6fc9be308a87f223
|
4
|
+
data.tar.gz: 66e34efd1665425eba60a36afa68ea4f4e7c1d9dfb0a03641fac726d6faff732
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a2dac5610c0987fbfd6dbeea73ca0281d0fd8af0a2831f7a2c1294c5ac74b65b47337afdf84f08c7b619d5e3aef70e396bd263fae6af128feeea6a5d81e58c11
|
7
|
+
data.tar.gz: e573386132d701114a705d4b8b938b7953b66c806a6a7aba05bdb0a6c52ba19d1c90b76944d484ad9925c390ed0e199de1017f3f38faf5a0a0ef13bb9e479094
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,16 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 2.1.0 [☰](https://github.com/activeadmin/arbre/compare/v2.0.2...v2.1.0)
|
4
|
+
|
5
|
+
* Add support for ViewComponent. [#644][] by [@budu][]
|
6
|
+
* Remove support for Ruby `< 3.1`
|
7
|
+
* Remove support for Rails `< 7.0`
|
8
|
+
* Test against Rails 8.0
|
9
|
+
|
10
|
+
## 2.0.2 [☰](https://github.com/activeadmin/arbre/compare/v2.0.1...v2.0.2)
|
11
|
+
|
12
|
+
* Prefer `require_relative` for internal requires. [#622][] by [@tagliala][]
|
13
|
+
|
3
14
|
## 2.0.1 [☰](https://github.com/activeadmin/arbre/compare/v2.0.0...v2.0.1)
|
4
15
|
|
5
16
|
* Drop dependency on ruby2_keywords. [#578][] by [@Earlopain][]
|
@@ -141,6 +152,8 @@ Initial release and extraction from Active Admin
|
|
141
152
|
[#562]: https://github.com/activeadmin/arbre/pull/562
|
142
153
|
[#578]: https://github.com/activeadmin/arbre/pull/578
|
143
154
|
[#617]: https://github.com/activeadmin/arbre/pull/617
|
155
|
+
[#622]: https://github.com/activeadmin/arbre/pull/622
|
156
|
+
[#644]: https://github.com/activeadmin/arbre/pull/644
|
144
157
|
|
145
158
|
[@aramvisser]: https://github.com/aramvisser
|
146
159
|
[@LTe]: https://github.com/LTe
|
@@ -165,3 +178,4 @@ Initial release and extraction from Active Admin
|
|
165
178
|
[@tomascco]: https://github.com/tomascco
|
166
179
|
[@javierjulio]: https://github.com/javierjulio
|
167
180
|
[@Earlopain]: https://github.com/Earlopain
|
181
|
+
[@budu]: https://github.com/budu
|
data/lib/arbre/context.rb
CHANGED
data/lib/arbre/railtie.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
|
-
|
3
|
-
|
4
|
-
|
2
|
+
require_relative 'rails/template_handler'
|
3
|
+
require_relative 'rails/forms'
|
4
|
+
require_relative 'rails/rendering'
|
5
5
|
require 'rails'
|
6
6
|
|
7
7
|
Arbre::Element.include(Arbre::Rails::Rendering)
|
data/lib/arbre/version.rb
CHANGED
data/lib/arbre.rb
CHANGED
@@ -6,16 +6,16 @@ require 'active_support/inflector'
|
|
6
6
|
module Arbre
|
7
7
|
end
|
8
8
|
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
9
|
+
require_relative 'arbre/element'
|
10
|
+
require_relative 'arbre/context'
|
11
|
+
require_relative 'arbre/html/attributes'
|
12
|
+
require_relative 'arbre/html/class_list'
|
13
|
+
require_relative 'arbre/html/tag'
|
14
|
+
require_relative 'arbre/html/text_node'
|
15
|
+
require_relative 'arbre/html/document'
|
16
|
+
require_relative 'arbre/html/html5_elements'
|
17
|
+
require_relative 'arbre/component'
|
18
18
|
|
19
19
|
if defined?(Rails)
|
20
|
-
|
20
|
+
require_relative 'arbre/railtie'
|
21
21
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: arbre
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0
|
4
|
+
version: 2.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Greg Bell
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-12-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: '7.0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: '7.0'
|
27
27
|
description: Arbre makes it easy to generate HTML directly in Ruby
|
28
28
|
email:
|
29
29
|
- gregdbell@gmail.com
|
@@ -77,14 +77,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
77
77
|
requirements:
|
78
78
|
- - ">="
|
79
79
|
- !ruby/object:Gem::Version
|
80
|
-
version: '
|
80
|
+
version: '3.1'
|
81
81
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
82
82
|
requirements:
|
83
83
|
- - ">="
|
84
84
|
- !ruby/object:Gem::Version
|
85
85
|
version: '0'
|
86
86
|
requirements: []
|
87
|
-
rubygems_version: 3.5.
|
87
|
+
rubygems_version: 3.5.22
|
88
88
|
signing_key:
|
89
89
|
specification_version: 4
|
90
90
|
summary: An Object Oriented DOM Tree in Ruby
|