metanorma-bipm 1.1.3 → 1.1.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -121,10 +121,9 @@ module IsoDoc
121
121
  d = xml.at(ns("//bibdata/relation[@type = 'supersedes'][#{idx}]"\
122
122
  "/bibitem")) or return ["", ""]
123
123
 
124
- date = d&.at(ns("./date"))&.text
125
124
  draft = d&.at(ns("./version/draft"))&.text and draft = "Draft #{draft}"
126
125
  edn = d&.at(ns("./edition"))&.text and edn = "Version #{edn}"
127
- [[draft, edn].join(" "), date]
126
+ [[draft, edn].join(" "), d&.at(ns("./date"))&.text]
128
127
  end
129
128
 
130
129
  def list_authors(xml)
@@ -168,7 +167,7 @@ module IsoDoc
168
167
  end
169
168
 
170
169
  def twitter_cldr_localiser_symbols
171
- { group: " ", fraction_group: " ",
170
+ { group: " ", fraction_group: " ",
172
171
  fraction_group_digits: 3 }
173
172
  end
174
173
 
@@ -1,5 +1,5 @@
1
1
  module Metanorma
2
2
  module BIPM
3
- VERSION = "1.1.3".freeze
3
+ VERSION = "1.1.6".freeze
4
4
  end
5
5
  end
@@ -24,10 +24,10 @@ Gem::Specification.new do |spec|
24
24
  spec.bindir = "exe"
25
25
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
26
26
  spec.require_paths = ["lib"]
27
- spec.required_ruby_version = Gem::Requirement.new(">= 2.4.0")
27
+ spec.required_ruby_version = Gem::Requirement.new(">= 2.5.0")
28
28
 
29
- spec.add_dependency "metanorma-generic", "~> 1.10.0"
30
- spec.add_dependency "metanorma-iso", "~> 1.8.0"
29
+ spec.add_dependency "metanorma-generic", "~> 1.10.2"
30
+ spec.add_dependency "metanorma-iso", "~> 1.9.0"
31
31
 
32
32
  spec.add_development_dependency "byebug", "~> 9.1"
33
33
  spec.add_development_dependency "equivalent-xml", "~> 0.6"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metanorma-bipm
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.3
4
+ version: 1.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-06-07 00:00:00.000000000 Z
11
+ date: 2021-08-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: metanorma-generic
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 1.10.0
19
+ version: 1.10.2
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 1.10.0
26
+ version: 1.10.2
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: metanorma-iso
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 1.8.0
33
+ version: 1.9.0
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 1.8.0
40
+ version: 1.9.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: byebug
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -264,7 +264,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
264
264
  requirements:
265
265
  - - ">="
266
266
  - !ruby/object:Gem::Version
267
- version: 2.4.0
267
+ version: 2.5.0
268
268
  required_rubygems_version: !ruby/object:Gem::Requirement
269
269
  requirements:
270
270
  - - ">="