pubid-itu 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/pubid/itu/parser.rb +5 -1
- data/lib/pubid/itu/renderer/base.rb +4 -0
- data/lib/pubid/itu/transformer.rb +4 -0
- data/lib/pubid/itu/version.rb +1 -1
- data/lib/pubid/itu.rb +8 -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: 4b6a9f43860cc646babf95c556cf4aa0169f847a26415503bfa0458dd0af9af1
|
4
|
+
data.tar.gz: 6e5c30a16a55c467bb5b1d4ce00c2e6bbc7dec182b5e40815c8e8146669a10a7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4049ed45d386a01a4670397674340e7c287186399c4e4b417e54b21b902b4518cc5c8660b081ee1f53e6a9cc08d947cbb7a9a0730fd7d17e0cd04aed367ec94d
|
7
|
+
data.tar.gz: c6fd2a5ad473a2325063b1112f578376d8a01947ddfdca133113a420a8357b2bdbd670b2583239ee70959fe41b80bf868dfd48e22b63215affa379d2ee55065d
|
data/lib/pubid/itu/parser.rb
CHANGED
@@ -102,10 +102,14 @@ module Pubid::Itu
|
|
102
102
|
roman_numerals.as(:number)).as(:appendix)
|
103
103
|
end
|
104
104
|
|
105
|
+
rule(:language) do
|
106
|
+
str("-") >> match["EFASCR"].as(:language)
|
107
|
+
end
|
108
|
+
|
105
109
|
rule(:identifier) do
|
106
110
|
str("ITU") >> (dash | space) >> sector_series_number >> supplement.maybe >>
|
107
111
|
annex.maybe >> corrigendum.maybe >> addendum.maybe >> appendix.maybe >>
|
108
|
-
published.maybe >> amendment.maybe >> str("-I").maybe
|
112
|
+
published.maybe >> amendment.maybe >> str("-I").maybe >> language.maybe
|
109
113
|
end
|
110
114
|
|
111
115
|
rule(:root) { identifier }
|
data/lib/pubid/itu/version.rb
CHANGED
data/lib/pubid/itu.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pubid-itu
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-03-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|