relaton-iec 0.4.0 → 0.4.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
- SHA1:
3
- metadata.gz: 23eafbff8adc2eeb681a3294dcd33ee9bbba5e46
4
- data.tar.gz: 6073ba90262a12ab5c2584424754b5a657705084
2
+ SHA256:
3
+ metadata.gz: '07119c00b2305b22248c286fe2109109c0f155591ddf8cd2796cbc4aaa35c695'
4
+ data.tar.gz: a7631ec9e3eb9b0484ccf1cace3e199303d7a99e23d0da3a7ac0e9d8b39cb820
5
5
  SHA512:
6
- metadata.gz: 5f1fcb49417d2baa88219296f5c31db8333b3c360e477fa56217e190d1992506ec3b15a059ac9e5e47c3e922a2c6bfabda28f2b502458f2e1fade6cede058577
7
- data.tar.gz: 42fe6b9fac32553cedf6b7b5d8eef34f0f1c023cd99d63fd40fe72ca65d7ef3c1f588bb2bc2df2a11fb5cd3a86dd5d1880ac79f3322a5654ce39ae5d99434d36
6
+ metadata.gz: ca6ffa63dafd1993a4d8615f1d4025a8df799625e179ecae80676d9904432d5a5aedc1244482e1bd55ad2adadaead82e711cc6e082f55cc321049771ffaf2f9e
7
+ data.tar.gz: 1368d6ff919457b8ec24363b8381cb0cc34c0f5c2c57847dff405804cab0a87361517c4b51a5bb9c1bd2d0df611488bf47e00a283a9641ea33b1fbcea5b1fc47
@@ -326,7 +326,11 @@ module RelatonIec
326
326
  intro, main, part = titles[0], titles[1], nil
327
327
  end
328
328
  when 3
329
- intro, main, part = titles[0], titles[1], titles[2]
329
+ if /^(Part|Partie) \d+:/ =~ titles[1]
330
+ intro, main, part = nil, titles[0], titles[1..2].join(" - ")
331
+ else
332
+ intro, main, part = titles[0], titles[1], titles[2]
333
+ end
330
334
  else
331
335
  intro, main, part = titles[0], titles[1], titles[2..-1]&.join(" -- ")
332
336
  end
@@ -1,3 +1,3 @@
1
1
  module RelatonIec
2
- VERSION = "0.4.0".freeze
2
+ VERSION = "0.4.1".freeze
3
3
  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: 0.4.0
4
+ version: 0.4.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: 2019-07-24 00:00:00.000000000 Z
11
+ date: 2019-07-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -227,7 +227,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
227
227
  version: '0'
228
228
  requirements: []
229
229
  rubyforge_project:
230
- rubygems_version: 2.6.12
230
+ rubygems_version: 2.7.6
231
231
  signing_key:
232
232
  specification_version: 4
233
233
  summary: 'RelatonIec: retrieve IEC Standards for bibliographic use using the IsoBibliographicItem