oga 0.2.1 → 0.2.2
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/doc/changelog.md +13 -0
- data/lib/oga/version.rb +1 -1
- data/lib/oga/xml/element.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 247e43a260baacd5fbe3e8f056b9c39f08e285f0
|
|
4
|
+
data.tar.gz: 9b50321c8055869ad313ae19759c458c385edd61
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 04e765350371c2f00117de7107b4ea84cc69508cac0e17c35d9902b39d1f28738ecf0112fc6417b756cf82f4c46023d274f32063baca350c812dbe2da5b0f59f
|
|
7
|
+
data.tar.gz: 5756afd4a8a2f1b205532b25f8d33d58103fe81a7c39bae856ac56e828eb7e706905d7f123d27eefd653305f900cd24372cf2e901ccb41276694b3e0aef187c3
|
data/doc/changelog.md
CHANGED
|
@@ -3,6 +3,19 @@
|
|
|
3
3
|
This document contains details of the various releases and their release dates.
|
|
4
4
|
Dates are in the format `yyyy-mm-dd`.
|
|
5
5
|
|
|
6
|
+
## 0.2.2 - 2015-03-03
|
|
7
|
+
|
|
8
|
+
This release fixes a bug where setting the text of an element using
|
|
9
|
+
`Oga::XML::Element#inner_text=` would not set the parent element of the newly
|
|
10
|
+
created text node. This would result in the following:
|
|
11
|
+
|
|
12
|
+
some_element.inner_text = 'foo'
|
|
13
|
+
|
|
14
|
+
some_element.children[0].parent # => nil
|
|
15
|
+
|
|
16
|
+
Here `parent` is supposed to return `some_element` instead. See commit
|
|
17
|
+
142b467277dc9864df8279347ba737ddf60f4836 for more information.
|
|
18
|
+
|
|
6
19
|
## 0.2.1 - 2015-03-02
|
|
7
20
|
|
|
8
21
|
### Proper HTML serializing support for script tags
|
data/lib/oga/version.rb
CHANGED
data/lib/oga/xml/element.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: oga
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Yorick Peterse
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-03-
|
|
11
|
+
date: 2015-03-03 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: racc
|