rexle 1.0.3 → 1.0.4
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
- checksums.yaml.gz.sig +1 -2
- data.tar.gz.sig +0 -0
- data/lib/rexle.rb +5 -3
- metadata +2 -2
- metadata.gz.sig +2 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 55b16e4bbe8d4d0a6b4a748d5c3be6b18205efaa
|
|
4
|
+
data.tar.gz: 966ca39b29856587c30d542378b9ba1903f84188
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b1a1ff917801b0b2f2679d771e8cfd4939f5c8142c91ca6b979689a721e4d1e243f26f69cbc960dd94ff74c4cfbce7e9e414185c415146bce930aa778285573c
|
|
7
|
+
data.tar.gz: d3bab7a4dcc2bd43a08755db3c302abf2b706854e65a116c4a5482cd1592a0eeaddd21ba3bb6a0376d7b4c72ade734d5c5ae99f613aaf8b179abdcb8e8887afb
|
checksums.yaml.gz.sig
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
��%�h�n���Ry��x���0-��`��|<#$���i^�����۴4L܊�j�����k6e
|
|
1
|
+
{A �%@�ۀ[=�>�����m�$��-�H���w}�@{Mf�"�\4�*�$��P���8�A� ���3���)���
|
data.tar.gz.sig
CHANGED
|
Binary file
|
data/lib/rexle.rb
CHANGED
|
@@ -11,7 +11,9 @@ include REXML
|
|
|
11
11
|
|
|
12
12
|
# modifications:
|
|
13
13
|
|
|
14
|
-
#
|
|
14
|
+
# 14-Mar-2014: bug fix: An XML processing instruction will now only be
|
|
15
|
+
# display if declaration = true
|
|
16
|
+
# 12-Mar-2014: bug fix: Duplicate processing instruction bug fixed
|
|
15
17
|
# 17-Jan-2014: bug fix: Rexle::Element to_a now returns all child elements
|
|
16
18
|
# 31-Dec-2013: feature: now supports processing instructions
|
|
17
19
|
# 18-Dec-2013: feature fix: the result of text() is no longer unescaped
|
|
@@ -69,7 +71,7 @@ module XMLhelper
|
|
|
69
71
|
xml = "<%s%s>%s</%s>" % [self.root.name, a.empty? ? '' : \
|
|
70
72
|
' ' + a.join(' '), body, self.root.name]
|
|
71
73
|
|
|
72
|
-
if self.instructions then
|
|
74
|
+
if self.instructions and declaration then
|
|
73
75
|
processing_instructions() + xml
|
|
74
76
|
else
|
|
75
77
|
xml
|
|
@@ -84,7 +86,7 @@ module XMLhelper
|
|
|
84
86
|
xml = "<%s%s>%s%s%s</%s>" % [self.root.name, a.empty? ? '' : \
|
|
85
87
|
' ' + a.join(' '), ind, body, "\n", self.root.name]
|
|
86
88
|
|
|
87
|
-
if self.instructions then
|
|
89
|
+
if self.instructions and declaration then
|
|
88
90
|
processing_instructions("\n") + "\n" + xml
|
|
89
91
|
else
|
|
90
92
|
xml
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rexle
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- James Robertson
|
|
@@ -31,7 +31,7 @@ cert_chain:
|
|
|
31
31
|
UOGKUMV5RApHDnC0ywMYNe0HK7qMSTP5YLKs8JUjNxpc5jl8+o3D3sHkNN4DzbQm
|
|
32
32
|
jVfzDZ+niKvAUA==
|
|
33
33
|
-----END CERTIFICATE-----
|
|
34
|
-
date: 2014-03-
|
|
34
|
+
date: 2014-03-14 00:00:00.000000000 Z
|
|
35
35
|
dependencies:
|
|
36
36
|
- !ruby/object:Gem::Dependency
|
|
37
37
|
name: rexleparser
|
metadata.gz.sig
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
�
|
|
1
|
+
=1�i�DJ Ɵ����Z���`����_j%.�7Kd$M\1D�k-Ϝp
|
|
2
|
+
�x�ϴѴ����PjBI�X�S9��:��=�ig�����V�/��R�/m�7> ���8k�B�i�rѾ��
|