rdf-spec 0.1.6 → 0.1.8

Sign up to get free protection for your applications and to get access to all the features.
data/README CHANGED
@@ -15,7 +15,7 @@ Documentation
15
15
  Dependencies
16
16
  ------------
17
17
 
18
- * [RDF.rb](http://gemcutter.org/gems/rdf) (>= 0.1.6)
18
+ * [RDF.rb](http://gemcutter.org/gems/rdf) (>= 0.1.8)
19
19
  * [RSpec](http://gemcutter.org/gems/rspec) (>= 1.3.0)
20
20
 
21
21
  Installation
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.6
1
+ 0.1.8
@@ -47,14 +47,14 @@ share_as :RDF_Enumerable do
47
47
  it "should support #each_statement" do
48
48
  @enumerable.respond_to?(:each_statement).should be_true
49
49
 
50
- @enumerable.each_statement.should be_instance_of(Enumerable::Enumerator)
50
+ @enumerable.each_statement.should be_instance_of(RDF::Enumerator)
51
51
  @enumerable.each_statement { |statement| statement.should be_a_statement }
52
52
  end
53
53
 
54
54
  it "should support #enum_statement" do
55
55
  @enumerable.respond_to?(:enum_statement).should be_true
56
56
 
57
- @enumerable.enum_statement.should be_instance_of(Enumerable::Enumerator)
57
+ @enumerable.enum_statement.should be_instance_of(RDF::Enumerator)
58
58
  end
59
59
  end
60
60
 
@@ -78,14 +78,14 @@ share_as :RDF_Enumerable do
78
78
  it "should support #each_triple" do
79
79
  @enumerable.respond_to?(:each_triple).should be_true
80
80
 
81
- @enumerable.each_triple.should be_instance_of(Enumerable::Enumerator)
81
+ @enumerable.each_triple.should be_instance_of(RDF::Enumerator)
82
82
  @enumerable.each_triple { |*triple| triple.should be_a_triple }
83
83
  end
84
84
 
85
85
  it "should support #enum_triple" do
86
86
  @enumerable.respond_to?(:enum_triple).should be_true
87
87
 
88
- @enumerable.enum_triple.should be_instance_of(Enumerable::Enumerator)
88
+ @enumerable.enum_triple.should be_instance_of(RDF::Enumerator)
89
89
  end
90
90
  end
91
91
 
@@ -109,14 +109,14 @@ share_as :RDF_Enumerable do
109
109
  it "should support #each_quad" do
110
110
  @enumerable.respond_to?(:each_quad).should be_true
111
111
 
112
- @enumerable.each_quad.should be_instance_of(Enumerable::Enumerator)
112
+ @enumerable.each_quad.should be_instance_of(RDF::Enumerator)
113
113
  @enumerable.each_quad { |*quad| quad.should be_a_quad }
114
114
  end
115
115
 
116
116
  it "should support #enum_quad" do
117
117
  @enumerable.respond_to?(:enum_quad).should be_true
118
118
 
119
- @enumerable.enum_quad.should be_instance_of(Enumerable::Enumerator)
119
+ @enumerable.enum_quad.should be_instance_of(RDF::Enumerator)
120
120
  end
121
121
  end
122
122
 
@@ -143,7 +143,7 @@ share_as :RDF_Enumerable do
143
143
  it "should support #each_subject" do
144
144
  @enumerable.respond_to?(:each_subject).should be_true
145
145
 
146
- @enumerable.each_subject.should be_instance_of(Enumerable::Enumerator)
146
+ @enumerable.each_subject.should be_instance_of(RDF::Enumerator)
147
147
  subjects = @statements.map { |s| s.subject }.uniq
148
148
  @enumerable.each_subject.to_a.size.should == subjects.size
149
149
  @enumerable.each_subject do |value|
@@ -155,7 +155,7 @@ share_as :RDF_Enumerable do
155
155
  it "should support #enum_subject" do
156
156
  @enumerable.respond_to?(:enum_subject).should be_true
157
157
 
158
- @enumerable.enum_subject.should be_instance_of(Enumerable::Enumerator)
158
+ @enumerable.enum_subject.should be_instance_of(RDF::Enumerator)
159
159
  end
160
160
  end
161
161
 
@@ -184,7 +184,7 @@ share_as :RDF_Enumerable do
184
184
 
185
185
  predicates = @statements.map { |s| s.predicate }.uniq
186
186
  @enumerable.each_predicate.to_a.size.should == predicates.size
187
- @enumerable.each_predicate.should be_instance_of(Enumerable::Enumerator)
187
+ @enumerable.each_predicate.should be_instance_of(RDF::Enumerator)
188
188
  @enumerable.each_predicate do |value|
189
189
  value.should be_a_uri
190
190
  predicates.should include value
@@ -194,7 +194,7 @@ share_as :RDF_Enumerable do
194
194
  it "should support #enum_predicate" do
195
195
  @enumerable.respond_to?(:enum_predicate).should be_true
196
196
 
197
- @enumerable.enum_predicate.should be_instance_of(Enumerable::Enumerator)
197
+ @enumerable.enum_predicate.should be_instance_of(RDF::Enumerator)
198
198
  end
199
199
  end
200
200
 
@@ -223,7 +223,7 @@ share_as :RDF_Enumerable do
223
223
 
224
224
  objects = @statements.map { |s| s.object }.uniq
225
225
  @enumerable.each_object.to_a.size.should == objects.size
226
- @enumerable.each_object.should be_instance_of(Enumerable::Enumerator)
226
+ @enumerable.each_object.should be_instance_of(RDF::Enumerator)
227
227
  @enumerable.each_object do |value|
228
228
  value.should be_a_value
229
229
  objects.should include value
@@ -233,7 +233,7 @@ share_as :RDF_Enumerable do
233
233
  it "should support #enum_object" do
234
234
  @enumerable.respond_to?(:enum_object).should be_true
235
235
 
236
- @enumerable.enum_object.should be_instance_of(Enumerable::Enumerator)
236
+ @enumerable.enum_object.should be_instance_of(RDF::Enumerator)
237
237
  end
238
238
  end
239
239
 
@@ -263,7 +263,7 @@ share_as :RDF_Enumerable do
263
263
  contexts = @statements.map { |s| s.context }.uniq
264
264
  contexts.delete nil
265
265
  @enumerable.each_context.to_a.size.should == contexts.size
266
- @enumerable.each_context.should be_instance_of(Enumerable::Enumerator)
266
+ @enumerable.each_context.should be_instance_of(RDF::Enumerator)
267
267
  @enumerable.each_context do |value|
268
268
  value.should be_a_resource
269
269
  contexts.should include value
@@ -273,7 +273,7 @@ share_as :RDF_Enumerable do
273
273
  it "should support #enum_context" do
274
274
  @enumerable.respond_to?(:enum_context).should be_true
275
275
 
276
- @enumerable.enum_context.should be_instance_of(Enumerable::Enumerator)
276
+ @enumerable.enum_context.should be_instance_of(RDF::Enumerator)
277
277
  end
278
278
  end
279
279
 
@@ -2,7 +2,7 @@ module RDF; module Spec
2
2
  module VERSION
3
3
  MAJOR = 0
4
4
  MINOR = 1
5
- TINY = 6
5
+ TINY = 8
6
6
  EXTRA = nil
7
7
 
8
8
  STRING = [MAJOR, MINOR, TINY].join('.')
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 6
9
- version: 0.1.6
8
+ - 8
9
+ version: 0.1.8
10
10
  platform: ruby
11
11
  authors:
12
12
  - Arto Bendiken
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-04-12 00:00:00 +02:00
18
+ date: 2010-04-18 00:00:00 +02:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -28,8 +28,8 @@ dependencies:
28
28
  segments:
29
29
  - 0
30
30
  - 1
31
- - 6
32
- version: 0.1.6
31
+ - 8
32
+ version: 0.1.8
33
33
  type: :development
34
34
  version_requirements: *id001
35
35
  - !ruby/object:Gem::Dependency