bolognese 0.9.88 → 0.9.89

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7e74e3f9f166b02c9587e2c665b0db28263c348e9029a4f40c6be1cddfc6f7c0
4
- data.tar.gz: 7ce0a967fdc05d92aeba5d7b583c0f13a1d72d4978d0720957577745fe73da85
3
+ metadata.gz: 8c65e0d018f38032f50e090618a92ff8a72d08c30b674e716652c8c1b5f813bb
4
+ data.tar.gz: 465e6671b6324e7c6d78d5218acd6572ea3ec5e3e694e7bfea065239dfea7c82
5
5
  SHA512:
6
- metadata.gz: a7c157e267e030cc5a836c8a59f345ba1dee0360cd3482c97d99388b01568c6a553e753eb9f06ad6d51816d32b75cd3ef03f85dab463dda873edb237c5cedd28
7
- data.tar.gz: f67704d4887a0465763ff5366be2f6174229eb7377043039e7fa2f158bec2a4f1dff285d54176146481475bdc38511f5213f8b52f925085c1be5fa48549d9b63
6
+ metadata.gz: 1350a292f8d26c5a5872c370828eb34de5192def69abbc1a1c03fcc78f48ebe66db1d2888e20b68418ceac63483c0b28351c6c5db02fadaa3b6d66b31823766e
7
+ data.tar.gz: 0aeda7e14667ad79de35b85cc0997c7b04b828bb2b1e3dfe72b81f5520f2efc653845bd873d203a5473409d81befaa78ff9459e24e8f8c17448c2f73864bdcaa
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- bolognese (0.9.88)
4
+ bolognese (0.9.89)
5
5
  activesupport (>= 4.2.5, < 6)
6
6
  benchmark_methods (~> 0.7)
7
7
  bibtex-ruby (~> 4.1)
@@ -1,3 +1,3 @@
1
1
  module Bolognese
2
- VERSION = "0.9.88"
2
+ VERSION = "0.9.89"
3
3
  end
@@ -7,8 +7,8 @@ module Bolognese
7
7
  hsh = {
8
8
  "@context" => id.present? ? "https://raw.githubusercontent.com/codemeta/codemeta/master/codemeta.jsonld" : nil,
9
9
  "@type" => type,
10
- "@id" => id,
11
- "identifier" => id,
10
+ "@id" => identifier,
11
+ "identifier" => identifier,
12
12
  "codeRepository" => url,
13
13
  "title" => title,
14
14
  "agents" => author,
@@ -3,7 +3,7 @@ module Bolognese
3
3
  module CrossciteWriter
4
4
  def crosscite
5
5
  hsh = {
6
- "id" => id,
6
+ "id" => identifier,
7
7
  "doi" => doi,
8
8
  "url" => url,
9
9
  "type" => type,
@@ -31,9 +31,7 @@ module Bolognese
31
31
  "date_valid" => date_valid,
32
32
  "language" => language,
33
33
  "alternate_name" => alternate_name,
34
- "references" => references,
35
34
  "content_size" => content_size,
36
- "format" => format,
37
35
  "version" => version,
38
36
  "license" => license,
39
37
  "description" => description,
@@ -43,6 +41,19 @@ module Bolognese
43
41
  "last_page" => last_page,
44
42
  "spatial_coverage" => spatial_coverage,
45
43
  "funding" => funding,
44
+ "is_identical_to" => is_identical_to,
45
+ "is_part_of" => is_part_of,
46
+ "has_part" => has_part,
47
+ "is_previous_version_of" => is_previous_version_of,
48
+ "is_new_version_of" => is_new_version_of,
49
+ "is_variant_form_of" => is_variant_form_of,
50
+ "is_original_form_of" => is_original_form_of,
51
+ "references" => references,
52
+ "is_referenced_by" => is_referenced_by,
53
+ "is_supplement_to" => is_supplement_to,
54
+ "is_supplemented_by" => is_supplemented_by,
55
+ "reviews" => reviews,
56
+ "is_reviewed_by" => is_reviewed_by,
46
57
  "schema_version" => schema_version,
47
58
  "provider_id" => provider_id,
48
59
  "client_id" => client_id,
@@ -39,6 +39,7 @@ describe Bolognese::Metadata, vcr: true do
39
39
  expect(subject.description["text"]).to start_with("Among various advantages, their small size makes model organisms preferred subjects of investigation.")
40
40
  expect(subject.date_published).to eq("2014")
41
41
  expect(subject.is_part_of).to eq("type"=>"Periodical", "title"=>"eLife")
42
+ expect(subject.container_title).to eq("eLife")
42
43
  end
43
44
  end
44
45
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bolognese
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.88
4
+ version: 0.9.89
5
5
  platform: ruby
6
6
  authors:
7
7
  - Martin Fenner