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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c95f6f9b4e2611cd1418fd4f4b67b98b048b1821510af354fe1290bcf57e009e
4
- data.tar.gz: 35ce02b5dbc2558937cf4378e6b426b42f988d313d09f372c688599322dacdf1
3
+ metadata.gz: ea1450bcf329de90eafd7b9e81842b42a3d464c6a75898417a3ecb77b506a4ed
4
+ data.tar.gz: 1c4dfd6db80494ea2c9d40aa935d66c89ceea0ba1ff1336815e8740fe10ebb56
5
5
  SHA512:
6
- metadata.gz: 718ce963ef974c024a63d8b0c69d363cd260d34562d426cbc1779be76300380f9e9c06e1865a8598003853a847cb422ab90ca9c8962c3ed39c3189bdc3755429
7
- data.tar.gz: 8770a53d488cfc624a563cdadf9f4c0c091d440a1f3920f290ce2f7abb8cfea2f8fd4e7e0931e8c81a287c6c46cf0a5c0a0a03dd7e39429009ebe1c0074a58c4
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}/main")
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}/main")
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}/main")
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
@@ -1,3 +1,3 @@
1
1
  module Slaw
2
- VERSION = "12.0.0"
2
+ VERSION = "13.0.0"
3
3
  end
@@ -1244,7 +1244,7 @@ baz
1244
1244
  <meta>
1245
1245
  <identification source="#slaw">
1246
1246
  <FRBRWork>
1247
- <FRBRthis value="/za/act/1980/01/main"/>
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@/main"/>
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@/main"/>
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/main"/>
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@/main"/>
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@/main"/>
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/main"/>
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@/main"/>
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@/main"/>
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: 12.0.0
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-01-31 00:00:00.000000000 Z
11
+ date: 2022-06-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake