pubid-iso 0.1.8 → 0.1.9
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/parser.rb +6 -3
- data/lib/pubid/iso/transformer.rb +2 -0
- data/lib/pubid/iso/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b09b867ebc673153defa32f6987a1f6337895789069e76388d8791cb9c8f2545
|
4
|
+
data.tar.gz: caa42c15191fca2b22905524f8ffa8765e137b4fb8fa96b693eec8626e3d46f2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 251a4b42ce806cc3a55dc31923b07ea8c2202bacd563041d1fd4dd6bc8a4de0572fd8ff219b9f39bc58fba4e6edc713a33a86041b961d849567ac7cdbf7128bb
|
7
|
+
data.tar.gz: 45493ee2cc7deaade4a97ba422d87c9c76b0d9db9745ce1573a903be5669591897d9606a3cdd5dff03638d71aeb4c2ea94ed6ed59e92e6200741fceb28e35550
|
data/lib/pubid/iso/parser.rb
CHANGED
@@ -3,7 +3,8 @@ module Pubid::Iso
|
|
3
3
|
rule(:stage) do
|
4
4
|
Renderer::Russian::STAGE.values.reduce(
|
5
5
|
# other stages
|
6
|
-
str("NP") | str("
|
6
|
+
str("NP") | str("NWIP") |
|
7
|
+
str("WD") | str("CD") | str("DIS") | str("FDIS") | str("PRF") |
|
7
8
|
str("IS") | str("AWI") | str("PWI") |
|
8
9
|
# AMD and COR stages
|
9
10
|
str("FPD") | str("pD") | str("PD") | str("FD") | str("D")) do |acc, stage|
|
@@ -70,7 +71,8 @@ module Pubid::Iso
|
|
70
71
|
((str("/") >> stage.as(:stage)).maybe >>
|
71
72
|
(str("/") | space).maybe >>
|
72
73
|
(str("Amd") | str("AMD") | str("AM")) >>
|
73
|
-
|
74
|
+
str(".").maybe >>
|
75
|
+
space.maybe >>
|
74
76
|
digits.as(:version) >>
|
75
77
|
(str(":") >> digits.as(:number)).maybe).as(:amendments)
|
76
78
|
end
|
@@ -79,7 +81,8 @@ module Pubid::Iso
|
|
79
81
|
((str("/") >> stage.as(:stage)).maybe >>
|
80
82
|
(str("/") | space).maybe >>
|
81
83
|
(str("Cor") | str("COR")) >>
|
82
|
-
|
84
|
+
str(".").maybe >>
|
85
|
+
space.maybe >>
|
83
86
|
digits.as(:version) >>
|
84
87
|
(str(":") >> digits.as(:number)).maybe).as(:corrigendums)
|
85
88
|
end
|
data/lib/pubid/iso/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pubid-iso
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-08-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|