oga 2.9-java → 2.10-java
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/lib/liboga.jar +0 -0
- data/lib/oga/version.rb +1 -1
- data/lib/oga/xml/element.rb +6 -6
- 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: 90af3fae974cdb945df6dfa952f9196379326edc
|
4
|
+
data.tar.gz: 2162af9689c42d89e7a36da721316f7b5dc65c86
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b1c5647df79713928315dd968371766667d26d0300559018b5d4bf88500cc474901fba2e36e087fe0d1885987203706e51aee7b94b23f644344fe17fe842eaaa
|
7
|
+
data.tar.gz: 7dff70deac042976831a70f40fa5b23f5a87e6a789aa521e4b454ffdebdc28eb7c9c95f05da9c1f06ea4d677a6dd1488b31236e3ce5517e5fecd6595e324c20c
|
data/lib/liboga.jar
CHANGED
Binary file
|
data/lib/oga/version.rb
CHANGED
data/lib/oga/xml/element.rb
CHANGED
@@ -64,14 +64,14 @@ module Oga
|
|
64
64
|
#
|
65
65
|
# @return [Oga::XML::Attribute]
|
66
66
|
def attribute(name)
|
67
|
-
if html?
|
68
|
-
|
67
|
+
name_str, ns = if html?
|
68
|
+
[name.to_s, nil]
|
69
69
|
else
|
70
|
-
|
70
|
+
split_name(name)
|
71
71
|
end
|
72
72
|
|
73
73
|
attributes.each do |attr|
|
74
|
-
return attr if attribute_matches?(attr, ns,
|
74
|
+
return attr if attribute_matches?(attr, ns, name_str)
|
75
75
|
end
|
76
76
|
|
77
77
|
return
|
@@ -115,10 +115,10 @@ module Oga
|
|
115
115
|
if found
|
116
116
|
found.value = value
|
117
117
|
else
|
118
|
-
|
118
|
+
name_str, ns = split_name(name)
|
119
119
|
|
120
120
|
attr = Attribute.new(
|
121
|
-
:name =>
|
121
|
+
:name => name_str,
|
122
122
|
:namespace_name => ns,
|
123
123
|
:value => value
|
124
124
|
)
|
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: '2.
|
4
|
+
version: '2.10'
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- Yorick Peterse
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-04-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|