xml-mixup 0.1.11 → 0.1.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/xml/mixup/version.rb +1 -1
- data/lib/xml/mixup.rb +2 -1
- data/xml-mixup.gemspec +1 -1
- metadata +6 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ce4b5cbf2235ee24e96cec12c0d65dbd7b40b9263ad0bddf5c3424f5ba6ce510
|
4
|
+
data.tar.gz: 2cfaa1771ddbc17085b7f6544b3c8d6e8078861337fabfbf3c2dd678220d8cf1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f7c179cbabe818107285b4ccf74be253cca2b6a4c887b0ecc29167f07ee8db48450ae1bf3a6cb560c653c59c9dc05b6a1b80aab45354c9fd055ce75199c40891
|
7
|
+
data.tar.gz: d3013275de68a4e5a83df7afe9f4200808f8b9ccc09356d935d27807e2806ad2b5f61fedc0b9523ce1c610f69f9631343e9d2ec0e69b0cf794449e7ee26e034d
|
data/lib/xml/mixup/version.rb
CHANGED
data/lib/xml/mixup.rb
CHANGED
@@ -440,7 +440,8 @@ module XML::Mixup
|
|
440
440
|
|
441
441
|
# add xslt stylesheet
|
442
442
|
if transform
|
443
|
-
spec << (transform.is_a?(
|
443
|
+
spec << (transform.is_a?(Nokogiri::XML::ProcessingInstruction) ?
|
444
|
+
transform.dup : transform.is_a?(Hash) ? transform :
|
444
445
|
{ '#pi' => 'xml-stylesheet', type: 'text/xsl', href: transform })
|
445
446
|
end
|
446
447
|
|
data/xml-mixup.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: xml-mixup
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dorian Taylor
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-12-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -56,14 +56,14 @@ dependencies:
|
|
56
56
|
name: nokogiri
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - "
|
59
|
+
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: 1.10.4
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- - "
|
66
|
+
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: 1.10.4
|
69
69
|
description: XML::Mixup uses declarative data structures to incrementally generate
|
@@ -104,7 +104,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
104
104
|
- !ruby/object:Gem::Version
|
105
105
|
version: '0'
|
106
106
|
requirements: []
|
107
|
-
|
107
|
+
rubyforge_project:
|
108
|
+
rubygems_version: 2.7.6.2
|
108
109
|
signing_key:
|
109
110
|
specification_version: 4
|
110
111
|
summary: A mixin for (XML) markup
|