relaton-iec 1.18.0 → 1.18.1

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: 23222264df3598c17dc2543b6eb287da61a7f5ae9ea955862335b979324169db
4
- data.tar.gz: fe8d5457ec3c28ff51393f774f293abd0a85cec632fcde1bd0327738d5f82e05
3
+ metadata.gz: 42c487472fac6d984398b47924e667b918159cac919e25b17c5dccbdaecdcfd9
4
+ data.tar.gz: 82074a9b66e1b8922d1fd9e71a9fb6be5b1cbe4978095dfa7a09a88f8ad6d6ac
5
5
  SHA512:
6
- metadata.gz: 9de3730c3c5e0df7fb03c945555cb0485c3036c6d1ee8b794fc78e8d992e7b486ea4d6a55088b784605a183f74a3980bdd2afbc4bd3a5ecf2320a019b1650578
7
- data.tar.gz: 7bcf16a3f7789a8a4d1e4ea9c3fe83b64aff8135858c23623c9013abe7e1e34b3e640e9911088f44a8fea036abce435817bf498ab0059e499a2129c30bed83f6
6
+ metadata.gz: 99f6ef09cb747cbb3ca1ab4da67f1f12021785dbbde45e531019154f070c3b73439f13731239cf00ab5a22791a8dc771220e5b1f686e57f8af210ad5929eb79f
7
+ data.tar.gz: 84374e46847c9d71ef6b0d70e403f1fd613961b6869041731f8bb20dc09aeb17be027d7c49f35b887e272691358c63e17ee072b31545b011e5e91f8a7bf800d6
@@ -11,5 +11,9 @@ module RelatonIec
11
11
  def bib_item(item)
12
12
  IecBibliographicItem.new(**item)
13
13
  end
14
+
15
+ def create_doctype(**args)
16
+ DocumentType.new(**args)
17
+ end
14
18
  end
15
19
  end
@@ -1,3 +1,3 @@
1
1
  module RelatonIec
2
- VERSION = "1.18.0".freeze
2
+ VERSION = "1.18.1".freeze
3
3
  end
@@ -29,6 +29,10 @@ module RelatonIec
29
29
  def bib_item(item_hash)
30
30
  IecBibliographicItem.new(**item_hash)
31
31
  end
32
+
33
+ def create_doctype(type)
34
+ DocumentType.new type: type.text, abbreviation: type[:abbreviation]
35
+ end
32
36
  end
33
37
  end
34
38
  end
data/relaton_iec.gemspec CHANGED
@@ -25,6 +25,6 @@ Gem::Specification.new do |spec|
25
25
 
26
26
  spec.add_dependency "addressable"
27
27
  spec.add_dependency "relaton-index", "~> 0.2.0"
28
- spec.add_dependency "relaton-iso-bib", "~> 1.18.0"
28
+ spec.add_dependency "relaton-iso-bib", "~> 1.18.1"
29
29
  spec.add_dependency "rubyzip"
30
30
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: relaton-iec
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.18.0
4
+ version: 1.18.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-01-07 00:00:00.000000000 Z
11
+ date: 2024-02-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 1.18.0
47
+ version: 1.18.1
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: 1.18.0
54
+ version: 1.18.1
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rubyzip
57
57
  requirement: !ruby/object:Gem::Requirement