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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 93cc28a3d425ad3b7eae1f905690747b2a700cd54eb6f97506cb47d4007970fc
4
- data.tar.gz: ea68818b5814465e9610bb271d32f5f753a8f424db0c4669986b8bc7879758bf
3
+ metadata.gz: 0c049f93ae145723942e0c78b7cfe44f563ff8fc7d4c7ff596da113986cf5dea
4
+ data.tar.gz: 794c23599a51e449c95b7110d79934d96d85f6431f7ca86936da2bf31ade5487
5
5
  SHA512:
6
- metadata.gz: cb28efbe7ab797ff44c0af784bb71f55fe61b19bb63684d0096be2cb9f716ce27ae3f23f18411a570456036b66f2e2ded4460a2a7cadf3206c42895e60171b87
7
- data.tar.gz: f0cf0e02cd8809328e1f929e346a2a5c47b27be42886419e1a99a0a8afeb2422efe12fbf5ef39fd23615f63da8ff29527260cdaac9de0be7b48849c7c09dec87
6
+ metadata.gz: a111966a8e83f72b6ee30ff59544b61c589225be59d9b93ea81eb6835c3fd873b35e5be60aa041ade3e6070b048a110e44d530cd1bd450a5b45c0585e31531b9
7
+ data.tar.gz: be31d8f9e366557fb23c0882022149653242f50d58b3b72a47680f2de7b903a96aab6c46222adcdcf152918537ef01bed2404535132fc9b798d7b01fba6334e2
@@ -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>\d{4}))?
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 }
@@ -1,3 +1,3 @@
1
1
  module RelatonW3c
2
- VERSION = "1.17.1".freeze
2
+ VERSION = "1.17.2".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: relaton-w3c
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.17.1
4
+ version: 1.17.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.