relaton-ietf 0.6.2 → 0.6.3

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
  SHA1:
3
- metadata.gz: 9c69238a05d1db80515c947c2fbd9f0929caab9c
4
- data.tar.gz: 9fe4b62072608dec65dd2f0e8ade9c34ff6f18ad
3
+ metadata.gz: 0e5741b3282cc4f2efc6ca3ff4d66439da7a24bf
4
+ data.tar.gz: 6cbff1a777f5dc718ecba62b5db28ff839075c86
5
5
  SHA512:
6
- metadata.gz: 9a36e5d87c5a50cdbbc750eb1062e146f94af4dfeeddbab1beb24ecf89267020e345118870989d3c8cf707d8a61a669d5c2422a1990f73f7f5a2770e6a3e0f04
7
- data.tar.gz: df82ca2459d038b46100ecd61546f852a4215ad073ad0a9a4e4742ade155add153e33d799b3e0dd406048b2bd6e370a64ceb08d776d4141ffb812efc38682807
6
+ metadata.gz: 396045532110d18e268077da989ed68570d7e3ec8c8d1c19eed52745d47a725a9ba83ef3807b5a099a9a4b8d5ee84bddedcb5ddbe3b8f5e0065fb26e8cc75109
7
+ data.tar.gz: 141f7b0c7d6a99615f3aa2e63d816c50d9a6a3a2a566be4dd9777ce12ee62ada82cc101c70bcb9e405d4756e5bba5b43a69193ed842025e47fcab61629ec8b16
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- relaton-ietf (0.6.2)
4
+ relaton-ietf (0.6.3)
5
5
  relaton-bib (~> 0.3.0)
6
6
 
7
7
  GEM
@@ -34,7 +34,7 @@ GEM
34
34
  pry (~> 0.10)
35
35
  public_suffix (3.1.1)
36
36
  rake (10.5.0)
37
- relaton-bib (0.3.4)
37
+ relaton-bib (0.3.5)
38
38
  addressable
39
39
  nokogiri (~> 1.10)
40
40
  rspec (3.8.0)
@@ -28,5 +28,13 @@ module RelatonIetf
28
28
  end
29
29
  end
30
30
  end
31
+
32
+ # @return [Hash]
33
+ def to_hash
34
+ hash = super
35
+ hash["doctype"] = doctype if doctype
36
+ hash["keyword"] = single_element_array(keyword) if keyword&.any?
37
+ hash
38
+ end
31
39
  end
32
40
  end
@@ -1,3 +1,3 @@
1
1
  module RelatonIetf
2
- VERSION = "0.6.2".freeze
2
+ VERSION = "0.6.3".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: relaton-ietf
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.2
4
+ version: 0.6.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-08-13 00:00:00.000000000 Z
11
+ date: 2019-08-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler