relaton-omg 1.4.0 → 1.7.0

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: bd4e8a789f4c1e5802bd5624316c2e8b454b1f5b0e0eb98db65ff5aebf0396f0
4
- data.tar.gz: b18bcf491a31d4ae72225eb575e698e5fe57da04f96bd9d0d84afcec9be42eb4
3
+ metadata.gz: 44617c67b92bfcb21a2bd9539b9e5e32b42ac3e4943e675296808acd998138ca
4
+ data.tar.gz: f62ea028bca7d39ad50516ae1c4dc10af970a86168521a5600e40ecffe9e932a
5
5
  SHA512:
6
- metadata.gz: 0554f97818d7c0fce8faa682d6a618910ff014c04563cc0333024b4925f1f20209994c7174a2d0f9df9e5d8facd4b9eb82941865a835657426fc7e77b01c5116
7
- data.tar.gz: 104dda7962b4846bf162708bce0aa745f816a2ffe4e6f768a65224e20f3b30788f89c77d2d26cfea3ed9f28db440f843f87cb34e3562fc396658851f8d0d911d
6
+ metadata.gz: e9e44d4c5c74245c50ef3d5d23721b77b81dd8720d8e0ca7ddea76364f2d67bf7ab456e076f1e5a9e473396c8faf957eef1060d136a168c8177ddc4d8c195648
7
+ data.tar.gz: 2a6efbb3b678f88f18db49ef26823be9ea40aa76d5fffe98ba1c460fee6a89b963bf0d7340e537bd575d80c2ca8a2acd289a5541a8b00afcf0e1a04d0c867dda
@@ -26,6 +26,8 @@ jobs:
26
26
  - name: Update gems
27
27
  run: |
28
28
  sudo gem install bundler --force
29
+ ruby -v | grep 2.5 && bundle config set build.debase --with-cflags="-Wno-error=implicit-function-declaration"
30
+ ruby -v | grep 2.5 && bundle config set build.ruby-debug-ide --with-cflags="-Wno-error=implicit-function-declaration"
29
31
  bundle install --jobs 4 --retry 3
30
32
  - name: Run specs
31
33
  run: |
@@ -21,10 +21,12 @@ module RelatonOmg
21
21
  end
22
22
  end
23
23
 
24
- # @param builder
25
24
  # @param opts [Hash]
26
- # @option opts [Symbol, NilClass] :date_format (:short), :full
27
- def to_xml(builder = nil, **opts)
25
+ # @option opts [Nokogiri::XML::Builder] :builder XML builder
26
+ # @option opts [Boolean] :bibdata
27
+ # @option opts [String] :lang language
28
+ # @return [String] XML
29
+ def to_xml(**opts)
28
30
  opts[:date_format] ||= :short
29
31
  super
30
32
  end
@@ -1,3 +1,3 @@
1
1
  module RelatonOmg
2
- VERSION = "1.4.0".freeze
2
+ VERSION = "1.7.0".freeze
3
3
  end
@@ -37,5 +37,5 @@ Gem::Specification.new do |spec|
37
37
  spec.add_development_dependency "vcr"
38
38
  spec.add_development_dependency "webmock"
39
39
 
40
- spec.add_dependency "relaton-bib", "~> 1.4.0"
40
+ spec.add_dependency "relaton-bib", "~> 1.7.0"
41
41
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: relaton-omg
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.7.0
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-11-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: byebug
@@ -156,14 +156,14 @@ dependencies:
156
156
  requirements:
157
157
  - - "~>"
158
158
  - !ruby/object:Gem::Version
159
- version: 1.4.0
159
+ version: 1.7.0
160
160
  type: :runtime
161
161
  prerelease: false
162
162
  version_requirements: !ruby/object:Gem::Requirement
163
163
  requirements:
164
164
  - - "~>"
165
165
  - !ruby/object:Gem::Version
166
- version: 1.4.0
166
+ version: 1.7.0
167
167
  description: 'RelatonOmg: retrieve OMG Standards for bibliographic using the IsoBibliographicItem
168
168
  model'
169
169
  email: