arbre 2.2.0 → 2.2.1
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 +6 -0
- data/lib/arbre/context.rb +1 -0
- data/lib/arbre/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 13d1a16dab3134a351e818fa4d2f5e0df3e644c198c9437541bb2751eb5bef0f
|
4
|
+
data.tar.gz: 7bcdab60be3d01b33948fda5987621d35987911bc12035dc8ae5e0b80daab9b2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2bfb5d2d48dd79f859b51cfc1b46cb120677f44d9a4c3d9500f8b96cf7f695f1017045677fe7ed63c2b5885c82547da7db40bd35dc663cf171c1f5765f5792e6
|
7
|
+
data.tar.gz: '098f0b8f4c6a92e7400d0b3f69d9ddd31cd4530b5c2b0b12f8accbac017d3808e17e2f24a52b4e805b374f8ac663b484dafccc6e5f6827fd62f8d90178d68859'
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,9 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 2.2.1 [☰](https://github.com/activeadmin/arbre/compare/v2.2.0...v2.2.1)
|
4
|
+
|
5
|
+
* Ensure Arbre context is properly reset after rendering [#700][] by [@drcapulet][]
|
6
|
+
|
3
7
|
## 2.2.0 [☰](https://github.com/activeadmin/arbre/compare/v2.1.0...v2.2.0)
|
4
8
|
|
5
9
|
* Add some missing HTML5 elements [#655][] by [@tagliala][]
|
@@ -159,6 +163,7 @@ Initial release and extraction from Active Admin
|
|
159
163
|
[#622]: https://github.com/activeadmin/arbre/pull/622
|
160
164
|
[#644]: https://github.com/activeadmin/arbre/pull/644
|
161
165
|
[#655]: https://github.com/activeadmin/arbre/pull/655
|
166
|
+
[#700]: https://github.com/activeadmin/arbre/pull/700
|
162
167
|
|
163
168
|
[@aramvisser]: https://github.com/aramvisser
|
164
169
|
[@LTe]: https://github.com/LTe
|
@@ -184,3 +189,4 @@ Initial release and extraction from Active Admin
|
|
184
189
|
[@javierjulio]: https://github.com/javierjulio
|
185
190
|
[@Earlopain]: https://github.com/Earlopain
|
186
191
|
[@budu]: https://github.com/budu
|
192
|
+
[@drcapulet]: https://github.com/drcapulet
|
data/lib/arbre/context.rb
CHANGED
@@ -90,6 +90,7 @@ module Arbre
|
|
90
90
|
raise ArgumentError, "Can't be in the context of nil. #{@_current_arbre_element_buffer.inspect}" unless tag
|
91
91
|
@_current_arbre_element_buffer.push tag
|
92
92
|
yield
|
93
|
+
ensure
|
93
94
|
@_current_arbre_element_buffer.pop
|
94
95
|
end
|
95
96
|
alias_method :within, :with_current_arbre_element
|
data/lib/arbre/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: arbre
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.2.
|
4
|
+
version: 2.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Greg Bell
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date:
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: activesupport
|
@@ -82,7 +82,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
82
82
|
- !ruby/object:Gem::Version
|
83
83
|
version: '0'
|
84
84
|
requirements: []
|
85
|
-
rubygems_version: 3.6.
|
85
|
+
rubygems_version: 3.6.9
|
86
86
|
specification_version: 4
|
87
87
|
summary: An Object Oriented DOM Tree in Ruby
|
88
88
|
test_files: []
|