relaton-ogc 1.4.0 → 1.5.pre

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: 61e0fa8b5d0b490c0f9202c6810b4e14b86d159d8f1597117585a1483abaf017
4
- data.tar.gz: 89ec958bb6e7a8fcdc7d396f3acbf50c42c6cdf6ca1162368796450412c659a3
3
+ metadata.gz: fc39d17ed04cfaca8b1e544cf4a511ebd4ee8b4566904a27fa31ff3fba2a97ab
4
+ data.tar.gz: ab98f0bf8e099d4f1d80368063e6759615145a13d885d30f2574c5d895a32f89
5
5
  SHA512:
6
- metadata.gz: 2e73e39acf5542e32647ad6a37a3dde030303a9b1a53c771c611a31fb825ddfdda5cc9c3ceb80e4f8ed51649c2d061c9dfaa0cba704609499ef8da29823f045b
7
- data.tar.gz: 750aa6c94fffa2f464cccc6e6cd00fc1f4e26dd81c86351877bac886188a9f69566e95764df814ba918f6922b02cf29289699e29175d3ea8f35ff0e1cfc342d9
6
+ metadata.gz: 46b575cb7ff292f68a36c430ed70ea6b51874397be121e31b935987c516df7122843ba2bd2a5e81de33f1781d830c46f1057aeef5d85e1823c4f3faef3bc1df5
7
+ data.tar.gz: 1aace3ee28f612164e47859d6bda6a3ce547806099a311a20f0ed3f2ff847922c8d01137238830dc008f42eb96a1b2374286173eaf6f330bfda726b79a63daaf
@@ -36,11 +36,14 @@ module RelatonOgc
36
36
  hash
37
37
  end
38
38
 
39
- # @param builder [Nokogiri::XML::Builder]
40
39
  # @param opts [Hash]
40
+ # @option opts [Nokogiri::XML::Builder] :builder XML builder
41
41
  # @option opts [Boolean] :bibdata
42
- def to_xml(builder = nil, **opts)
43
- super do |b|
42
+ # @option opts [Symbol, NilClass] :date_format (:short), :full
43
+ # @option opts [String, Symbol] :lang language
44
+ # @return [String] XML
45
+ def to_xml(**opts)
46
+ super **opts do |b|
44
47
  b.ext do
45
48
  b.doctype doctype if doctype
46
49
  b.docsubtype docsubtype if docsubtype
@@ -1,3 +1,3 @@
1
1
  module RelatonOgc
2
- VERSION = "1.4.0".freeze
2
+ VERSION = "1.5.pre".freeze
3
3
  end
@@ -36,5 +36,5 @@ Gem::Specification.new do |spec|
36
36
  spec.add_development_dependency "webmock"
37
37
 
38
38
  spec.add_dependency "faraday", "~> 1.0.0"
39
- spec.add_dependency "relaton-iso-bib", "~> 1.4.0"
39
+ spec.add_dependency "relaton-iso-bib", "~> 1.5.pre"
40
40
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: relaton-ogc
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.5.pre
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-09-18 00:00:00.000000000 Z
11
+ date: 2020-10-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: debase
@@ -170,14 +170,14 @@ dependencies:
170
170
  requirements:
171
171
  - - "~>"
172
172
  - !ruby/object:Gem::Version
173
- version: 1.4.0
173
+ version: 1.5.pre
174
174
  type: :runtime
175
175
  prerelease: false
176
176
  version_requirements: !ruby/object:Gem::Requirement
177
177
  requirements:
178
178
  - - "~>"
179
179
  - !ruby/object:Gem::Version
180
- version: 1.4.0
180
+ version: 1.5.pre
181
181
  description: 'RelatonOgc: retrieve OGC Standards for bibliographic use using the OgcBibliographicItem
182
182
  model'
183
183
  email:
@@ -230,9 +230,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
230
230
  version: '0'
231
231
  required_rubygems_version: !ruby/object:Gem::Requirement
232
232
  requirements:
233
- - - ">="
233
+ - - ">"
234
234
  - !ruby/object:Gem::Version
235
- version: '0'
235
+ version: 1.3.1
236
236
  requirements: []
237
237
  rubygems_version: 3.0.6
238
238
  signing_key: