active-triples 0.8.3 → 0.9.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 +3 -3
- data/CHANGES.md +4 -0
- data/active-triples.gemspec +14 -15
- data/lib/active_triples/list.rb +6 -6
- data/lib/active_triples/relation.rb +2 -2
- data/lib/active_triples/version.rb +1 -1
- data/spec/active_triples/list_spec.rb +2 -2
- data/spec/active_triples/nested_attributes_spec.rb +30 -15
- data/spec/active_triples/property_spec.rb +3 -3
- data/spec/active_triples/relation_spec.rb +10 -1
- data/spec/active_triples/resource_spec.rb +27 -13
- metadata +13 -27
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5c39dcd5366189f7c48a5d0cb61ab3d8f21f358a
|
4
|
+
data.tar.gz: 843c3a9739c899ef296822ddbdc37b152e5818d9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7bef92c1abd72a0d8accde6d2346c61c711d8a66be9c26b479537756ce88acf433d2e396af8a28cfce7f8240c4c5d325cc495484a3a3335c7f30a96f67af51bd
|
7
|
+
data.tar.gz: 5bae48e5d3db44d1cd0318a2fab282b94de957421edabdab35082375d4db97319998369ccdb75b884c1c331ce02e5faab92a64e8509ddc53aa42690baf9a72df
|
data/.travis.yml
CHANGED
data/CHANGES.md
CHANGED
data/active-triples.gemspec
CHANGED
@@ -7,27 +7,26 @@ Gem::Specification.new do |s|
|
|
7
7
|
s.version = ActiveTriples::VERSION
|
8
8
|
s.platform = Gem::Platform::RUBY
|
9
9
|
s.authors = ["Tom Johnson", "Trey Terrell"]
|
10
|
-
s.homepage = 'https://github.com/
|
10
|
+
s.homepage = 'https://github.com/ActiveTriples/ActiveTriples'
|
11
11
|
s.email = 'tom@dp.la'
|
12
12
|
s.summary = %q{RDF graphs in ActiveModel wrappers.}
|
13
13
|
s.description = %q{ActiveTriples provides tools for modeling RDF as discrete resources.}
|
14
14
|
s.license = "APACHE2"
|
15
|
-
s.required_ruby_version = '>=
|
15
|
+
s.required_ruby_version = '>= 2.0.0'
|
16
16
|
|
17
|
-
s.add_dependency
|
18
|
-
s.add_dependency
|
19
|
-
s.add_dependency
|
20
|
-
s.add_dependency
|
21
|
-
s.add_dependency
|
17
|
+
s.add_dependency 'rdf', '~> 2.0'
|
18
|
+
s.add_dependency 'linkeddata', '~> 2.0'
|
19
|
+
s.add_dependency 'activemodel', '>= 3.0.0'
|
20
|
+
s.add_dependency 'deprecation', '~> 0.1'
|
21
|
+
s.add_dependency 'activesupport', '>= 3.0.0'
|
22
22
|
|
23
|
-
s.add_development_dependency
|
24
|
-
s.add_development_dependency
|
25
|
-
s.add_development_dependency
|
26
|
-
s.add_development_dependency
|
27
|
-
s.add_development_dependency
|
28
|
-
s.add_development_dependency
|
29
|
-
s.add_development_dependency
|
30
|
-
s.add_development_dependency('pragmatic_context', '~> 0.1.2')
|
23
|
+
s.add_development_dependency 'rdoc'
|
24
|
+
s.add_development_dependency 'rspec'
|
25
|
+
s.add_development_dependency 'rdf-spec', '~> 2.0'
|
26
|
+
s.add_development_dependency 'coveralls'
|
27
|
+
s.add_development_dependency 'webmock'
|
28
|
+
s.add_development_dependency 'nokogiri'
|
29
|
+
s.add_development_dependency 'pragmatic_context', '~> 0.1.2'
|
31
30
|
|
32
31
|
s.files = `git ls-files`.split("\n")
|
33
32
|
s.test_files = `git ls-files -- {spec}/*`.split("\n")
|
data/lib/active_triples/list.rb
CHANGED
@@ -18,7 +18,7 @@ module ActiveTriples
|
|
18
18
|
class << self
|
19
19
|
def from_uri(uri, vals)
|
20
20
|
list = ListResource.from_uri(uri, vals)
|
21
|
-
self.new(list.rdf_subject, list)
|
21
|
+
self.new(subject: list.rdf_subject, graph: list)
|
22
22
|
end
|
23
23
|
end
|
24
24
|
|
@@ -26,13 +26,13 @@ module ActiveTriples
|
|
26
26
|
graph
|
27
27
|
end
|
28
28
|
|
29
|
-
def initialize(
|
29
|
+
def initialize(subject: nil, graph: nil, values: nil, &block)
|
30
30
|
super
|
31
31
|
@graph = ListResource.new(subject) unless
|
32
32
|
graph.kind_of? RDFSource
|
33
|
-
graph << parent if parent
|
34
|
-
graph.list = self
|
35
|
-
graph.reload
|
33
|
+
@graph << parent if parent
|
34
|
+
@graph.list = self
|
35
|
+
@graph.reload
|
36
36
|
end
|
37
37
|
|
38
38
|
def clear
|
@@ -124,7 +124,7 @@ module ActiveTriples
|
|
124
124
|
# Clear out any old assertions in the repository about this node or statement
|
125
125
|
# thus preparing to receive the updated assertions.
|
126
126
|
def erase_old_resource
|
127
|
-
RDF::List.new(rdf_subject, self).clear
|
127
|
+
RDF::List.new(subject: rdf_subject, graph: self).clear
|
128
128
|
end
|
129
129
|
|
130
130
|
private
|
@@ -34,7 +34,7 @@ module ActiveTriples
|
|
34
34
|
attr_reader :reflections
|
35
35
|
|
36
36
|
delegate :<=>, :==, :===, :[], :each, :empty?, :equal, :inspect, :last,
|
37
|
-
:to_a, :to_ary, :size, :join, :to => :result
|
37
|
+
:to_a, :to_ary, :size, :join, :length, :to => :result
|
38
38
|
|
39
39
|
##
|
40
40
|
# @param [ActiveTriples::RDFSource] parent_source
|
@@ -241,7 +241,7 @@ module ActiveTriples
|
|
241
241
|
def delete?(value)
|
242
242
|
value = RDF::Literal(value) if value.is_a? Symbol
|
243
243
|
|
244
|
-
return nil if parent.query([rdf_subject, predicate, value]).
|
244
|
+
return nil if parent.query([rdf_subject, predicate, value]).nil?
|
245
245
|
|
246
246
|
delete(value)
|
247
247
|
value
|
@@ -249,12 +249,12 @@ END
|
|
249
249
|
expect(doc.xpath('//mads:ComplexSubject/mads:elementList/*[position() = 2]/mads:elementValue', ns).map(&:text)).to eq ["Relations with Mexican Americans"]
|
250
250
|
expect(doc.xpath('//mads:ComplexSubject/mads:elementList/*[position() = 3]/@rdf:about', ns).map(&:value)).to eq ["http://library.ucsd.edu/ark:/20775/bbXXXXXXX4"]
|
251
251
|
expect(doc.xpath('//mads:ComplexSubject/mads:elementList/*[position() = 4]/mads:elementValue', ns).map(&:text)).to eq ["1900s"]
|
252
|
-
expect(RDF::List.new(list.rdf_subject, subject)).to be_valid
|
252
|
+
expect(RDF::List.new(subject: list.rdf_subject, graph: subject)).to be_valid
|
253
253
|
end
|
254
254
|
|
255
255
|
it "should be a valid list" do
|
256
256
|
list << "Val"
|
257
|
-
expect(RDF::List.new(list.rdf_subject, subject)).to be_valid
|
257
|
+
expect(RDF::List.new(subject: list.rdf_subject, graph: subject)).to be_valid
|
258
258
|
end
|
259
259
|
end
|
260
260
|
end
|
@@ -105,14 +105,18 @@ describe "nesting attribute behavior" do
|
|
105
105
|
subject { ComplexResource::PersonalName.new }
|
106
106
|
it "should accept a hash" do
|
107
107
|
subject.elementList_attributes = [{ topicElement_attributes: {'0' => { elementValue:"Quantum Behavior" }, '1' => { elementValue:"Wave Function" }}}]
|
108
|
-
expect(subject.elementList.first[0].elementValue)
|
109
|
-
|
110
|
-
|
108
|
+
expect(subject.elementList.first[0].elementValue)
|
109
|
+
.to contain_exactly "Quantum Behavior"
|
110
|
+
expect(subject.elementList.first[1].elementValue)
|
111
|
+
.to contain_exactly "Wave Function"
|
111
112
|
end
|
113
|
+
|
112
114
|
it "should accept an array" do
|
113
115
|
subject.elementList_attributes = [{ topicElement_attributes: [{ elementValue:"Quantum Behavior" }, { elementValue:"Wave Function" }]}]
|
114
|
-
expect(subject.elementList.first[0].elementValue)
|
115
|
-
|
116
|
+
expect(subject.elementList.first[0].elementValue)
|
117
|
+
.to contain_exactly "Quantum Behavior"
|
118
|
+
expect(subject.elementList.first[1].elementValue)
|
119
|
+
.to contain_exactly "Wave Function"
|
116
120
|
end
|
117
121
|
end
|
118
122
|
|
@@ -123,15 +127,19 @@ describe "nesting attribute behavior" do
|
|
123
127
|
end
|
124
128
|
|
125
129
|
it 'should have attributes' do
|
126
|
-
expect(subject.topic
|
127
|
-
|
128
|
-
expect(subject.personalName.first.elementList.first.fullNameElement)
|
129
|
-
|
130
|
+
expect(subject.topic.map { |topic| topic.elementList.first[0].elementValue })
|
131
|
+
.to contain_exactly ['Cosmology'], ['Quantum Behavior']
|
132
|
+
expect(subject.personalName.first.elementList.first.fullNameElement)
|
133
|
+
.to contain_exactly "Jefferson, Thomas"
|
134
|
+
expect(subject.personalName.first.elementList.first.dateNameElement)
|
135
|
+
.to contain_exactly "1743-1826"
|
130
136
|
end
|
131
137
|
|
132
138
|
it 'should build nodes with ids' do
|
133
|
-
expect(subject.topic
|
134
|
-
|
139
|
+
expect(subject.topic.map { |v| v.elementList.first[0].rdf_subject })
|
140
|
+
.to include 'http://library.ucsd.edu/ark:/20775/bb3333333x'
|
141
|
+
expect(subject.personalName.map(&:rdf_subject))
|
142
|
+
.to include 'http://library.ucsd.edu/ark:20775/jefferson'
|
135
143
|
end
|
136
144
|
|
137
145
|
it 'should fail when writing to a non-predicate' do
|
@@ -186,7 +194,9 @@ describe "nesting attribute behavior" do
|
|
186
194
|
{ id: remove_object_id, _destroy: '1', label: "bar1 uno" }] }
|
187
195
|
|
188
196
|
it "should update nested objects" do
|
189
|
-
expect(subject.parts.map{|p| p.label.first})
|
197
|
+
expect(subject.parts.map{|p| p.label.first})
|
198
|
+
.to contain_exactly 'Universal Joint', 'Oil Pump',
|
199
|
+
an_instance_of(String), an_instance_of(String)
|
190
200
|
end
|
191
201
|
end
|
192
202
|
|
@@ -194,7 +204,8 @@ describe "nesting attribute behavior" do
|
|
194
204
|
let(:new_attributes) { [{ id: 'http://example.com/part#1', label: "Universal Joint" }] }
|
195
205
|
|
196
206
|
it "creates a new statement" do
|
197
|
-
expect(subject.parts.
|
207
|
+
expect(subject.parts.map(&:rdf_subject))
|
208
|
+
.to include RDF::URI('http://example.com/part#1')
|
198
209
|
end
|
199
210
|
end
|
200
211
|
end
|
@@ -214,7 +225,10 @@ describe "nesting attribute behavior" do
|
|
214
225
|
{ id: 'http://id.loc.gov/authorities/subjects/sh85052223' }] }
|
215
226
|
|
216
227
|
it "should update nested objects" do
|
217
|
-
expect(subject.parts.map{|p| p.id})
|
228
|
+
expect(subject.parts.map{|p| p.id})
|
229
|
+
.to contain_exactly "http://id.loc.gov/authorities/subjects/sh85010251",
|
230
|
+
"http://id.loc.gov/authorities/subjects/sh2001009145",
|
231
|
+
"http://id.loc.gov/authorities/subjects/sh85052223"
|
218
232
|
end
|
219
233
|
end
|
220
234
|
|
@@ -227,7 +241,8 @@ describe "nesting attribute behavior" do
|
|
227
241
|
before { subject.parts_attributes = new_attributes }
|
228
242
|
|
229
243
|
it "should call the reject if proc" do
|
230
|
-
expect(subject.parts.map(&:label))
|
244
|
+
expect(subject.parts.map(&:label))
|
245
|
+
.to contain_exactly(['Universal Joint'])
|
231
246
|
end
|
232
247
|
end
|
233
248
|
end
|
@@ -6,14 +6,14 @@ describe ActiveTriples::Property do
|
|
6
6
|
let(:options) do
|
7
7
|
{
|
8
8
|
:name => :title,
|
9
|
-
:predicate => RDF::DC.title,
|
9
|
+
:predicate => RDF::Vocab::DC.title,
|
10
10
|
:class_name => "Test"
|
11
11
|
}
|
12
12
|
end
|
13
13
|
|
14
14
|
it "should create accessors for each passed option" do
|
15
15
|
expect(subject.name).to eq :title
|
16
|
-
expect(subject.predicate).to eq RDF::DC.title
|
16
|
+
expect(subject.predicate).to eq RDF::Vocab::DC.title
|
17
17
|
expect(subject.class_name).to eq "Test"
|
18
18
|
end
|
19
19
|
|
@@ -21,7 +21,7 @@ describe ActiveTriples::Property do
|
|
21
21
|
it "should not return the property's name" do
|
22
22
|
expect(subject.to_h).to eq (
|
23
23
|
{
|
24
|
-
:predicate => RDF::DC.title,
|
24
|
+
:predicate => RDF::Vocab::DC.title,
|
25
25
|
:class_name => "Test"
|
26
26
|
}
|
27
27
|
)
|
@@ -475,9 +475,14 @@ describe ActiveTriples::Relation do
|
|
475
475
|
subject.parent << [subject.parent.rdf_subject, uri, value]
|
476
476
|
end
|
477
477
|
end
|
478
|
+
|
478
479
|
it "returns the size of the result" do
|
479
480
|
expect(subject.size).to eq 2
|
480
481
|
end
|
482
|
+
|
483
|
+
it 'is aliased by #length' do
|
484
|
+
expect(subject.length).to eq 2
|
485
|
+
end
|
481
486
|
end
|
482
487
|
end
|
483
488
|
end
|
@@ -530,13 +535,17 @@ describe ActiveTriples::Relation do
|
|
530
535
|
|
531
536
|
context 'with values' do
|
532
537
|
let(:values) { ['Comet in Moominland', 'Finn Family Moomintroll'] }
|
538
|
+
|
533
539
|
before do
|
534
540
|
values.each do |value|
|
535
541
|
subject.parent << [subject.parent.rdf_subject, uri, value]
|
536
542
|
end
|
537
543
|
end
|
544
|
+
|
538
545
|
it "returns joined strings" do
|
539
|
-
expect(subject.join(", "))
|
546
|
+
expect(subject.join(", "))
|
547
|
+
.to satisfy { |v| sp = v.split(', ').include?("Comet in Moominland") &&
|
548
|
+
v.split(', ').include?("Finn Family Moomintroll") }
|
540
549
|
end
|
541
550
|
end
|
542
551
|
end
|
@@ -504,7 +504,8 @@ describe ActiveTriples::Resource do
|
|
504
504
|
vals = subject.get_values('license')
|
505
505
|
vals << "foo"
|
506
506
|
subject.set_value('license',vals)
|
507
|
-
expect(subject.get_values('license'))
|
507
|
+
expect(subject.get_values('license'))
|
508
|
+
.to contain_exactly "foo"
|
508
509
|
end
|
509
510
|
|
510
511
|
it "safely handles terms passed in with pre-existing values" do
|
@@ -512,12 +513,14 @@ describe ActiveTriples::Resource do
|
|
512
513
|
vals = subject.get_values('license')
|
513
514
|
vals << "bar"
|
514
515
|
subject.set_value('license',vals)
|
515
|
-
expect(subject.get_values('license'))
|
516
|
+
expect(subject.get_values('license'))
|
517
|
+
.to contain_exactly "foo","bar"
|
516
518
|
end
|
517
519
|
|
518
520
|
it 'should set a value in the when given a registered property symbol' do
|
519
521
|
subject.set_value(:title, 'Comet in Moominland')
|
520
|
-
expect(subject.title)
|
522
|
+
expect(subject.title)
|
523
|
+
.to contain_exactly 'Comet in Moominland'
|
521
524
|
end
|
522
525
|
|
523
526
|
it "raise an error if the value is not a Term" do
|
@@ -541,7 +544,7 @@ describe ActiveTriples::Resource do
|
|
541
544
|
|
542
545
|
it 'should set a value in the when given a registered property symbol' do
|
543
546
|
subject[:title] = 'Comet in Moominland'
|
544
|
-
expect(subject.title).to
|
547
|
+
expect(subject.title).to contain_exactly 'Comet in Moominland'
|
545
548
|
end
|
546
549
|
|
547
550
|
it "raise an error if the value is not a URI, Node, Literal, RdfResource, or string" do
|
@@ -556,17 +559,21 @@ describe ActiveTriples::Resource do
|
|
556
559
|
end
|
557
560
|
|
558
561
|
it 'should return values for a predicate uri' do
|
559
|
-
expect(subject.get_values(RDF::Vocab::DC.title))
|
562
|
+
expect(subject.get_values(RDF::Vocab::DC.title))
|
563
|
+
.to contain_exactly 'Comet in Moominland', 'Finn Family Moomintroll'
|
560
564
|
end
|
561
565
|
|
562
566
|
it 'should return values for a registered predicate symbol' do
|
563
|
-
expect(subject.get_values(:title))
|
567
|
+
expect(subject.get_values(:title))
|
568
|
+
.to contain_exactly 'Comet in Moominland', 'Finn Family Moomintroll'
|
564
569
|
end
|
565
570
|
|
566
571
|
it "should return values for other subjects if asked" do
|
567
572
|
expect(subject.get_values(RDF::URI("http://opaquenamespace.org/jokes"),:title)).to eq []
|
568
573
|
subject.set_value(RDF::URI("http://opaquenamespace.org/jokes"), RDF::Vocab::DC.title, 'Comet in Moominland')
|
569
|
-
|
574
|
+
|
575
|
+
expect(subject.get_values(RDF::URI("http://opaquenamespace.org/jokes"),:title))
|
576
|
+
.to contain_exactly "Comet in Moominland"
|
570
577
|
end
|
571
578
|
|
572
579
|
context "literals are set" do
|
@@ -578,12 +585,14 @@ describe ActiveTriples::Resource do
|
|
578
585
|
context "and literals are not requested" do
|
579
586
|
it "should return a string" do
|
580
587
|
# Should this de-duplicate?
|
581
|
-
expect(subject.get_values(RDF::Vocab::DC.title))
|
588
|
+
expect(subject.get_values(RDF::Vocab::DC.title))
|
589
|
+
.to contain_exactly "test", "test"
|
582
590
|
end
|
583
591
|
end
|
584
592
|
context "and literals are requested" do
|
585
593
|
it "should return literals" do
|
586
|
-
expect(subject.get_values(RDF::Vocab::DC.title, :literal => true))
|
594
|
+
expect(subject.get_values(RDF::Vocab::DC.title, :literal => true))
|
595
|
+
.to contain_exactly literal1, literal2
|
587
596
|
end
|
588
597
|
end
|
589
598
|
end
|
@@ -595,11 +604,13 @@ describe ActiveTriples::Resource do
|
|
595
604
|
end
|
596
605
|
|
597
606
|
it 'should return values for a predicate uri' do
|
598
|
-
expect(subject[RDF::Vocab::DC.title])
|
607
|
+
expect(subject[RDF::Vocab::DC.title])
|
608
|
+
.to contain_exactly('Comet in Moominland', 'Finn Family Moomintroll')
|
599
609
|
end
|
600
610
|
|
601
611
|
it 'should return values for a registered predicate symbol' do
|
602
|
-
expect(subject[:title])
|
612
|
+
expect(subject[:title])
|
613
|
+
.to contain_exactly('Comet in Moominland', 'Finn Family Moomintroll')
|
603
614
|
end
|
604
615
|
|
605
616
|
it "should return values for other subjects if asked" do
|
@@ -709,8 +720,11 @@ END
|
|
709
720
|
document1.creator = [person1, person2]
|
710
721
|
document2.creator = person1
|
711
722
|
person1.knows = person2
|
723
|
+
person2.knows = person1
|
712
724
|
subject.item = [document1]
|
713
|
-
|
725
|
+
|
726
|
+
expect(subject.item.first.creator.first.knows.first.foaf_name)
|
727
|
+
.to satisfy { |names| ['Alice', 'Bob'].include? names.first }
|
714
728
|
end
|
715
729
|
end
|
716
730
|
|
@@ -730,7 +744,7 @@ END
|
|
730
744
|
it "should call prior to persisting" do
|
731
745
|
expect(subject.title).to be_blank
|
732
746
|
subject.persist!
|
733
|
-
expect(subject.title).to
|
747
|
+
expect(subject.title).to contain_exactly "test"
|
734
748
|
end
|
735
749
|
end
|
736
750
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: active-triples
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tom Johnson
|
@@ -9,36 +9,36 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-05-
|
12
|
+
date: 2016-05-23 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rdf
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
requirements:
|
18
|
-
- -
|
18
|
+
- - "~>"
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version: '
|
20
|
+
version: '2.0'
|
21
21
|
type: :runtime
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
|
-
- -
|
25
|
+
- - "~>"
|
26
26
|
- !ruby/object:Gem::Version
|
27
|
-
version: '
|
27
|
+
version: '2.0'
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: linkeddata
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
31
31
|
requirements:
|
32
32
|
- - "~>"
|
33
33
|
- !ruby/object:Gem::Version
|
34
|
-
version: '
|
34
|
+
version: '2.0'
|
35
35
|
type: :runtime
|
36
36
|
prerelease: false
|
37
37
|
version_requirements: !ruby/object:Gem::Requirement
|
38
38
|
requirements:
|
39
39
|
- - "~>"
|
40
40
|
- !ruby/object:Gem::Version
|
41
|
-
version: '
|
41
|
+
version: '2.0'
|
42
42
|
- !ruby/object:Gem::Dependency
|
43
43
|
name: activemodel
|
44
44
|
requirement: !ruby/object:Gem::Requirement
|
@@ -115,14 +115,14 @@ dependencies:
|
|
115
115
|
requirements:
|
116
116
|
- - "~>"
|
117
117
|
- !ruby/object:Gem::Version
|
118
|
-
version: '
|
118
|
+
version: '2.0'
|
119
119
|
type: :development
|
120
120
|
prerelease: false
|
121
121
|
version_requirements: !ruby/object:Gem::Requirement
|
122
122
|
requirements:
|
123
123
|
- - "~>"
|
124
124
|
- !ruby/object:Gem::Version
|
125
|
-
version: '
|
125
|
+
version: '2.0'
|
126
126
|
- !ruby/object:Gem::Dependency
|
127
127
|
name: coveralls
|
128
128
|
requirement: !ruby/object:Gem::Requirement
|
@@ -137,20 +137,6 @@ dependencies:
|
|
137
137
|
- - ">="
|
138
138
|
- !ruby/object:Gem::Version
|
139
139
|
version: '0'
|
140
|
-
- !ruby/object:Gem::Dependency
|
141
|
-
name: guard-rspec
|
142
|
-
requirement: !ruby/object:Gem::Requirement
|
143
|
-
requirements:
|
144
|
-
- - ">="
|
145
|
-
- !ruby/object:Gem::Version
|
146
|
-
version: '0'
|
147
|
-
type: :development
|
148
|
-
prerelease: false
|
149
|
-
version_requirements: !ruby/object:Gem::Requirement
|
150
|
-
requirements:
|
151
|
-
- - ">="
|
152
|
-
- !ruby/object:Gem::Version
|
153
|
-
version: '0'
|
154
140
|
- !ruby/object:Gem::Dependency
|
155
141
|
name: webmock
|
156
142
|
requirement: !ruby/object:Gem::Requirement
|
@@ -269,7 +255,7 @@ files:
|
|
269
255
|
- spec/support/dummies/basic_persistable.rb
|
270
256
|
- spec/support/matchers.rb
|
271
257
|
- spec/support/shared_examples/persistence_strategy.rb
|
272
|
-
homepage: https://github.com/
|
258
|
+
homepage: https://github.com/ActiveTriples/ActiveTriples
|
273
259
|
licenses:
|
274
260
|
- APACHE2
|
275
261
|
metadata: {}
|
@@ -281,7 +267,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
281
267
|
requirements:
|
282
268
|
- - ">="
|
283
269
|
- !ruby/object:Gem::Version
|
284
|
-
version:
|
270
|
+
version: 2.0.0
|
285
271
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
286
272
|
requirements:
|
287
273
|
- - ">="
|
@@ -289,7 +275,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
289
275
|
version: '0'
|
290
276
|
requirements: []
|
291
277
|
rubyforge_project:
|
292
|
-
rubygems_version: 2.
|
278
|
+
rubygems_version: 2.5.1
|
293
279
|
signing_key:
|
294
280
|
specification_version: 4
|
295
281
|
summary: RDF graphs in ActiveModel wrappers.
|