rexslt 0.6.9 → 0.6.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/lib/rexslt.rb +5 -2
- metadata +7 -7
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 49609e823832f229b9b98ebf10d1ebb0d6251546
|
4
|
+
data.tar.gz: a67bcabcfbfa2695f19cf0fdff086cbc19aa292a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1306b786dfba5a16014f07f9650a8a74e424aa54f7439dec75c0cf3bbc1e29d2585cfdb863d5a3106ebf53278bb777514126210cd111f90fd9f20a6e489926d4
|
7
|
+
data.tar.gz: 4b9dab46ea711da05a0ecf2d81e07a7468822f34e8a398376cc37ba25720f182664a0f612bdf3591a1b2f7e512f02c000e64d6584935f4b66154a12ca39a6434
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/rexslt.rb
CHANGED
@@ -8,6 +8,7 @@ require 'rxfhelper'
|
|
8
8
|
|
9
9
|
# modifications:
|
10
10
|
|
11
|
+
# 19-Jan-2018: feature: Implemented Rexslt#to_xml which returns pretty XML
|
11
12
|
# 16-Sep-2017: improvement: all predicates in an xsl:choose
|
12
13
|
# condition now must be true
|
13
14
|
# 15-Sep-2017: feature: Implemented xsl_call_template
|
@@ -76,12 +77,14 @@ class Rexslt
|
|
76
77
|
end
|
77
78
|
|
78
79
|
def to_s(options={})
|
79
|
-
@doc.to_s(@options.merge(options)).sub(
|
80
|
+
@doc.to_s(@options.merge(options)).sub(/<root>\n/,'').sub(/<\/root>$/m,'')
|
80
81
|
end
|
81
82
|
|
82
83
|
def to_doc(); @doc; end
|
83
84
|
|
84
|
-
|
85
|
+
def to_xml()
|
86
|
+
@doc.root.xml(pretty: true).sub(/<root>\n/,'').sub(/<\/root>$/m,'')
|
87
|
+
end
|
85
88
|
|
86
89
|
private
|
87
90
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rexslt
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -31,7 +31,7 @@ cert_chain:
|
|
31
31
|
f4Fi5ORmK9ccbijkIGmH2JdFYi07Fax/6a8TgcpbSrICHncFAvvPo8hxuUR+aHvg
|
32
32
|
wux0hu0gdmk8nA==
|
33
33
|
-----END CERTIFICATE-----
|
34
|
-
date:
|
34
|
+
date: 2018-01-19 00:00:00.000000000 Z
|
35
35
|
dependencies:
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: rxfhelper
|
@@ -42,7 +42,7 @@ dependencies:
|
|
42
42
|
version: '0.4'
|
43
43
|
- - ">="
|
44
44
|
- !ruby/object:Gem::Version
|
45
|
-
version: 0.4.
|
45
|
+
version: 0.4.3
|
46
46
|
type: :runtime
|
47
47
|
prerelease: false
|
48
48
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -52,7 +52,7 @@ dependencies:
|
|
52
52
|
version: '0.4'
|
53
53
|
- - ">="
|
54
54
|
- !ruby/object:Gem::Version
|
55
|
-
version: 0.4.
|
55
|
+
version: 0.4.3
|
56
56
|
- !ruby/object:Gem::Dependency
|
57
57
|
name: rexle
|
58
58
|
requirement: !ruby/object:Gem::Requirement
|
@@ -62,7 +62,7 @@ dependencies:
|
|
62
62
|
version: '1.4'
|
63
63
|
- - ">="
|
64
64
|
- !ruby/object:Gem::Version
|
65
|
-
version: 1.4.
|
65
|
+
version: 1.4.12
|
66
66
|
type: :runtime
|
67
67
|
prerelease: false
|
68
68
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -72,7 +72,7 @@ dependencies:
|
|
72
72
|
version: '1.4'
|
73
73
|
- - ">="
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: 1.4.
|
75
|
+
version: 1.4.12
|
76
76
|
description:
|
77
77
|
email: james@jamesrobertson.eu
|
78
78
|
executables: []
|
@@ -100,7 +100,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
100
100
|
version: '0'
|
101
101
|
requirements: []
|
102
102
|
rubyforge_project:
|
103
|
-
rubygems_version: 2.6.
|
103
|
+
rubygems_version: 2.6.13
|
104
104
|
signing_key:
|
105
105
|
specification_version: 4
|
106
106
|
summary: Rexslt is an XSLT processor written purely in Ruby
|
metadata.gz.sig
CHANGED
Binary file
|