pubid-iso 0.3.0 → 0.3.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
2
  SHA256:
3
- metadata.gz: 418f8b225027cf9b50cb2ec43aad7d043b3bfd0db87733366c6021df8f92f940
4
- data.tar.gz: fd9a028a0cb2721b4422b2f515aa46263c7d713da57e02c8fc1ed4c54c22f737
3
+ metadata.gz: 5c1a3c2eac1820acf806b7b6bc9623b1d485049d96423409b5c2d78d41159d1f
4
+ data.tar.gz: 39479f01a5fc68ffdf0eb1f5c4039f75fa7ab0e695647973e604ae8773f5361a
5
5
  SHA512:
6
- metadata.gz: bf1f97bde499237e29b24b793d7e9fe115e03e42a92471a549f90aea9c416ddc357fcfd95079a97bff4b200b4fe8c93f786fc8e3c8256ad3275f2365f9c946e8
7
- data.tar.gz: d4b53365fc22d587b204a7c38fcaf362e7f85b5cc5a07767ecb4f97fe5c7a3b8c70c3e24c8c30b63166321bd4f757f7d6658df154a4ccab4715ae94c62e8f17e
6
+ metadata.gz: d9f2feda42850c68a4bd1782fa7130ac0e2bfddc15956dd07f85208b6ba3dcd2bc8d48fac6a81b01d2393a5a188b041faf88f8607be84d4dc50524561271e54c
7
+ data.tar.gz: 783336d94b8b9ec835850e8a4d9b25fefd19996f740982eebca19a70954f8672e395b0ba8080efcb585e770cef46e8b795ae9a1363e4733c663e024eb950926f
@@ -87,14 +87,14 @@ module Pubid::Iso
87
87
  :ts
88
88
  when "ТО", "TR"
89
89
  :tr
90
- when "Directives Part", "Directives, Part", "Directives,"
90
+ when "Directives Part", "Directives, Part", "Directives,", "DIR"
91
91
  :dir
92
92
  when "PAS"
93
93
  :pas
94
94
  when "DPAS"
95
95
  :dpas
96
- when "DIR"
97
- :dir
96
+ when "R"
97
+ :r
98
98
  else
99
99
  type
100
100
  end) }
@@ -41,6 +41,10 @@ module Pubid::Iso
41
41
  amd: {
42
42
  short: "Amd",
43
43
  },
44
+ r: {
45
+ long: "Recommendation",
46
+ short: "R",
47
+ },
44
48
  }.freeze
45
49
 
46
50
  # Create new type
@@ -65,6 +69,8 @@ module Pubid::Iso
65
69
  def ==(other)
66
70
  return type == other if other.is_a?(Symbol)
67
71
 
72
+ return false if other.nil?
73
+
68
74
  type == other.type
69
75
  end
70
76
 
@@ -1,5 +1,5 @@
1
1
  module Pubid
2
2
  module Iso
3
- VERSION = "0.3.0".freeze
3
+ VERSION = "0.3.1".freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pubid-iso
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.