json-ld-preloaded 3.0.5 → 3.1.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -4,7 +4,7 @@
4
4
  require 'json/ld'
5
5
  class JSON::LD::Context
6
6
  add_preloaded("http://www.w3.org/2006/vcard/ns") do
7
- new(term_definitions: {
7
+ new(processingMode: "json-ld-1.1", term_definitions: {
8
8
  "Acquaintance" => TermDefinition.new("Acquaintance", id: "http://www.w3.org/2006/vcard/ns#Acquaintance", simple: true),
9
9
  "Address" => TermDefinition.new("Address", id: "http://www.w3.org/2006/vcard/ns#Address", simple: true),
10
10
  "Agent" => TermDefinition.new("Agent", id: "http://www.w3.org/2006/vcard/ns#Agent", simple: true),
@@ -2,7 +2,7 @@
2
2
  $:.unshift "."
3
3
  require 'spec_helper'
4
4
 
5
- describe JSON::LD::Context::Preloaded do
5
+ describe JSON::LD::Preloaded do
6
6
  {
7
7
  activitystreams: "https://www.w3.org/ns/activitystreams",
8
8
  csvw: "https://www.w3.org/ns/csvw",
@@ -11,7 +11,6 @@ describe JSON::LD::Context::Preloaded do
11
11
  foaf: "http://xmlns.com/foaf/context",
12
12
  geojson: "http://geojson.org/geojson-ld/geojson-context.jsonld",
13
13
  hydra: "http://www.w3.org/ns/hydra/core",
14
- identity: "https://w3id.org/identity/v1",
15
14
  iiif: "http://iiif.io/api/image/2/context.json",
16
15
  linkedart: "http://linked.art/ns/v1/linked-art.json",
17
16
  lov: "http://lov.okfn.org/dataset/lov/context",
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: json-ld-preloaded
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.5
4
+ version: 3.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gregg Kellogg
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-10-10 00:00:00.000000000 Z
11
+ date: 2020-05-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rdf
@@ -16,98 +16,56 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '3.0'
19
+ version: '3.1'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '3.0'
26
+ version: '3.1'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: json-ld
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '3.0'
33
+ version: '3.1'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '3.0'
41
- - !ruby/object:Gem::Dependency
42
- name: multi_json
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - "~>"
46
- - !ruby/object:Gem::Version
47
- version: '1.12'
48
- type: :runtime
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - "~>"
53
- - !ruby/object:Gem::Version
54
- version: '1.12'
55
- - !ruby/object:Gem::Dependency
56
- name: oj
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - "~>"
60
- - !ruby/object:Gem::Version
61
- version: '2.18'
62
- type: :development
63
- prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - "~>"
67
- - !ruby/object:Gem::Version
68
- version: '2.18'
69
- - !ruby/object:Gem::Dependency
70
- name: rdf-turtle
71
- requirement: !ruby/object:Gem::Requirement
72
- requirements:
73
- - - "~>"
74
- - !ruby/object:Gem::Version
75
- version: '3.0'
76
- type: :development
77
- prerelease: false
78
- version_requirements: !ruby/object:Gem::Requirement
79
- requirements:
80
- - - "~>"
81
- - !ruby/object:Gem::Version
82
- version: '3.0'
40
+ version: '3.1'
83
41
  - !ruby/object:Gem::Dependency
84
42
  name: rspec
85
43
  requirement: !ruby/object:Gem::Requirement
86
44
  requirements:
87
45
  - - "~>"
88
46
  - !ruby/object:Gem::Version
89
- version: '3.7'
47
+ version: '3.9'
90
48
  type: :development
91
49
  prerelease: false
92
50
  version_requirements: !ruby/object:Gem::Requirement
93
51
  requirements:
94
52
  - - "~>"
95
53
  - !ruby/object:Gem::Version
96
- version: '3.7'
54
+ version: '3.9'
97
55
  - !ruby/object:Gem::Dependency
98
56
  name: yard
99
57
  requirement: !ruby/object:Gem::Requirement
100
58
  requirements:
101
59
  - - "~>"
102
60
  - !ruby/object:Gem::Version
103
- version: 0.9.12
61
+ version: 0.9.20
104
62
  type: :development
105
63
  prerelease: false
106
64
  version_requirements: !ruby/object:Gem::Requirement
107
65
  requirements:
108
66
  - - "~>"
109
67
  - !ruby/object:Gem::Version
110
- version: 0.9.12
68
+ version: 0.9.20
111
69
  description: A meta-release of the json-ld gem including preloaded vocabularies.
112
70
  email: public-linked-json@w3.org
113
71
  executables: []
@@ -126,7 +84,6 @@ files:
126
84
  - lib/json/ld/preloaded/foaf.rb
127
85
  - lib/json/ld/preloaded/geojson.rb
128
86
  - lib/json/ld/preloaded/hydra.rb
129
- - lib/json/ld/preloaded/identity.rb
130
87
  - lib/json/ld/preloaded/iiif.rb
131
88
  - lib/json/ld/preloaded/linkedart.rb
132
89
  - lib/json/ld/preloaded/lov.rb
@@ -142,7 +99,7 @@ files:
142
99
  - lib/json/ld/preloaded/version.rb
143
100
  - spec/preloaded_spec.rb
144
101
  - spec/spec_helper.rb
145
- homepage: http://github.com/ruby-rdf/json-ld-preloaded
102
+ homepage: https://github.com/ruby-rdf/json-ld-preloaded
146
103
  licenses:
147
104
  - Unlicense
148
105
  metadata: {}
@@ -161,7 +118,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
161
118
  - !ruby/object:Gem::Version
162
119
  version: '0'
163
120
  requirements: []
164
- rubygems_version: 3.0.4
121
+ rubygems_version: 3.1.3
165
122
  signing_key:
166
123
  specification_version: 4
167
124
  summary: JSON-LD with preloaded contexts.
@@ -1,87 +0,0 @@
1
- # -*- encoding: utf-8 -*-
2
- # frozen_string_literal: true
3
- # This file generated automatically from https://w3id.org/identity/v1
4
- require 'json/ld'
5
- class JSON::LD::Context
6
- add_preloaded("https://w3id.org/identity/v1") do
7
- new(term_definitions: {
8
- "Credential" => TermDefinition.new("Credential", id: "https://w3id.org/credentials#Credential", simple: true),
9
- "CryptographicKey" => TermDefinition.new("CryptographicKey", id: "https://w3id.org/security#Key", simple: true),
10
- "CryptographicKeyCredential" => TermDefinition.new("CryptographicKeyCredential", id: "https://w3id.org/credentials#CryptographicKeyCredential", simple: true),
11
- "EncryptedMessage" => TermDefinition.new("EncryptedMessage", id: "https://w3id.org/security#EncryptedMessage", simple: true),
12
- "GraphSignature2012" => TermDefinition.new("GraphSignature2012", id: "https://w3id.org/security#GraphSignature2012", simple: true),
13
- "Group" => TermDefinition.new("Group", id: "https://www.w3.org/ns/activitystreams#Group", simple: true),
14
- "Identity" => TermDefinition.new("Identity", id: "https://w3id.org/identity#Identity", simple: true),
15
- "LinkedDataSignature2015" => TermDefinition.new("LinkedDataSignature2015", id: "https://w3id.org/security#LinkedDataSignature2015", simple: true),
16
- "Organization" => TermDefinition.new("Organization", id: "http://schema.org/Organization", simple: true),
17
- "Person" => TermDefinition.new("Person", id: "http://schema.org/Person", simple: true),
18
- "PostalAddress" => TermDefinition.new("PostalAddress", id: "http://schema.org/PostalAddress", simple: true),
19
- "about" => TermDefinition.new("about", id: "http://schema.org/about", type_mapping: "@id"),
20
- "accessControl" => TermDefinition.new("accessControl", id: "https://w3id.org/permissions#accessControl", type_mapping: "@id"),
21
- "address" => TermDefinition.new("address", id: "http://schema.org/address", type_mapping: "@id"),
22
- "addressCountry" => TermDefinition.new("addressCountry", id: "http://schema.org/addressCountry", simple: true),
23
- "addressLocality" => TermDefinition.new("addressLocality", id: "http://schema.org/addressLocality", simple: true),
24
- "addressRegion" => TermDefinition.new("addressRegion", id: "http://schema.org/addressRegion", simple: true),
25
- "cipherAlgorithm" => TermDefinition.new("cipherAlgorithm", id: "https://w3id.org/security#cipherAlgorithm", simple: true),
26
- "cipherData" => TermDefinition.new("cipherData", id: "https://w3id.org/security#cipherData", simple: true),
27
- "cipherKey" => TermDefinition.new("cipherKey", id: "https://w3id.org/security#cipherKey", simple: true),
28
- "claim" => TermDefinition.new("claim", id: "https://w3id.org/credentials#claim", type_mapping: "@id"),
29
- "comment" => TermDefinition.new("comment", id: "http://www.w3.org/2000/01/rdf-schema#comment", simple: true),
30
- "created" => TermDefinition.new("created", id: "http://purl.org/dc/terms/created", type_mapping: "http://www.w3.org/2001/XMLSchema#dateTime"),
31
- "creator" => TermDefinition.new("creator", id: "http://purl.org/dc/terms/creator", type_mapping: "@id"),
32
- "cred" => TermDefinition.new("cred", id: "https://w3id.org/credentials#", simple: true, prefix: true),
33
- "credential" => TermDefinition.new("credential", id: "https://w3id.org/credentials#credential", type_mapping: "@id"),
34
- "dc" => TermDefinition.new("dc", id: "http://purl.org/dc/terms/", simple: true, prefix: true),
35
- "description" => TermDefinition.new("description", id: "http://schema.org/description", simple: true),
36
- "digestAlgorithm" => TermDefinition.new("digestAlgorithm", id: "https://w3id.org/security#digestAlgorithm", simple: true),
37
- "digestValue" => TermDefinition.new("digestValue", id: "https://w3id.org/security#digestValue", simple: true),
38
- "domain" => TermDefinition.new("domain", id: "https://w3id.org/security#domain", simple: true),
39
- "email" => TermDefinition.new("email", id: "http://schema.org/email", simple: true),
40
- "expires" => TermDefinition.new("expires", id: "https://w3id.org/security#expiration", type_mapping: "http://www.w3.org/2001/XMLSchema#dateTime"),
41
- "familyName" => TermDefinition.new("familyName", id: "http://schema.org/familyName", simple: true),
42
- "givenName" => TermDefinition.new("givenName", id: "http://schema.org/givenName", simple: true),
43
- "id" => TermDefinition.new("id", id: "@id", simple: true),
44
- "identity" => TermDefinition.new("identity", id: "https://w3id.org/identity#", simple: true, prefix: true),
45
- "identityService" => TermDefinition.new("identityService", id: "https://w3id.org/identity#identityService", type_mapping: "@id"),
46
- "idp" => TermDefinition.new("idp", id: "https://w3id.org/identity#idp", type_mapping: "@id"),
47
- "image" => TermDefinition.new("image", id: "http://schema.org/image", type_mapping: "@id"),
48
- "initializationVector" => TermDefinition.new("initializationVector", id: "https://w3id.org/security#initializationVector", simple: true),
49
- "issued" => TermDefinition.new("issued", id: "https://w3id.org/credentials#issued", type_mapping: "http://www.w3.org/2001/XMLSchema#dateTime"),
50
- "issuer" => TermDefinition.new("issuer", id: "https://w3id.org/credentials#issuer", type_mapping: "@id"),
51
- "label" => TermDefinition.new("label", id: "http://www.w3.org/2000/01/rdf-schema#label", simple: true),
52
- "member" => TermDefinition.new("member", id: "http://schema.org/member", type_mapping: "@id"),
53
- "memberOf" => TermDefinition.new("memberOf", id: "http://schema.org/memberOf", type_mapping: "@id"),
54
- "name" => TermDefinition.new("name", id: "http://schema.org/name", simple: true),
55
- "nonce" => TermDefinition.new("nonce", id: "https://w3id.org/security#nonce", simple: true),
56
- "normalizationAlgorithm" => TermDefinition.new("normalizationAlgorithm", id: "https://w3id.org/security#normalizationAlgorithm", simple: true),
57
- "owner" => TermDefinition.new("owner", id: "https://w3id.org/security#owner", type_mapping: "@id"),
58
- "password" => TermDefinition.new("password", id: "https://w3id.org/security#password", simple: true),
59
- "paymentProcessor" => TermDefinition.new("paymentProcessor", id: "https://w3id.org/payswarm#processor", simple: true),
60
- "perm" => TermDefinition.new("perm", id: "https://w3id.org/permissions#", simple: true, prefix: true),
61
- "postalCode" => TermDefinition.new("postalCode", id: "http://schema.org/postalCode", simple: true),
62
- "preferences" => TermDefinition.new("preferences", id: "https://w3id.org/payswarm#preferences", type_mapping: "@vocab"),
63
- "privateKey" => TermDefinition.new("privateKey", id: "https://w3id.org/security#privateKey", type_mapping: "@id"),
64
- "privateKeyPem" => TermDefinition.new("privateKeyPem", id: "https://w3id.org/security#privateKeyPem", simple: true),
65
- "ps" => TermDefinition.new("ps", id: "https://w3id.org/payswarm#", simple: true, prefix: true),
66
- "publicKey" => TermDefinition.new("publicKey", id: "https://w3id.org/security#publicKey", type_mapping: "@id"),
67
- "publicKeyPem" => TermDefinition.new("publicKeyPem", id: "https://w3id.org/security#publicKeyPem", simple: true),
68
- "publicKeyService" => TermDefinition.new("publicKeyService", id: "https://w3id.org/security#publicKeyService", type_mapping: "@id"),
69
- "rdf" => TermDefinition.new("rdf", id: "http://www.w3.org/1999/02/22-rdf-syntax-ns#", simple: true, prefix: true),
70
- "rdfs" => TermDefinition.new("rdfs", id: "http://www.w3.org/2000/01/rdf-schema#", simple: true, prefix: true),
71
- "recipient" => TermDefinition.new("recipient", id: "https://w3id.org/credentials#recipient", type_mapping: "@id"),
72
- "revoked" => TermDefinition.new("revoked", id: "https://w3id.org/security#revoked", type_mapping: "http://www.w3.org/2001/XMLSchema#dateTime"),
73
- "schema" => TermDefinition.new("schema", id: "http://schema.org/", simple: true, prefix: true),
74
- "sec" => TermDefinition.new("sec", id: "https://w3id.org/security#", simple: true, prefix: true),
75
- "signature" => TermDefinition.new("signature", id: "https://w3id.org/security#signature", simple: true),
76
- "signatureAlgorithm" => TermDefinition.new("signatureAlgorithm", id: "https://w3id.org/security#signatureAlgorithm", simple: true),
77
- "signatureValue" => TermDefinition.new("signatureValue", id: "https://w3id.org/security#signatureValue", simple: true),
78
- "streetAddress" => TermDefinition.new("streetAddress", id: "http://schema.org/streetAddress", simple: true),
79
- "title" => TermDefinition.new("title", id: "http://purl.org/dc/terms/title", simple: true),
80
- "type" => TermDefinition.new("type", id: "@type", simple: true),
81
- "url" => TermDefinition.new("url", id: "http://schema.org/url", type_mapping: "@id"),
82
- "writePermission" => TermDefinition.new("writePermission", id: "https://w3id.org/permissions#writePermission", type_mapping: "@id"),
83
- "xsd" => TermDefinition.new("xsd", id: "http://www.w3.org/2001/XMLSchema#", simple: true, prefix: true)
84
- })
85
- alias_preloaded("http://w3id.org/identity/v1", "https://w3id.org/identity/v1")
86
- end
87
- end