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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 52f06d4fa85d31f07ed928b7d1c0106e62f10931f1292464314a95bb9a77e276
4
- data.tar.gz: 54a0f85692dc6e558009550094aeccecbbdfda6c286977eaccd312c6042e438c
3
+ metadata.gz: ce4b5cbf2235ee24e96cec12c0d65dbd7b40b9263ad0bddf5c3424f5ba6ce510
4
+ data.tar.gz: 2cfaa1771ddbc17085b7f6544b3c8d6e8078861337fabfbf3c2dd678220d8cf1
5
5
  SHA512:
6
- metadata.gz: 737ca243a7a520a59968bc8613e31dda5a7f7e859bf06fcdfe9352f268a417dc95fee7e8b7e458cca9337b1d19f79795a97c28da133929e4f0ef236c5bc38352
7
- data.tar.gz: 5767a7fd2688e3242ea9f42030b8cb926eed8e7b1c90c5b8478487ee9b1143931f23493eeb79c53101a3fad40e4987591d2d496f31d0651415d880004806dd49
6
+ metadata.gz: f7c179cbabe818107285b4ccf74be253cca2b6a4c887b0ecc29167f07ee8db48450ae1bf3a6cb560c653c59c9dc05b6a1b80aab45354c9fd055ce75199c40891
7
+ data.tar.gz: d3013275de68a4e5a83df7afe9f4200808f8b9ccc09356d935d27807e2806ad2b5f61fedc0b9523ce1c610f69f9631343e9d2ec0e69b0cf794449e7ee26e034d
@@ -1,5 +1,5 @@
1
1
  module XML
2
2
  module Mixup
3
- VERSION = "0.1.11"
3
+ VERSION = "0.1.12"
4
4
  end
5
5
  end
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?(Hash) ? transform :
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
@@ -25,5 +25,5 @@ Gem::Specification.new do |spec|
25
25
  spec.add_development_dependency "rake", "~> 10.0"
26
26
  spec.add_development_dependency "rspec", "~> 3.0"
27
27
 
28
- spec.add_dependency "nokogiri", "~> 1.10.4"
28
+ spec.add_dependency "nokogiri", ">= 1.10.4"
29
29
  end
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.11
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-08-20 00:00:00.000000000 Z
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
- rubygems_version: 3.0.3
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