relaton-iec 0.4.11 → 0.4.12

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: 6d7f75333f38690a37c1603db561839e6961d92cff1ba1a19686927b9c275956
4
- data.tar.gz: 4f3ad3e8d68061752214bbbedf6b15b7ae4f76d24353b1bc8642780f79ac719e
3
+ metadata.gz: 7ffda8bff3cfc8eb622b02dc02ab54dcd1a585e1e510b279d1e8b86b84f33e81
4
+ data.tar.gz: fa65f4f24e2215170c3c6e000cd297c3f1080c2bf8472dc9518acea873fc499d
5
5
  SHA512:
6
- metadata.gz: 62a41738294652537a9749c916da12ede2ef39818d22b362a36838295f411e284bc73b4a6f7d472b2fe2dcff3c5ddabd2eac2723290ca91350035960fbcaecb8
7
- data.tar.gz: 22e6b926519024b7e7f768e784048f78dee7b7a4c5dd836bab818be3fad8c101dfd7b511f2ef432459f91370bdd742f462fea77bc77bd140f6c1a43cf4fc3a41
6
+ metadata.gz: f8b5af3a9860cd6bbbfd302f0265f5c900987e48b611822687e314d8a1a2722424bd437d33136bc799773c315510b69c8021af10f7dbc42aa898dd1cc9d391a7
7
+ data.tar.gz: 9e0d30dfdd67ad3e90029c4891ed611552c99ca4828244fa7f68e278eab88e28ae5947d691f6180c219d90c61153f035c7cf0a4764989863f30ec62238410cdf
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- relaton-iec (0.4.11)
4
+ relaton-iec (0.4.12)
5
5
  addressable
6
6
  relaton-iso-bib (~> 0.3.0)
7
7
 
@@ -38,8 +38,8 @@ module RelatonIec
38
38
 
39
39
  return iev if code.casecmp("IEV").zero?
40
40
 
41
- opts[:all_parts] ||= !(code = code.sub(" (all parts)", "")).nil?
42
- # code += "-1" if opts[:all_parts]
41
+ opts[:all_parts] ||= !(code =~ / \(all parts\)/).nil?
42
+ code = code.sub(/ \(all parts\)/, "")
43
43
  ret = iecbib_get1(code, year, opts)
44
44
  return nil if ret.nil?
45
45
 
@@ -1,3 +1,3 @@
1
1
  module RelatonIec
2
- VERSION = "0.4.11".freeze
2
+ VERSION = "0.4.12".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: relaton-iec
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.11
4
+ version: 0.4.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.