metanorma-bipm 2.3.1 → 2.3.2

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: dc14d497173a941f36ed2190583ad2aa327cf205b3c4dc12cd71638804523472
4
- data.tar.gz: 6d3bb20478eacb30ae5141a2d5366dacef224393a51ccc9f1c413693e6c20b14
3
+ metadata.gz: 74d22bd2ec25abd1d2e9ea90f2dd72a86780f17bcaf2e653a3cea2582c1ef27c
4
+ data.tar.gz: 58a3bdc9eaabfd10993dbac2a318a1034d2457233d5bfe1c426f5d8cd13b69bb
5
5
  SHA512:
6
- metadata.gz: fd4a51b12df8205cad882ea3c989109cba33302a75c6e35a694ec1e5359544ffe946254e47406ba9c2405a6fedf5ab17f12d5262f84e69a2f08561d43a67ce1a
7
- data.tar.gz: a6288f12b640596488700982457eb7a9d92186afff22b0c43ee37163ffaf1429050d0dc5ee778149ce16358450b381215201afd19d17f630b2af8d22ab6a1dc4
6
+ metadata.gz: 0a2858e02d293335de27882979c1b158b66f79be55497ba2b7ec5b5a268c43144df07048aac00fc5815477c5292f43cd3071f3b4e05b84480a189f3a23e6ba05
7
+ data.tar.gz: db8fd283bdebfcc0273ba4009545713a140fb4639018f4e839bd27eaede78b7ed0219ff22eec9fcc1a5c254951542ee487eda6ab497ea4e8fb71a5a48ad0be88
data/.gitignore CHANGED
@@ -2,5 +2,4 @@
2
2
  /.byebug_history
3
3
  /.rspec_status
4
4
  /coverage/
5
- /Gemfile.devel
6
5
  /Gemfile.lock
@@ -36,8 +36,7 @@ module IsoDoc
36
36
 
37
37
  def implicit_reference(bib)
38
38
  b = bib.at(ns("./docidentifier[@primary = 'true'][@type = 'BIPM']"))
39
- doctype = bib.at(ns("//bibdata/ext/doctype"))&.text
40
- return true if doctype == "brochure" && /^(CGPM|CIPM|CCDS|CCTF)[  ]
39
+ return true if @doctype == "brochure" && /^(CGPM|CIPM|CCDS|CCTF)[  ]
41
40
  (Resolution|Recommendation|Declaration|Decision|Recommendation|Meeting)/x
42
41
  .match?(b&.text)
43
42
 
@@ -19,7 +19,7 @@ module IsoDoc
19
19
  &.value == "JCGM" and
20
20
  return "jcgm.standard.xsl"
21
21
 
22
- doctype = docxml&.at(ns("//bibdata/ext/doctype"))&.text
22
+ doctype = @doctype
23
23
  doctype = "brochure" unless %w(guide mise-en-pratique rapport)
24
24
  .include? doctype
25
25
  "bipm.#{doctype}.xsl"
@@ -1,5 +1,5 @@
1
1
  module Metanorma
2
2
  module BIPM
3
- VERSION = "2.3.1".freeze
3
+ VERSION = "2.3.2".freeze
4
4
  end
5
5
  end
@@ -27,8 +27,8 @@ Gem::Specification.new do |spec|
27
27
  spec.require_paths = ["lib"]
28
28
  spec.required_ruby_version = Gem::Requirement.new(">= 2.7.0")
29
29
 
30
- spec.add_dependency "metanorma-generic", "~> 2.5.1"
31
- spec.add_dependency "metanorma-iso", "~> 2.5.1"
30
+ spec.add_dependency "metanorma-generic", "~> 2.5.2"
31
+ spec.add_dependency "metanorma-iso", "~> 2.5.2"
32
32
 
33
33
  spec.add_development_dependency "debug"
34
34
  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: 2.3.1
4
+ version: 2.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-08-28 00:00:00.000000000 Z
11
+ date: 2023-09-11 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: 2.5.1
19
+ version: 2.5.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: 2.5.1
26
+ version: 2.5.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: 2.5.1
33
+ version: 2.5.2
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: 2.5.1
40
+ version: 2.5.2
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: debug
43
43
  requirement: !ruby/object:Gem::Requirement