mn-requirements 0.3.1 → 0.3.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
  SHA256:
3
- metadata.gz: ba924dc80c3e45c7164b660a0415fc57f9e504a353eef2520394e10457cdbcc4
4
- data.tar.gz: 5e365fbe452fc974b49df62dd50f026ebf59138a4a944ae20df769c2072192ca
3
+ metadata.gz: 9d7faec7de04b90325e33382007da89566cc578485f17dde2939c4b663f150db
4
+ data.tar.gz: 8dfb1e298c5d4718d388d176943eb5a6e5ace7e4d763545a14f0b1c7d298de43
5
5
  SHA512:
6
- metadata.gz: aad5df40295c9009f021eae54be6e57a0976ead82165cd1299eb55587e8d313577be4c9bf06f78a42e2d2868bc568ad3d8de904203034656e9e8902727b079f3
7
- data.tar.gz: 9a23a9809a2f6d24a1ab1db10409a4fd232076f42e8060d5efa60789454b958f08df548a949e9e2eced622f80a8e8d30b7c34eb1d943cbf2213de5e3e89884f0
6
+ metadata.gz: c8ab330517add4f6271b12c3799c9f423ccdf672839882c8689190b5199aaf896b78f7078836e29f19d6b7d8518fcbe6ddcd68f1d4cdba378cad4976aef0bc42
7
+ data.tar.gz: dbda6621b004669d91b0e21992e844205d3d98dc5fb53569ea798030321434e7aa0eeefe569d4b56e36cffb3a872b78498090bd8367726bdb300fdca1366703c
@@ -122,10 +122,10 @@ module Metanorma
122
122
  end
123
123
 
124
124
  def add_misc_container(xmldoc)
125
- unless ins = xmldoc.at("//misc-container")
125
+ unless ins = xmldoc.at("//metanorma-extension")
126
126
  a = xmldoc.at("//termdocsource") || xmldoc.at("//bibdata")
127
- a.next = "<misc-container/>"
128
- ins = xmldoc.at("//misc-container")
127
+ a.next = "<metanorma-extension/>"
128
+ ins = xmldoc.at("//metanorma-extension")
129
129
  end
130
130
  ins
131
131
  end
@@ -1,5 +1,5 @@
1
1
  module Metanorma
2
2
  class Requirements
3
- VERSION = "0.3.1".freeze
3
+ VERSION = "0.3.3".freeze
4
4
  end
5
5
  end
@@ -26,7 +26,6 @@ Gem::Specification.new do |spec|
26
26
  spec.required_ruby_version = Gem::Requirement.new(">= 2.7.0")
27
27
 
28
28
  spec.add_dependency "isodoc-i18n", "~> 1.1.2"
29
- spec.add_dependency "metanorma-utils", "~> 1.4.0"
30
29
 
31
30
  spec.add_development_dependency "debug"
32
31
  spec.add_development_dependency "equivalent-xml", "~> 0.6"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mn-requirements
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.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: 2022-12-05 00:00:00.000000000 Z
11
+ date: 2023-03-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: isodoc-i18n
@@ -24,20 +24,6 @@ dependencies:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: 1.1.2
27
- - !ruby/object:Gem::Dependency
28
- name: metanorma-utils
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - "~>"
32
- - !ruby/object:Gem::Version
33
- version: 1.4.0
34
- type: :runtime
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - "~>"
39
- - !ruby/object:Gem::Version
40
- version: 1.4.0
41
27
  - !ruby/object:Gem::Dependency
42
28
  name: debug
43
29
  requirement: !ruby/object:Gem::Requirement