json-ld-preloaded 3.0.6 → 3.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +8 -28
- data/UNLICENSE +1 -1
- data/VERSION +1 -1
- data/lib/json/ld/preloaded.rb +1 -1
- data/lib/json/ld/preloaded/activitystreams.rb +3 -1
- data/lib/json/ld/preloaded/csvw.rb +1 -1
- data/lib/json/ld/preloaded/datacube.rb +1 -1
- data/lib/json/ld/preloaded/entityfacts.rb +1 -1
- data/lib/json/ld/preloaded/foaf.rb +1 -1
- data/lib/json/ld/preloaded/geojson.rb +1 -1
- data/lib/json/ld/preloaded/hydra.rb +3 -1
- data/lib/json/ld/preloaded/iiif.rb +1 -1
- data/lib/json/ld/preloaded/linkedart.rb +104 -81
- data/lib/json/ld/preloaded/lov.rb +52 -6
- data/lib/json/ld/preloaded/oa.rb +1 -1
- data/lib/json/ld/preloaded/prefix.rb +190 -34
- data/lib/json/ld/preloaded/presentation.rb +1 -1
- data/lib/json/ld/preloaded/rdfa.rb +3 -8
- data/lib/json/ld/preloaded/research.rb +1 -1
- data/lib/json/ld/preloaded/schema.rb +310 -71
- data/lib/json/ld/preloaded/vcard.rb +1 -1
- data/spec/preloaded_spec.rb +1 -1
- metadata +16 -58
@@ -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),
|
data/spec/preloaded_spec.rb
CHANGED
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.
|
4
|
+
version: 3.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gregg Kellogg
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-12-23 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.
|
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.
|
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.
|
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.
|
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.
|
47
|
+
version: '3.10'
|
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.
|
54
|
+
version: '3.10'
|
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
|
61
|
+
version: '0.9'
|
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
|
68
|
+
version: '0.9'
|
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: []
|
@@ -141,11 +99,11 @@ files:
|
|
141
99
|
- lib/json/ld/preloaded/version.rb
|
142
100
|
- spec/preloaded_spec.rb
|
143
101
|
- spec/spec_helper.rb
|
144
|
-
homepage:
|
102
|
+
homepage: https://github.com/ruby-rdf/json-ld-preloaded
|
145
103
|
licenses:
|
146
104
|
- Unlicense
|
147
105
|
metadata: {}
|
148
|
-
post_install_message:
|
106
|
+
post_install_message:
|
149
107
|
rdoc_options: []
|
150
108
|
require_paths:
|
151
109
|
- lib
|
@@ -153,15 +111,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
153
111
|
requirements:
|
154
112
|
- - ">="
|
155
113
|
- !ruby/object:Gem::Version
|
156
|
-
version: 2.
|
114
|
+
version: '2.4'
|
157
115
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
158
116
|
requirements:
|
159
117
|
- - ">="
|
160
118
|
- !ruby/object:Gem::Version
|
161
119
|
version: '0'
|
162
120
|
requirements: []
|
163
|
-
rubygems_version: 3.
|
164
|
-
signing_key:
|
121
|
+
rubygems_version: 3.1.4
|
122
|
+
signing_key:
|
165
123
|
specification_version: 4
|
166
124
|
summary: JSON-LD with preloaded contexts.
|
167
125
|
test_files:
|