relaton-omg 1.2.0 → 1.3.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: 95358cd97eb5e57d89796cd576823870ba14b90170e41c4e55049bd6f9e882e6
4
- data.tar.gz: 303a67358ba69844fda736dbac7c9f3371fad5e628c8c96e57d6c410bbd007bd
3
+ metadata.gz: 461b489469b4151a5dd567d6cfd8975064159e3bdbbe76519de89a3899931e6f
4
+ data.tar.gz: 359b1434d7a61eacaa64eda1e436a143ef9756eb72e8f65bc330286e8f203119
5
5
  SHA512:
6
- metadata.gz: 4ead4e445761222bf23d930c847312fc1b201cbe6d6341ef46095e28c266a622da7870502662d906d02dfd43dc00902984ffd27ac9d0dc0fc48130ca9d26f139
7
- data.tar.gz: a978285aee9841457e723ce83055b35e83b2dc1b42ae5381e709061fe6b48ecaddbdb6dd1627af5fa2a030f5cb9ccc4bc94670ad83c3e3a878e7cbd6c2f4b8e3
6
+ metadata.gz: 46f765bf50f8a4402acfd3350636c4f1f50771b444e344348d9aafc81f1726915a08ed0a41de296c756fc59fe22fe58d644d56a758e17a6b11caf02912c0b760
7
+ data.tar.gz: 894fe0f9ab20ba7c20b31050cfcc79571997dbb6ee9d4e98add50ce8637bbac93ab7ba022894b873d3faf439aef18b79cd1eebaf81b051ef1724471ee2050380
@@ -29,4 +29,5 @@ jobs:
29
29
  bundle install --jobs 4 --retry 3
30
30
  - name: Run specs
31
31
  run: |
32
+ unset JAVA_TOOL_OPTIONS
32
33
  bundle exec rake
@@ -5,6 +5,6 @@
5
5
  inherit_from:
6
6
  - https://raw.githubusercontent.com/riboseinc/oss-guides/master/ci/rubocop.yml
7
7
  AllCops:
8
- TargetRubyVersion: 2.3
8
+ TargetRubyVersion: 2.4
9
9
  Rails:
10
- Enabled: true
10
+ Enabled: false
@@ -1,15 +1,6 @@
1
1
  module RelatonOmg
2
2
  class OmgBibliographicItem < RelatonBib::BibliographicItem
3
3
  # @return [String, NilClass]
4
- attr_reader :doctype
5
-
6
- # @param doctype [String]
7
- # @param keyword [Array<String>]
8
- def initialize(**args)
9
- super
10
- # @doctype = args[:doctype]
11
- end
12
-
13
4
  class << self
14
5
  # @param file [String] path to YAML file
15
6
  # @return [RelatonOmg::OmgBibliographicItem]
@@ -35,20 +26,7 @@ module RelatonOmg
35
26
  # @option opts [Symbol, NilClass] :date_format (:short), :full
36
27
  def to_xml(builder = nil, **opts)
37
28
  opts[:date_format] ||= :short
38
- super builder, **opts do |b|
39
- # if opts[:bibdata]
40
- # b.ext do
41
- # b.doctype doctype if doctype
42
- # end
43
- # end
44
- end
45
- end
46
-
47
- # @return [Hash]
48
- def to_hash
49
- hash = super
50
- hash["doctype"] = doctype if doctype
51
- hash
29
+ super
52
30
  end
53
31
  end
54
32
  end
@@ -1,3 +1,3 @@
1
1
  module RelatonOmg
2
- VERSION = "1.2.0".freeze
2
+ VERSION = "1.3.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.2.0"
40
+ spec.add_dependency "relaton-bib", "~> 1.3.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.2.0
4
+ version: 1.3.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-06-26 00:00:00.000000000 Z
11
+ date: 2020-08-20 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.2.0
159
+ version: 1.3.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.2.0
166
+ version: 1.3.0
167
167
  description: 'RelatonOmg: retrieve OMG Standards for bibliographic using the IsoBibliographicItem
168
168
  model'
169
169
  email: