ld4l-foaf_rdf 0.1.0 → 0.2.0
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 +4 -4
- data/.travis.yml +5 -3
- data/Gemfile +2 -0
- data/README.md +4 -0
- data/ld4l-foaf_rdf.gemspec +1 -5
- data/lib/ld4l/foaf_rdf.rb +1 -17
- data/lib/ld4l/foaf_rdf/agent.rb +1 -1
- data/lib/ld4l/foaf_rdf/person.rb +1 -1
- data/lib/ld4l/foaf_rdf/version.rb +1 -1
- data/spec/ld4l/foaf_rdf/agent_rdf_spec.rb +18 -16
- data/spec/ld4l/foaf_rdf/configuration_spec.rb +5 -5
- data/spec/ld4l/foaf_rdf/person_rdf_spec.rb +18 -16
- data/spec/ld4l/foaf_rdf_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +23 -65
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 683b8e315033a8d5c2d2b7ad09ec17b183c5ef2f
|
4
|
+
data.tar.gz: 4d20be78e21a5e8b022a6104cb1a7daad47c50f6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 70336b6d724fc986d9830379ee446374e44e0066c96dcff1a3ab4516532772bef4c7d5ef192da3a64d3662b22a0d5e9352e3ec66932dda4243b4093046f8a274
|
7
|
+
data.tar.gz: 3f816da81ac13dfa6eb08eafb2308235f016362505ea9b615b8c19b06790050afb04692735402bc91369ec3350bfa792d68956246c7e9220832c461daa2b518c
|
data/.travis.yml
CHANGED
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -25,6 +25,10 @@ Or install it yourself as:
|
|
25
25
|
|
26
26
|
$ gem install ld4l-foaf_rdf
|
27
27
|
|
28
|
+
## Primary Dependencies
|
29
|
+
|
30
|
+
* [ActiveTriples 0.10.0](https://github.com/ActiveTriples/ActiveTriples/tree/v0.10.0)
|
31
|
+
* [RDF 2.0.2](https://github.com/ruby-rdf/rdf/tree/2.0.2)
|
28
32
|
|
29
33
|
## Usage
|
30
34
|
|
data/ld4l-foaf_rdf.gemspec
CHANGED
@@ -13,7 +13,7 @@ Gem::Specification.new do |spec|
|
|
13
13
|
spec.description = %q{LD4L FOAF RDF provides tools for modeling a person triples based on the FOAF ontology and persisting to a triplestore.}
|
14
14
|
spec.homepage = "https://github.com/ld4l/foaf_rdf"
|
15
15
|
spec.license = "APACHE2"
|
16
|
-
spec.required_ruby_version = '>= 1
|
16
|
+
spec.required_ruby_version = '>= 2.1'
|
17
17
|
|
18
18
|
spec.files = `git ls-files -z`.split("\x0")
|
19
19
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
@@ -22,12 +22,9 @@ Gem::Specification.new do |spec|
|
|
22
22
|
spec.add_dependency('active-triples')
|
23
23
|
spec.add_dependency('active_triples-local_name')
|
24
24
|
|
25
|
-
spec.add_development_dependency('pry')
|
26
|
-
spec.add_development_dependency('pry-byebug')
|
27
25
|
spec.add_development_dependency('rdoc')
|
28
26
|
spec.add_development_dependency('rspec')
|
29
27
|
spec.add_development_dependency('coveralls')
|
30
|
-
spec.add_development_dependency('guard-rspec')
|
31
28
|
spec.add_development_dependency('webmock')
|
32
29
|
|
33
30
|
spec.extra_rdoc_files = [
|
@@ -35,4 +32,3 @@ Gem::Specification.new do |spec|
|
|
35
32
|
"README.md"
|
36
33
|
]
|
37
34
|
end
|
38
|
-
|
data/lib/ld4l/foaf_rdf.rb
CHANGED
@@ -27,28 +27,12 @@ module LD4L
|
|
27
27
|
|
28
28
|
|
29
29
|
# RDF vocabularies
|
30
|
-
# none - uses RDF::FOAF vocabulary
|
30
|
+
# none - uses RDF::Vocab::FOAF vocabulary
|
31
31
|
|
32
32
|
# autoload classes
|
33
33
|
autoload :Configuration, 'ld4l/foaf_rdf/configuration'
|
34
34
|
autoload :Person, 'ld4l/foaf_rdf/person'
|
35
35
|
autoload :Agent, 'ld4l/foaf_rdf/agent'
|
36
|
-
|
37
|
-
def self.class_from_string(class_name, container_class=Kernel)
|
38
|
-
container_class = container_class.name if container_class.is_a? Module
|
39
|
-
container_parts = container_class.split('::')
|
40
|
-
(container_parts + class_name.split('::')).flatten.inject(Kernel) do |mod, class_name|
|
41
|
-
if mod == Kernel
|
42
|
-
Object.const_get(class_name)
|
43
|
-
elsif mod.const_defined? class_name.to_sym
|
44
|
-
mod.const_get(class_name)
|
45
|
-
else
|
46
|
-
container_parts.pop
|
47
|
-
class_from_string(class_name, container_parts.join('::'))
|
48
|
-
end
|
49
|
-
end
|
50
|
-
end
|
51
|
-
|
52
36
|
end
|
53
37
|
end
|
54
38
|
|
data/lib/ld4l/foaf_rdf/agent.rb
CHANGED
@@ -5,7 +5,7 @@ module LD4L
|
|
5
5
|
class << self; attr_reader :localname_prefix end
|
6
6
|
@localname_prefix="a"
|
7
7
|
|
8
|
-
configure :type => RDF::FOAF.Agent, :base_uri => LD4L::FoafRDF.configuration.base_uri, :repository => :default
|
8
|
+
configure :type => RDF::Vocab::FOAF.Agent, :base_uri => LD4L::FoafRDF.configuration.base_uri, :repository => :default
|
9
9
|
|
10
10
|
property :label, :predicate => RDF::RDFS.label
|
11
11
|
end
|
data/lib/ld4l/foaf_rdf/person.rb
CHANGED
@@ -5,7 +5,7 @@ module LD4L
|
|
5
5
|
class << self; attr_reader :localname_prefix end
|
6
6
|
@localname_prefix="p"
|
7
7
|
|
8
|
-
configure :type => RDF::FOAF.Person, :base_uri => LD4L::FoafRDF.configuration.base_uri, :repository => :default
|
8
|
+
configure :type => RDF::Vocab::FOAF.Person, :base_uri => LD4L::FoafRDF.configuration.base_uri, :repository => :default
|
9
9
|
end
|
10
10
|
end
|
11
11
|
end
|
@@ -21,22 +21,22 @@ describe 'LD4L::FoafRDF::Agent' do
|
|
21
21
|
|
22
22
|
describe 'when changing subject' do
|
23
23
|
before do
|
24
|
-
subject << RDF::Statement.new(subject.rdf_subject, RDF::DC.title, RDF::Literal('Comet in Moominland'))
|
25
|
-
subject << RDF::Statement.new(RDF::URI('http://example.org/moomin_comics'), RDF::DC.isPartOf, subject.rdf_subject)
|
26
|
-
subject << RDF::Statement.new(RDF::URI('http://example.org/moomin_comics'), RDF::DC.relation, 'http://example.org/moomin_land')
|
24
|
+
subject << RDF::Statement.new(subject.rdf_subject, RDF::Vocab::DC.title, RDF::Literal('Comet in Moominland'))
|
25
|
+
subject << RDF::Statement.new(RDF::URI('http://example.org/moomin_comics'), RDF::Vocab::DC.isPartOf, subject.rdf_subject)
|
26
|
+
subject << RDF::Statement.new(RDF::URI('http://example.org/moomin_comics'), RDF::Vocab::DC.relation, 'http://example.org/moomin_land')
|
27
27
|
subject.set_subject! RDF::URI('http://example.org/moomin')
|
28
28
|
end
|
29
29
|
|
30
30
|
it 'should update graph subjects' do
|
31
|
-
expect(subject.has_statement?(RDF::Statement.new(subject.rdf_subject, RDF::DC.title, RDF::Literal('Comet in Moominland')))).to be true
|
31
|
+
expect(subject.has_statement?(RDF::Statement.new(subject.rdf_subject, RDF::Vocab::DC.title, RDF::Literal('Comet in Moominland')))).to be true
|
32
32
|
end
|
33
33
|
|
34
34
|
it 'should update graph objects' do
|
35
|
-
expect(subject.has_statement?(RDF::Statement.new(RDF::URI('http://example.org/moomin_comics'), RDF::DC.isPartOf, subject.rdf_subject))).to be true
|
35
|
+
expect(subject.has_statement?(RDF::Statement.new(RDF::URI('http://example.org/moomin_comics'), RDF::Vocab::DC.isPartOf, subject.rdf_subject))).to be true
|
36
36
|
end
|
37
37
|
|
38
38
|
it 'should leave other uris alone' do
|
39
|
-
expect(subject.has_statement?(RDF::Statement.new(RDF::URI('http://example.org/moomin_comics'), RDF::DC.relation, 'http://example.org/moomin_land'))).to be true
|
39
|
+
expect(subject.has_statement?(RDF::Statement.new(RDF::URI('http://example.org/moomin_comics'), RDF::Vocab::DC.relation, 'http://example.org/moomin_land'))).to be true
|
40
40
|
end
|
41
41
|
end
|
42
42
|
|
@@ -57,8 +57,8 @@ describe 'LD4L::FoafRDF::Agent' do
|
|
57
57
|
# -------------------------------------------------
|
58
58
|
|
59
59
|
describe 'type' do
|
60
|
-
it "should be an RDF::FOAF.Agent" do
|
61
|
-
expect(subject.type.first.value).to eq RDF::FOAF.Agent.value
|
60
|
+
it "should be an RDF::Vocab::FOAF.Agent" do
|
61
|
+
expect(subject.type.first.value).to eq RDF::Vocab::FOAF.Agent.value
|
62
62
|
end
|
63
63
|
end
|
64
64
|
|
@@ -139,7 +139,7 @@ describe 'LD4L::FoafRDF::Agent' do
|
|
139
139
|
|
140
140
|
describe '#destroy!' do
|
141
141
|
before do
|
142
|
-
subject << RDF::Statement(RDF::DC.LicenseDocument, RDF::DC.title, 'LICENSE')
|
142
|
+
subject << RDF::Statement(RDF::Vocab::DC.LicenseDocument, RDF::Vocab::DC.title, 'LICENSE')
|
143
143
|
end
|
144
144
|
|
145
145
|
subject { LD4L::FoafRDF::Agent.new('456')}
|
@@ -196,18 +196,18 @@ describe 'LD4L::FoafRDF::Agent' do
|
|
196
196
|
before do
|
197
197
|
class DummyPerson < ActiveTriples::Resource
|
198
198
|
configure :type => RDF::URI('http://example.org/Person')
|
199
|
-
property :foafname, :predicate => RDF::FOAF.name
|
200
|
-
property :publications, :predicate => RDF::FOAF.publications, :class_name => 'DummyDocument'
|
201
|
-
property :knows, :predicate => RDF::FOAF.knows, :class_name => DummyPerson
|
199
|
+
property :foafname, :predicate => RDF::Vocab::FOAF.name
|
200
|
+
property :publications, :predicate => RDF::Vocab::FOAF.publications, :class_name => 'DummyDocument'
|
201
|
+
property :knows, :predicate => RDF::Vocab::FOAF.knows, :class_name => DummyPerson
|
202
202
|
end
|
203
203
|
|
204
204
|
class DummyDocument < ActiveTriples::Resource
|
205
205
|
configure :type => RDF::URI('http://example.org/Document')
|
206
|
-
property :title, :predicate => RDF::DC.title
|
207
|
-
property :creator, :predicate => RDF::DC.creator, :class_name => 'DummyPerson'
|
206
|
+
property :title, :predicate => RDF::Vocab::DC.title
|
207
|
+
property :creator, :predicate => RDF::Vocab::DC.creator, :class_name => 'DummyPerson'
|
208
208
|
end
|
209
209
|
|
210
|
-
LD4L::FoafRDF::Agent.property :item, :predicate => RDF::DC.relation, :class_name => DummyDocument
|
210
|
+
LD4L::FoafRDF::Agent.property :item, :predicate => RDF::Vocab::DC.relation, :class_name => DummyDocument
|
211
211
|
end
|
212
212
|
|
213
213
|
subject { LD4L::FoafRDF::Agent.new }
|
@@ -260,8 +260,10 @@ END
|
|
260
260
|
document1.creator = [person1, person2]
|
261
261
|
document2.creator = person1
|
262
262
|
person1.knows = person2
|
263
|
+
person2.knows = person1
|
263
264
|
subject.item = [document1]
|
264
|
-
expect(subject.item.first.creator.first.knows.first.foafname)
|
265
|
+
expect(subject.item.first.creator.first.knows.first.foafname)
|
266
|
+
.to satisfy { |names| ['Alice', 'Bob'].include? names.first }
|
265
267
|
end
|
266
268
|
end
|
267
269
|
end
|
@@ -7,7 +7,7 @@ describe 'LD4L::FoafRDF' do
|
|
7
7
|
context "when base_uri is not configured" do
|
8
8
|
before do
|
9
9
|
class DummyPerson < LD4L::FoafRDF::Person
|
10
|
-
configure :type => RDF::FOAF.Person, :base_uri => LD4L::FoafRDF.configuration.base_uri, :repository => :default
|
10
|
+
configure :type => RDF::Vocab::FOAF.Person, :base_uri => LD4L::FoafRDF.configuration.base_uri, :repository => :default
|
11
11
|
end
|
12
12
|
end
|
13
13
|
after do
|
@@ -24,7 +24,7 @@ describe 'LD4L::FoafRDF' do
|
|
24
24
|
config.base_uri = "http://localhost/test_slash/"
|
25
25
|
end
|
26
26
|
class DummyPerson < LD4L::FoafRDF::Person
|
27
|
-
configure :type => RDF::FOAF.Person, :base_uri => LD4L::FoafRDF.configuration.base_uri, :repository => :default
|
27
|
+
configure :type => RDF::Vocab::FOAF.Person, :base_uri => LD4L::FoafRDF.configuration.base_uri, :repository => :default
|
28
28
|
end
|
29
29
|
end
|
30
30
|
after do
|
@@ -43,7 +43,7 @@ describe 'LD4L::FoafRDF' do
|
|
43
43
|
config.base_uri = "http://localhost/test_no_slash"
|
44
44
|
end
|
45
45
|
class DummyPerson < LD4L::FoafRDF::Person
|
46
|
-
configure :type => RDF::FOAF.Person, :base_uri => LD4L::FoafRDF.configuration.base_uri, :repository => :default
|
46
|
+
configure :type => RDF::Vocab::FOAF.Person, :base_uri => LD4L::FoafRDF.configuration.base_uri, :repository => :default
|
47
47
|
end
|
48
48
|
end
|
49
49
|
after do
|
@@ -86,7 +86,7 @@ describe 'LD4L::FoafRDF' do
|
|
86
86
|
context "when minter is nil" do
|
87
87
|
before do
|
88
88
|
class DummyPerson < LD4L::FoafRDF::Person
|
89
|
-
configure :type => RDF::FOAF.Person, :base_uri => LD4L::FoafRDF.configuration.base_uri, :repository => :default
|
89
|
+
configure :type => RDF::Vocab::FOAF.Person, :base_uri => LD4L::FoafRDF.configuration.base_uri, :repository => :default
|
90
90
|
end
|
91
91
|
end
|
92
92
|
after do
|
@@ -108,7 +108,7 @@ describe 'LD4L::FoafRDF' do
|
|
108
108
|
config.localname_minter = lambda { |prefix=""| prefix+'_configured_'+SecureRandom.uuid }
|
109
109
|
end
|
110
110
|
class DummyPerson < LD4L::FoafRDF::Person
|
111
|
-
configure :type => RDF::FOAF.Person, :base_uri => LD4L::FoafRDF.configuration.base_uri, :repository => :default
|
111
|
+
configure :type => RDF::Vocab::FOAF.Person, :base_uri => LD4L::FoafRDF.configuration.base_uri, :repository => :default
|
112
112
|
end
|
113
113
|
end
|
114
114
|
after do
|
@@ -22,22 +22,22 @@ describe 'LD4L::FoafRDF::Person' do
|
|
22
22
|
|
23
23
|
describe 'when changing subject' do
|
24
24
|
before do
|
25
|
-
subject << RDF::Statement.new(subject.rdf_subject, RDF::DC.title, RDF::Literal('Comet in Moominland'))
|
26
|
-
subject << RDF::Statement.new(RDF::URI('http://example.org/moomin_comics'), RDF::DC.isPartOf, subject.rdf_subject)
|
27
|
-
subject << RDF::Statement.new(RDF::URI('http://example.org/moomin_comics'), RDF::DC.relation, 'http://example.org/moomin_land')
|
25
|
+
subject << RDF::Statement.new(subject.rdf_subject, RDF::Vocab::DC.title, RDF::Literal('Comet in Moominland'))
|
26
|
+
subject << RDF::Statement.new(RDF::URI('http://example.org/moomin_comics'), RDF::Vocab::DC.isPartOf, subject.rdf_subject)
|
27
|
+
subject << RDF::Statement.new(RDF::URI('http://example.org/moomin_comics'), RDF::Vocab::DC.relation, 'http://example.org/moomin_land')
|
28
28
|
subject.set_subject! RDF::URI('http://example.org/moomin')
|
29
29
|
end
|
30
30
|
|
31
31
|
it 'should update graph subjects' do
|
32
|
-
expect(subject.has_statement?(RDF::Statement.new(subject.rdf_subject, RDF::DC.title, RDF::Literal('Comet in Moominland')))).to be true
|
32
|
+
expect(subject.has_statement?(RDF::Statement.new(subject.rdf_subject, RDF::Vocab::DC.title, RDF::Literal('Comet in Moominland')))).to be true
|
33
33
|
end
|
34
34
|
|
35
35
|
it 'should update graph objects' do
|
36
|
-
expect(subject.has_statement?(RDF::Statement.new(RDF::URI('http://example.org/moomin_comics'), RDF::DC.isPartOf, subject.rdf_subject))).to be true
|
36
|
+
expect(subject.has_statement?(RDF::Statement.new(RDF::URI('http://example.org/moomin_comics'), RDF::Vocab::DC.isPartOf, subject.rdf_subject))).to be true
|
37
37
|
end
|
38
38
|
|
39
39
|
it 'should leave other uris alone' do
|
40
|
-
expect(subject.has_statement?(RDF::Statement.new(RDF::URI('http://example.org/moomin_comics'), RDF::DC.relation, 'http://example.org/moomin_land'))).to be true
|
40
|
+
expect(subject.has_statement?(RDF::Statement.new(RDF::URI('http://example.org/moomin_comics'), RDF::Vocab::DC.relation, 'http://example.org/moomin_land'))).to be true
|
41
41
|
end
|
42
42
|
end
|
43
43
|
|
@@ -58,8 +58,8 @@ describe 'LD4L::FoafRDF::Person' do
|
|
58
58
|
# -------------------------------------------------
|
59
59
|
|
60
60
|
describe 'type' do
|
61
|
-
it "should be an RDF::FOAF.Person" do
|
62
|
-
expect(subject.type.first.value).to eq RDF::FOAF.Person.value
|
61
|
+
it "should be an RDF::Vocab::FOAF.Person" do
|
62
|
+
expect(subject.type.first.value).to eq RDF::Vocab::FOAF.Person.value
|
63
63
|
end
|
64
64
|
end
|
65
65
|
|
@@ -128,7 +128,7 @@ describe 'LD4L::FoafRDF::Person' do
|
|
128
128
|
|
129
129
|
describe '#destroy!' do
|
130
130
|
before do
|
131
|
-
subject << RDF::Statement(RDF::DC.LicenseDocument, RDF::DC.title, 'LICENSE')
|
131
|
+
subject << RDF::Statement(RDF::Vocab::DC.LicenseDocument, RDF::Vocab::DC.title, 'LICENSE')
|
132
132
|
end
|
133
133
|
|
134
134
|
subject { LD4L::FoafRDF::Person.new('456')}
|
@@ -185,18 +185,18 @@ describe 'LD4L::FoafRDF::Person' do
|
|
185
185
|
before do
|
186
186
|
class DummyPerson < ActiveTriples::Resource
|
187
187
|
configure :type => RDF::URI('http://example.org/Person')
|
188
|
-
property :foafname, :predicate => RDF::FOAF.name
|
189
|
-
property :publications, :predicate => RDF::FOAF.publications, :class_name => 'DummyDocument'
|
190
|
-
property :knows, :predicate => RDF::FOAF.knows, :class_name => DummyPerson
|
188
|
+
property :foafname, :predicate => RDF::Vocab::FOAF.name
|
189
|
+
property :publications, :predicate => RDF::Vocab::FOAF.publications, :class_name => 'DummyDocument'
|
190
|
+
property :knows, :predicate => RDF::Vocab::FOAF.knows, :class_name => DummyPerson
|
191
191
|
end
|
192
192
|
|
193
193
|
class DummyDocument < ActiveTriples::Resource
|
194
194
|
configure :type => RDF::URI('http://example.org/Document')
|
195
|
-
property :title, :predicate => RDF::DC.title
|
196
|
-
property :creator, :predicate => RDF::DC.creator, :class_name => 'DummyPerson'
|
195
|
+
property :title, :predicate => RDF::Vocab::DC.title
|
196
|
+
property :creator, :predicate => RDF::Vocab::DC.creator, :class_name => 'DummyPerson'
|
197
197
|
end
|
198
198
|
|
199
|
-
LD4L::FoafRDF::Person.property :item, :predicate => RDF::DC.relation, :class_name => DummyDocument
|
199
|
+
LD4L::FoafRDF::Person.property :item, :predicate => RDF::Vocab::DC.relation, :class_name => DummyDocument
|
200
200
|
end
|
201
201
|
|
202
202
|
subject { LD4L::FoafRDF::Person.new }
|
@@ -249,8 +249,10 @@ END
|
|
249
249
|
document1.creator = [person1, person2]
|
250
250
|
document2.creator = person1
|
251
251
|
person1.knows = person2
|
252
|
+
person2.knows = person1
|
252
253
|
subject.item = [document1]
|
253
|
-
expect(subject.item.first.creator.first.knows.first.foafname)
|
254
|
+
expect(subject.item.first.creator.first.knows.first.foafname)
|
255
|
+
.to satisfy { |names| ['Alice', 'Bob'].include? names.first }
|
254
256
|
end
|
255
257
|
end
|
256
258
|
end
|
data/spec/ld4l/foaf_rdf_spec.rb
CHANGED
@@ -9,7 +9,7 @@ describe "LD4L::FoafRDF" do
|
|
9
9
|
config.localname_minter = lambda { |prefix=""| prefix+'_configured_'+SecureRandom.uuid }
|
10
10
|
end
|
11
11
|
class DummyPerson < LD4L::FoafRDF::Person
|
12
|
-
configure :type => RDF::FOAF.Person, :base_uri => LD4L::FoafRDF.configuration.base_uri, :repository => :default
|
12
|
+
configure :type => RDF::Vocab::FOAF.Person, :base_uri => LD4L::FoafRDF.configuration.base_uri, :repository => :default
|
13
13
|
end
|
14
14
|
end
|
15
15
|
after do
|
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,153 +1,111 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ld4l-foaf_rdf
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- E. Lynette Rayle
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-07-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rdf
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '0'
|
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
26
|
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: active-triples
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '0'
|
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
40
|
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: active_triples-local_name
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '0'
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: '0'
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: pry
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - '>='
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: '0'
|
62
|
-
type: :development
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - '>='
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: '0'
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
name: pry-byebug
|
71
|
-
requirement: !ruby/object:Gem::Requirement
|
72
|
-
requirements:
|
73
|
-
- - '>='
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
version: '0'
|
76
|
-
type: :development
|
77
|
-
prerelease: false
|
78
|
-
version_requirements: !ruby/object:Gem::Requirement
|
79
|
-
requirements:
|
80
|
-
- - '>='
|
52
|
+
- - ">="
|
81
53
|
- !ruby/object:Gem::Version
|
82
54
|
version: '0'
|
83
55
|
- !ruby/object:Gem::Dependency
|
84
56
|
name: rdoc
|
85
57
|
requirement: !ruby/object:Gem::Requirement
|
86
58
|
requirements:
|
87
|
-
- -
|
59
|
+
- - ">="
|
88
60
|
- !ruby/object:Gem::Version
|
89
61
|
version: '0'
|
90
62
|
type: :development
|
91
63
|
prerelease: false
|
92
64
|
version_requirements: !ruby/object:Gem::Requirement
|
93
65
|
requirements:
|
94
|
-
- -
|
66
|
+
- - ">="
|
95
67
|
- !ruby/object:Gem::Version
|
96
68
|
version: '0'
|
97
69
|
- !ruby/object:Gem::Dependency
|
98
70
|
name: rspec
|
99
71
|
requirement: !ruby/object:Gem::Requirement
|
100
72
|
requirements:
|
101
|
-
- -
|
73
|
+
- - ">="
|
102
74
|
- !ruby/object:Gem::Version
|
103
75
|
version: '0'
|
104
76
|
type: :development
|
105
77
|
prerelease: false
|
106
78
|
version_requirements: !ruby/object:Gem::Requirement
|
107
79
|
requirements:
|
108
|
-
- -
|
80
|
+
- - ">="
|
109
81
|
- !ruby/object:Gem::Version
|
110
82
|
version: '0'
|
111
83
|
- !ruby/object:Gem::Dependency
|
112
84
|
name: coveralls
|
113
85
|
requirement: !ruby/object:Gem::Requirement
|
114
86
|
requirements:
|
115
|
-
- -
|
116
|
-
- !ruby/object:Gem::Version
|
117
|
-
version: '0'
|
118
|
-
type: :development
|
119
|
-
prerelease: false
|
120
|
-
version_requirements: !ruby/object:Gem::Requirement
|
121
|
-
requirements:
|
122
|
-
- - '>='
|
123
|
-
- !ruby/object:Gem::Version
|
124
|
-
version: '0'
|
125
|
-
- !ruby/object:Gem::Dependency
|
126
|
-
name: guard-rspec
|
127
|
-
requirement: !ruby/object:Gem::Requirement
|
128
|
-
requirements:
|
129
|
-
- - '>='
|
87
|
+
- - ">="
|
130
88
|
- !ruby/object:Gem::Version
|
131
89
|
version: '0'
|
132
90
|
type: :development
|
133
91
|
prerelease: false
|
134
92
|
version_requirements: !ruby/object:Gem::Requirement
|
135
93
|
requirements:
|
136
|
-
- -
|
94
|
+
- - ">="
|
137
95
|
- !ruby/object:Gem::Version
|
138
96
|
version: '0'
|
139
97
|
- !ruby/object:Gem::Dependency
|
140
98
|
name: webmock
|
141
99
|
requirement: !ruby/object:Gem::Requirement
|
142
100
|
requirements:
|
143
|
-
- -
|
101
|
+
- - ">="
|
144
102
|
- !ruby/object:Gem::Version
|
145
103
|
version: '0'
|
146
104
|
type: :development
|
147
105
|
prerelease: false
|
148
106
|
version_requirements: !ruby/object:Gem::Requirement
|
149
107
|
requirements:
|
150
|
-
- -
|
108
|
+
- - ">="
|
151
109
|
- !ruby/object:Gem::Version
|
152
110
|
version: '0'
|
153
111
|
description: LD4L FOAF RDF provides tools for modeling a person triples based on the
|
@@ -160,9 +118,9 @@ extra_rdoc_files:
|
|
160
118
|
- LICENSE.txt
|
161
119
|
- README.md
|
162
120
|
files:
|
163
|
-
- .coveralls.yml
|
164
|
-
- .gitignore
|
165
|
-
- .travis.yml
|
121
|
+
- ".coveralls.yml"
|
122
|
+
- ".gitignore"
|
123
|
+
- ".travis.yml"
|
166
124
|
- Gemfile
|
167
125
|
- LICENSE.txt
|
168
126
|
- README.md
|
@@ -188,17 +146,17 @@ require_paths:
|
|
188
146
|
- lib
|
189
147
|
required_ruby_version: !ruby/object:Gem::Requirement
|
190
148
|
requirements:
|
191
|
-
- -
|
149
|
+
- - ">="
|
192
150
|
- !ruby/object:Gem::Version
|
193
|
-
version: 1
|
151
|
+
version: '2.1'
|
194
152
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
195
153
|
requirements:
|
196
|
-
- -
|
154
|
+
- - ">="
|
197
155
|
- !ruby/object:Gem::Version
|
198
156
|
version: '0'
|
199
157
|
requirements: []
|
200
158
|
rubyforge_project:
|
201
|
-
rubygems_version: 2.
|
159
|
+
rubygems_version: 2.4.6
|
202
160
|
signing_key:
|
203
161
|
specification_version: 4
|
204
162
|
summary: FOAF RDF models.
|