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 +4 -4
- data/lib/pubid/iso/transformer.rb +3 -3
- data/lib/pubid/iso/type.rb +6 -0
- data/lib/pubid/iso/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5c1a3c2eac1820acf806b7b6bc9623b1d485049d96423409b5c2d78d41159d1f
|
4
|
+
data.tar.gz: 39479f01a5fc68ffdf0eb1f5c4039f75fa7ab0e695647973e604ae8773f5361a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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 "
|
97
|
-
:
|
96
|
+
when "R"
|
97
|
+
:r
|
98
98
|
else
|
99
99
|
type
|
100
100
|
end) }
|
data/lib/pubid/iso/type.rb
CHANGED
@@ -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
|
|
data/lib/pubid/iso/version.rb
CHANGED