slaw 12.0.0 → 13.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -0
- data/lib/slaw/grammars/za/act_nodes.rb +3 -3
- data/lib/slaw/version.rb +1 -1
- data/spec/za/act_block_spec.rb +9 -9
- 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: ea1450bcf329de90eafd7b9e81842b42a3d464c6a75898417a3ecb77b506a4ed
|
4
|
+
data.tar.gz: 1c4dfd6db80494ea2c9d40aa935d66c89ceea0ba1ff1336815e8740fe10ebb56
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2700cab7752db63b500e2574285d24b093ae7852d614da75a530b3232c028b2abc54b875148d320a22e7ece51f3526133ab7c0c10c6158f2c8def47f1fbaaa97
|
7
|
+
data.tar.gz: '088b0fe600f41c6dfbc55d453cd0fb20851335fa8ac7d8fe63d014272b5a601b8935907becfd6e7eb7c5fecb6396e3c9e4b074a9e02fcb56c2874b80d3cf9b07'
|
data/README.md
CHANGED
@@ -86,6 +86,10 @@ You can create your own grammar by creating a gem that provides these files and
|
|
86
86
|
|
87
87
|
## Changelog
|
88
88
|
|
89
|
+
### 13.0.0 (28 June 2022)
|
90
|
+
|
91
|
+
* Generate correct `.../!main` in FRBR URIs.
|
92
|
+
|
89
93
|
### 12.0.0 (31 January 2022)
|
90
94
|
|
91
95
|
* Use `<br/>` for newlines in tables, rather than `<eol/>`, since it's more semantically correct.
|
@@ -36,7 +36,7 @@ module Slaw
|
|
36
36
|
b.identification(source: "#slaw") { |b|
|
37
37
|
# use stub values so that we can generate a validating document
|
38
38
|
b.FRBRWork { |b|
|
39
|
-
b.FRBRthis(value: "#{WORK_URI}
|
39
|
+
b.FRBRthis(value: "#{WORK_URI}/!main")
|
40
40
|
b.FRBRuri(value: WORK_URI)
|
41
41
|
b.FRBRalias(value: 'Short Title', name: 'title')
|
42
42
|
b.FRBRdate(date: '1980-01-01', name: 'Generation')
|
@@ -44,14 +44,14 @@ module Slaw
|
|
44
44
|
b.FRBRcountry(value: 'za')
|
45
45
|
}
|
46
46
|
b.FRBRExpression { |b|
|
47
|
-
b.FRBRthis(value: "#{EXPRESSION_URI}
|
47
|
+
b.FRBRthis(value: "#{EXPRESSION_URI}/!main")
|
48
48
|
b.FRBRuri(value: EXPRESSION_URI)
|
49
49
|
b.FRBRdate(date: '1980-01-01', name: 'Generation')
|
50
50
|
b.FRBRauthor(href: '#council')
|
51
51
|
b.FRBRlanguage(language: 'eng')
|
52
52
|
}
|
53
53
|
b.FRBRManifestation { |b|
|
54
|
-
b.FRBRthis(value: "#{MANIFESTATION_URI}
|
54
|
+
b.FRBRthis(value: "#{MANIFESTATION_URI}/!main")
|
55
55
|
b.FRBRuri(value: MANIFESTATION_URI)
|
56
56
|
b.FRBRdate(date: Time.now.strftime('%Y-%m-%d'), name: 'Generation')
|
57
57
|
b.FRBRauthor(href: '#slaw')
|
data/lib/slaw/version.rb
CHANGED
data/spec/za/act_block_spec.rb
CHANGED
@@ -1244,7 +1244,7 @@ baz
|
|
1244
1244
|
<meta>
|
1245
1245
|
<identification source="#slaw">
|
1246
1246
|
<FRBRWork>
|
1247
|
-
<FRBRthis value="/za/act/1980/01
|
1247
|
+
<FRBRthis value="/za/act/1980/01/!main"/>
|
1248
1248
|
<FRBRuri value="/za/act/1980/01"/>
|
1249
1249
|
<FRBRalias value="Short Title" name="title"/>
|
1250
1250
|
<FRBRdate date="1980-01-01" name="Generation"/>
|
@@ -1252,14 +1252,14 @@ baz
|
|
1252
1252
|
<FRBRcountry value="za"/>
|
1253
1253
|
</FRBRWork>
|
1254
1254
|
<FRBRExpression>
|
1255
|
-
<FRBRthis value="/za/act/1980/01/eng
|
1255
|
+
<FRBRthis value="/za/act/1980/01/eng@/!main"/>
|
1256
1256
|
<FRBRuri value="/za/act/1980/01/eng@"/>
|
1257
1257
|
<FRBRdate date="1980-01-01" name="Generation"/>
|
1258
1258
|
<FRBRauthor href="#council"/>
|
1259
1259
|
<FRBRlanguage language="eng"/>
|
1260
1260
|
</FRBRExpression>
|
1261
1261
|
<FRBRManifestation>
|
1262
|
-
<FRBRthis value="/za/act/1980/01/eng
|
1262
|
+
<FRBRthis value="/za/act/1980/01/eng@/!main"/>
|
1263
1263
|
<FRBRuri value="/za/act/1980/01/eng@"/>
|
1264
1264
|
<FRBRdate date="' + today + '" name="Generation"/>
|
1265
1265
|
<FRBRauthor href="#slaw"/>
|
@@ -1882,7 +1882,7 @@ Text
|
|
1882
1882
|
<meta>
|
1883
1883
|
<identification source="#slaw">
|
1884
1884
|
<FRBRWork>
|
1885
|
-
<FRBRthis value="/za/act/1980/01
|
1885
|
+
<FRBRthis value="/za/act/1980/01/!main"/>
|
1886
1886
|
<FRBRuri value="/za/act/1980/01"/>
|
1887
1887
|
<FRBRalias value="Short Title" name="title"/>
|
1888
1888
|
<FRBRdate date="1980-01-01" name="Generation"/>
|
@@ -1890,14 +1890,14 @@ Text
|
|
1890
1890
|
<FRBRcountry value="za"/>
|
1891
1891
|
</FRBRWork>
|
1892
1892
|
<FRBRExpression>
|
1893
|
-
<FRBRthis value="/za/act/1980/01/eng
|
1893
|
+
<FRBRthis value="/za/act/1980/01/eng@/!main"/>
|
1894
1894
|
<FRBRuri value="/za/act/1980/01/eng@"/>
|
1895
1895
|
<FRBRdate date="1980-01-01" name="Generation"/>
|
1896
1896
|
<FRBRauthor href="#council"/>
|
1897
1897
|
<FRBRlanguage language="eng"/>
|
1898
1898
|
</FRBRExpression>
|
1899
1899
|
<FRBRManifestation>
|
1900
|
-
<FRBRthis value="/za/act/1980/01/eng
|
1900
|
+
<FRBRthis value="/za/act/1980/01/eng@/!main"/>
|
1901
1901
|
<FRBRuri value="/za/act/1980/01/eng@"/>
|
1902
1902
|
<FRBRdate date="' + today + '" name="Generation"/>
|
1903
1903
|
<FRBRauthor href="#slaw"/>
|
@@ -1943,7 +1943,7 @@ Text
|
|
1943
1943
|
<meta>
|
1944
1944
|
<identification source="#slaw">
|
1945
1945
|
<FRBRWork>
|
1946
|
-
<FRBRthis value="/za/act/1980/01
|
1946
|
+
<FRBRthis value="/za/act/1980/01/!main"/>
|
1947
1947
|
<FRBRuri value="/za/act/1980/01"/>
|
1948
1948
|
<FRBRalias value="Short Title" name="title"/>
|
1949
1949
|
<FRBRdate date="1980-01-01" name="Generation"/>
|
@@ -1951,14 +1951,14 @@ Text
|
|
1951
1951
|
<FRBRcountry value="za"/>
|
1952
1952
|
</FRBRWork>
|
1953
1953
|
<FRBRExpression>
|
1954
|
-
<FRBRthis value="/za/act/1980/01/eng
|
1954
|
+
<FRBRthis value="/za/act/1980/01/eng@/!main"/>
|
1955
1955
|
<FRBRuri value="/za/act/1980/01/eng@"/>
|
1956
1956
|
<FRBRdate date="1980-01-01" name="Generation"/>
|
1957
1957
|
<FRBRauthor href="#council"/>
|
1958
1958
|
<FRBRlanguage language="eng"/>
|
1959
1959
|
</FRBRExpression>
|
1960
1960
|
<FRBRManifestation>
|
1961
|
-
<FRBRthis value="/za/act/1980/01/eng
|
1961
|
+
<FRBRthis value="/za/act/1980/01/eng@/!main"/>
|
1962
1962
|
<FRBRuri value="/za/act/1980/01/eng@"/>
|
1963
1963
|
<FRBRdate date="' + today + '" name="Generation"/>
|
1964
1964
|
<FRBRauthor href="#slaw"/>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: slaw
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 13.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Greg Kempe
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-06-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|