saxon-rb 0.8.1-java → 0.8.2-java

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: 6df27e531856a5a894a4af859257eca725b9a4710484bf8a64c4fd0d2eac0204
4
- data.tar.gz: 90744d12f40e81e7473be95a127d0bbe3db509bc9166eb084b9be1c4914f5f77
3
+ metadata.gz: acbb4bdea330972f572d7b67be3aeab00bbd1d7f227933abd10b5cdb0e547dfd
4
+ data.tar.gz: 43505104ffa4e496fc4757749134dbf788c284550571ee4998f3421f74b7bafe
5
5
  SHA512:
6
- metadata.gz: 36b068609252eefac4165cbe8ae807b47c2f50f0618d49c90ed5153a29e7592c0bd288d41a623513dfc9459d383b0c9f75124b0cfff3410196f616af9cdf1e32
7
- data.tar.gz: 4fc409e95b7acfc7ae6b58a1f2b47c7640040fbac7db95e7394ce2d87b8e3f04ab9af9ff852aa1cb37e64dfca2c45a09ca481134e728cf71ddd34070835b50eb
6
+ metadata.gz: 98af570e496b3c224b2d9a5ae3243309644f9fc8bc1a0f7328ec5dc19517acf81fa7aaa096c3b11633ddf464c7efe01d75af6fbafd66839a962444ba3dce6f4a
7
+ data.tar.gz: 58ff0b3268700255466e8b5e92cbf5bd847951c8c0df74b2b2e7633afdffc5568bd4218d7471b4460d4e13a956828268a470ac382b54c1bfdd22f6c91994f169
data/README.md CHANGED
@@ -15,7 +15,7 @@ Parameter creation and passing, are richer and more expressive; results from
15
15
  XSLT, or XPath, that aren't just result trees can be worked with directly in
16
16
  Ruby.
17
17
 
18
- [![Gem Version](https://badge.fury.io/rb/saxon.svg)](http://badge.fury.io/rb/saxon)
18
+ [![Gem Version](https://badge.fury.io/rb/saxon-rb.svg)](http://badge.fury.io/rb/saxon-rb)
19
19
  [![Code Climate](https://codeclimate.com/github/fidothe/saxon-rb/badges/gpa.svg)](https://codeclimate.com/github/fidothe/saxon-rb)
20
20
  [![Test Coverage](https://codeclimate.com/github/fidothe/saxon-rb/badges/coverage.svg)](https://codeclimate.com/github/fidothe/saxon-rb/coverage)
21
21
  [![CircleCI](https://circleci.com/gh/fidothe/saxon-rb.svg?style=svg)](https://circleci.com/gh/fidothe/saxon-rb)
@@ -2,9 +2,9 @@
2
2
  begin
3
3
  require 'jar_dependencies'
4
4
  rescue LoadError
5
- require 'net/sf/saxon/Saxon-HE/9.9.1-6/Saxon-HE-9.9.1-6.jar'
5
+ require 'net/sf/saxon/Saxon-HE/9.9.1-7/Saxon-HE-9.9.1-7.jar'
6
6
  end
7
7
 
8
8
  if defined? Jars
9
- require_jar 'net.sf.saxon', 'Saxon-HE', '9.9.1-6'
9
+ require_jar 'net.sf.saxon', 'Saxon-HE', '9.9.1-7'
10
10
  end
@@ -72,10 +72,7 @@ module Saxon
72
72
  #
73
73
  # @return [Saxon::Version::Library] the constraint version
74
74
  def constraint_version
75
- @constraint_version ||= begin
76
- components = version_string.split('.').map { |n| Integer(n, 10) }
77
- Saxon::Version::Library.new(version_string, components, 'HE')
78
- end
75
+ @constraint_version ||= Saxon::Version::Library.new(version_string, 'HE')
79
76
  end
80
77
 
81
78
  private
@@ -4,6 +4,6 @@ module Saxon
4
4
  # Provides the saxon-rb and underlying Saxon library versions
5
5
  module Version
6
6
  # The version of the saxon-rb gem (not of Saxon itself)
7
- WRAPPER = "0.8.1"
7
+ WRAPPER = "0.8.2"
8
8
  end
9
9
  end
@@ -12,7 +12,7 @@ module Saxon
12
12
  Saxon::Loader.load!
13
13
 
14
14
  sv = Java::net.sf.saxon.Version
15
- new(sv.getProductVersion, sv.getStructuredVersionNumber, sv.softwareEdition)
15
+ new(sv.getProductVersion, sv.softwareEdition)
16
16
  end
17
17
 
18
18
  include Comparable
@@ -27,9 +27,9 @@ module Saxon
27
27
  # @param version [String] the version string
28
28
  # @param components [Array<Integer>] the version components separated
29
29
  # @param edition [String, Symbol] the name of the Saxon edition (e.g. +:he+, +'HE'+)
30
- def initialize(version, components, edition)
30
+ def initialize(version, edition)
31
31
  @version = version.dup.freeze
32
- @components = components.dup.freeze
32
+ @components = version.split('.').map { |n| Integer(n, 10) }
33
33
  @edition = edition.downcase.to_sym
34
34
  end
35
35
 
@@ -24,7 +24,7 @@ It aims to provide an idiomatic Ruby wrapper around all of Saxon's features.}
24
24
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
25
25
  spec.require_paths = ['lib']
26
26
 
27
- spec.requirements << 'jar net.sf.saxon, Saxon-HE, 9.9.1-6'
27
+ spec.requirements << 'jar net.sf.saxon, Saxon-HE, 9.9.1-7'
28
28
 
29
29
  spec.add_development_dependency 'bundler', '~> 2.0'
30
30
  spec.add_development_dependency 'jar-dependencies'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: saxon-rb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.1
4
+ version: 0.8.2
5
5
  platform: java
6
6
  authors:
7
7
  - Matt Patterson
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-08-19 00:00:00.000000000 Z
11
+ date: 2020-10-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
@@ -174,7 +174,7 @@ files:
174
174
  - bin/console
175
175
  - bin/setup
176
176
  - docs/templates/plugin.rb
177
- - lib/net/sf/saxon/Saxon-HE/9.9.1-6/Saxon-HE-9.9.1-6.jar
177
+ - lib/net/sf/saxon/Saxon-HE/9.9.1-7/Saxon-HE-9.9.1-7.jar
178
178
  - lib/saxon-rb.rb
179
179
  - lib/saxon-rb_jars.rb
180
180
  - lib/saxon.rb
@@ -246,7 +246,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
246
246
  - !ruby/object:Gem::Version
247
247
  version: '0'
248
248
  requirements:
249
- - jar net.sf.saxon, Saxon-HE, 9.9.1-6
249
+ - jar net.sf.saxon, Saxon-HE, 9.9.1-7
250
250
  rubygems_version: 3.0.6
251
251
  signing_key:
252
252
  specification_version: 4