saxon-xslt 0.7.2.1-java → 0.8.0-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/.travis.yml +4 -3
- data/Gemfile +2 -0
- data/lib/saxon/configuration.rb +32 -1
- data/lib/saxon/loader.rb +83 -0
- data/lib/saxon/processor.rb +2 -1
- data/lib/saxon/s9api.rb +11 -9
- data/lib/saxon/xml.rb +10 -10
- data/lib/saxon/xslt.rb +7 -3
- data/lib/saxon/xslt/version.rb +1 -1
- data/saxon-licenses/CERN.txt +12 -12
- data/saxon-licenses/JAMESCLARK.txt +31 -31
- data/saxon-licenses/LICENSE.txt +376 -376
- data/saxon-licenses/THAI.txt +39 -39
- data/saxon-licenses/UNICODE.txt +38 -38
- data/saxon-xslt.gemspec +6 -6
- data/spec/fixtures/cassettes/Saxon_SourceHelper/returning_a_StreamSource/StreamSource_systemId/for_inputs_where_we_can_infer_the_path_or_URI/is_set_to_an_open-uri_d_URI_s_URI.yml +61 -0
- data/spec/fixtures/cassettes/Saxon_SourceHelper/returning_a_StreamSource/StreamSource_systemId/for_inputs_where_we_can_infer_the_path_or_URI/overrides_the_inferred_system_ID_if_set_explicitly.yml +61 -0
- data/spec/fixtures/cassettes/Saxon_SourceHelper/returning_a_StreamSource/for_input_backed_by_an_InputStream/converts_an_open-uri_d_Uri_correctly.yml +119 -0
- data/spec/fixtures/config.xml +2 -2
- data/spec/saxon/xml_spec.rb +2 -3
- data/spec/spec_helper.rb +7 -0
- data/vendor/saxonica/saxon9he.jar +0 -0
- metadata +20 -14
- data/vendor/saxonica/saxon9-unpack.jar +0 -0
- data/vendor/saxonica/saxon9-xqj.jar +0 -0
data/spec/spec_helper.rb
CHANGED
@@ -8,6 +8,13 @@ module FixtureHelpers
|
|
8
8
|
end
|
9
9
|
end
|
10
10
|
|
11
|
+
if ENV['SAXON_PE'] && ['SAXON_LICENSE']
|
12
|
+
require 'saxon/configuration'
|
13
|
+
Saxon::Loader.load! ENV['SAXON_PE']
|
14
|
+
licensed_config = Saxon::Configuration.create_licensed(ENV['SAXON_LICENSE'])
|
15
|
+
Saxon::Configuration.set_licensed_default!(licensed_config)
|
16
|
+
end
|
17
|
+
|
11
18
|
VCR.configure do |c|
|
12
19
|
c.cassette_library_dir = 'spec/fixtures/cassettes'
|
13
20
|
c.hook_into :webmock
|
Binary file
|
metadata
CHANGED
@@ -1,21 +1,21 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: saxon-xslt
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.8.0
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- Matt Patterson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-12-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|
15
15
|
requirements:
|
16
16
|
- - ~>
|
17
17
|
- !ruby/object:Gem::Version
|
18
|
-
version: '
|
18
|
+
version: '10.1'
|
19
19
|
name: rake
|
20
20
|
prerelease: false
|
21
21
|
type: :development
|
@@ -23,7 +23,7 @@ dependencies:
|
|
23
23
|
requirements:
|
24
24
|
- - ~>
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
26
|
+
version: '10.1'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
requirement: !ruby/object:Gem::Requirement
|
29
29
|
requirements:
|
@@ -43,7 +43,7 @@ dependencies:
|
|
43
43
|
requirements:
|
44
44
|
- - ~>
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version:
|
46
|
+
version: 2.9.2
|
47
47
|
name: vcr
|
48
48
|
prerelease: false
|
49
49
|
type: :development
|
@@ -51,7 +51,7 @@ dependencies:
|
|
51
51
|
requirements:
|
52
52
|
- - ~>
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version:
|
54
|
+
version: 2.9.2
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
requirement: !ruby/object:Gem::Requirement
|
57
57
|
requirements:
|
@@ -71,7 +71,7 @@ dependencies:
|
|
71
71
|
requirements:
|
72
72
|
- - ~>
|
73
73
|
- !ruby/object:Gem::Version
|
74
|
-
version:
|
74
|
+
version: 1.18.0
|
75
75
|
name: webmock
|
76
76
|
prerelease: false
|
77
77
|
type: :development
|
@@ -79,13 +79,13 @@ dependencies:
|
|
79
79
|
requirements:
|
80
80
|
- - ~>
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version:
|
82
|
+
version: 1.18.0
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
requirement: !ruby/object:Gem::Requirement
|
85
85
|
requirements:
|
86
86
|
- - ~>
|
87
87
|
- !ruby/object:Gem::Version
|
88
|
-
version: 0.
|
88
|
+
version: 0.8.7
|
89
89
|
name: yard
|
90
90
|
prerelease: false
|
91
91
|
type: :development
|
@@ -93,13 +93,13 @@ dependencies:
|
|
93
93
|
requirements:
|
94
94
|
- - ~>
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: 0.
|
96
|
+
version: 0.8.7
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
requirement: !ruby/object:Gem::Requirement
|
99
99
|
requirements:
|
100
100
|
- - ~>
|
101
101
|
- !ruby/object:Gem::Version
|
102
|
-
version: '0.
|
102
|
+
version: '0.13'
|
103
103
|
name: simplecov
|
104
104
|
prerelease: false
|
105
105
|
type: :development
|
@@ -107,7 +107,7 @@ dependencies:
|
|
107
107
|
requirements:
|
108
108
|
- - ~>
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version: '0.
|
110
|
+
version: '0.13'
|
111
111
|
description: Wraps the Saxon 9.5 HE XSLT 2.0 processor so that you can transform XSLT 2 stylesheets in JRuby. Sticks closely to the Nokogiri API
|
112
112
|
email:
|
113
113
|
- matt@reprocessed.org
|
@@ -125,6 +125,7 @@ files:
|
|
125
125
|
- Rakefile
|
126
126
|
- lib/saxon-xslt.rb
|
127
127
|
- lib/saxon/configuration.rb
|
128
|
+
- lib/saxon/loader.rb
|
128
129
|
- lib/saxon/processor.rb
|
129
130
|
- lib/saxon/s9api.rb
|
130
131
|
- lib/saxon/source_helper.rb
|
@@ -137,6 +138,9 @@ files:
|
|
137
138
|
- saxon-licenses/THAI.txt
|
138
139
|
- saxon-licenses/UNICODE.txt
|
139
140
|
- saxon-xslt.gemspec
|
141
|
+
- spec/fixtures/cassettes/Saxon_SourceHelper/returning_a_StreamSource/StreamSource_systemId/for_inputs_where_we_can_infer_the_path_or_URI/is_set_to_an_open-uri_d_URI_s_URI.yml
|
142
|
+
- spec/fixtures/cassettes/Saxon_SourceHelper/returning_a_StreamSource/StreamSource_systemId/for_inputs_where_we_can_infer_the_path_or_URI/overrides_the_inferred_system_ID_if_set_explicitly.yml
|
143
|
+
- spec/fixtures/cassettes/Saxon_SourceHelper/returning_a_StreamSource/for_input_backed_by_an_InputStream/converts_an_open-uri_d_Uri_correctly.yml
|
140
144
|
- spec/fixtures/config.xml
|
141
145
|
- spec/fixtures/eg.xml
|
142
146
|
- spec/fixtures/eg.xsl
|
@@ -148,8 +152,6 @@ files:
|
|
148
152
|
- spec/saxon/xml_spec.rb
|
149
153
|
- spec/saxon/xslt_spec.rb
|
150
154
|
- spec/spec_helper.rb
|
151
|
-
- vendor/saxonica/saxon9-unpack.jar
|
152
|
-
- vendor/saxonica/saxon9-xqj.jar
|
153
155
|
- vendor/saxonica/saxon9he.jar
|
154
156
|
homepage: https://github.com/fidothe/saxon-xslt
|
155
157
|
licenses:
|
@@ -177,6 +179,9 @@ signing_key:
|
|
177
179
|
specification_version: 4
|
178
180
|
summary: Saxon 9.5 HE XSLT 2.0 for JRuby with Nokogiri's API
|
179
181
|
test_files:
|
182
|
+
- spec/fixtures/cassettes/Saxon_SourceHelper/returning_a_StreamSource/StreamSource_systemId/for_inputs_where_we_can_infer_the_path_or_URI/is_set_to_an_open-uri_d_URI_s_URI.yml
|
183
|
+
- spec/fixtures/cassettes/Saxon_SourceHelper/returning_a_StreamSource/StreamSource_systemId/for_inputs_where_we_can_infer_the_path_or_URI/overrides_the_inferred_system_ID_if_set_explicitly.yml
|
184
|
+
- spec/fixtures/cassettes/Saxon_SourceHelper/returning_a_StreamSource/for_input_backed_by_an_InputStream/converts_an_open-uri_d_Uri_correctly.yml
|
180
185
|
- spec/fixtures/config.xml
|
181
186
|
- spec/fixtures/eg.xml
|
182
187
|
- spec/fixtures/eg.xsl
|
@@ -188,3 +193,4 @@ test_files:
|
|
188
193
|
- spec/saxon/xml_spec.rb
|
189
194
|
- spec/saxon/xslt_spec.rb
|
190
195
|
- spec/spec_helper.rb
|
196
|
+
has_rdoc:
|
Binary file
|
Binary file
|