relaton-w3c 1.17.1 → 1.17.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/relaton_w3c/pubid.rb +2 -2
- data/lib/relaton_w3c/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: 0c049f93ae145723942e0c78b7cfe44f563ff8fc7d4c7ff596da113986cf5dea
|
4
|
+
data.tar.gz: 794c23599a51e449c95b7110d79934d96d85f6431f7ca86936da2bf31ade5487
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a111966a8e83f72b6ee30ff59544b61c589225be59d9b93ea81eb6835c3fd873b35e5be60aa041ade3e6070b048a110e44d530cd1bd450a5b45c0585e31531b9
|
7
|
+
data.tar.gz: be31d8f9e366557fb23c0882022149653242f50d58b3b72a47680f2de7b903a96aab6c46222adcdcf152918537ef01bed2404535132fc9b798d7b01fba6334e2
|
data/lib/relaton_w3c/pubid.rb
CHANGED
@@ -19,8 +19,8 @@ module RelatonW3c
|
|
19
19
|
%r{
|
20
20
|
(?:^|/)(?:(?:(?<stage>WD|CRD|CR|PR|PER|REC|SPSD|OBSL|RET)|(?<type>D?NOTE|TR))[\s/-])?
|
21
21
|
(?<code>\w+(?:[+-][\w.]+)*?)
|
22
|
-
(?:-(?<year
|
23
|
-
(?:-(?<date>\d{8}|\d{6}))?
|
22
|
+
(?:-(?<year>(?:18|19|20)\d{2}))?
|
23
|
+
(?:-(?<date>\d{8}|\d{6}|\d{4}))?
|
24
24
|
(?:/(?<suff>\w+))?(?:$|/)
|
25
25
|
}xi =~ docnumber
|
26
26
|
entry = { code: code }
|
data/lib/relaton_w3c/version.rb
CHANGED