rdf-spec 0.3.9 → 0.3.10
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/rdf/spec/queryable.rb +7 -7
- metadata +4 -4
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.3.
|
1
|
+
0.3.10
|
data/lib/rdf/spec/queryable.rb
CHANGED
@@ -262,7 +262,7 @@ module RDF_Queryable
|
|
262
262
|
@queryable.first.should == @queryable.each.first # uses an Enumerator
|
263
263
|
end
|
264
264
|
|
265
|
-
it "returns the correct value when the pattern matches" do
|
265
|
+
it "returns the correct value when the pattern matches", :pending => (defined?(RUBY_PLATFORM) && RUBY_PLATFORM == 'java') do
|
266
266
|
matching_patterns = [[nil, nil, nil], @queryable.each.first]
|
267
267
|
matching_patterns.each do |matching_pattern|
|
268
268
|
@queryable.first(matching_pattern).should == @queryable.query(matching_pattern).each.first
|
@@ -291,12 +291,12 @@ module RDF_Queryable
|
|
291
291
|
@queryable.should respond_to(:first_subject)
|
292
292
|
end
|
293
293
|
|
294
|
-
it "returns enumerator without a pattern" do
|
294
|
+
it "returns enumerator without a pattern", :pending => (defined?(RUBY_PLATFORM) && RUBY_PLATFORM == 'java') do
|
295
295
|
lambda { @queryable.first_subject }.should_not raise_error(ArgumentError)
|
296
296
|
@queryable.first_subject.should == @queryable.first.subject
|
297
297
|
end
|
298
298
|
|
299
|
-
it "returns the correct value when the pattern matches" do
|
299
|
+
it "returns the correct value when the pattern matches", :pending => (defined?(RUBY_PLATFORM) && RUBY_PLATFORM == 'java') do
|
300
300
|
matching_patterns = [[nil, nil, nil], [@queryable.first.subject, nil, nil]]
|
301
301
|
matching_patterns.each do |matching_pattern|
|
302
302
|
@queryable.first_subject(matching_pattern).should == @queryable.query(matching_pattern).first.subject
|
@@ -326,12 +326,12 @@ module RDF_Queryable
|
|
326
326
|
@queryable.should respond_to(:first_predicate)
|
327
327
|
end
|
328
328
|
|
329
|
-
it "returns enumerator without a pattern" do
|
329
|
+
it "returns enumerator without a pattern", :pending => (defined?(RUBY_PLATFORM) && RUBY_PLATFORM == 'java') do
|
330
330
|
lambda { @queryable.first_predicate }.should_not raise_error(ArgumentError)
|
331
331
|
@queryable.first_predicate.should == @queryable.first.predicate
|
332
332
|
end
|
333
333
|
|
334
|
-
it "returns the correct value when the pattern matches" do
|
334
|
+
it "returns the correct value when the pattern matches", :pending => (defined?(RUBY_PLATFORM) && RUBY_PLATFORM == 'java') do
|
335
335
|
matching_patterns = [[nil, nil, nil], [nil, @queryable.first.predicate, nil]]
|
336
336
|
matching_patterns.each do |matching_pattern|
|
337
337
|
@queryable.first_predicate(matching_pattern).should == @queryable.query(matching_pattern).first.predicate
|
@@ -361,12 +361,12 @@ module RDF_Queryable
|
|
361
361
|
@queryable.should respond_to(:first_object)
|
362
362
|
end
|
363
363
|
|
364
|
-
it "returns enurator without a pattern" do
|
364
|
+
it "returns enurator without a pattern", :pending => (defined?(RUBY_PLATFORM) && RUBY_PLATFORM == 'java') do
|
365
365
|
lambda { @queryable.first_object }.should_not raise_error(ArgumentError)
|
366
366
|
@queryable.first_object.should == @queryable.first.object
|
367
367
|
end
|
368
368
|
|
369
|
-
it "returns the correct value when the pattern matches" do
|
369
|
+
it "returns the correct value when the pattern matches", :pending => (defined?(RUBY_PLATFORM) && RUBY_PLATFORM == 'java') do
|
370
370
|
matching_patterns = [[nil, nil, nil], [nil, nil, @queryable.first.object]]
|
371
371
|
matching_patterns.each do |matching_pattern|
|
372
372
|
@queryable.first_object(matching_pattern).should == @queryable.query(matching_pattern).first.object
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rdf-spec
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.10
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2012-11-
|
14
|
+
date: 2012-11-22 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: rspec
|
@@ -52,7 +52,7 @@ dependencies:
|
|
52
52
|
requirements:
|
53
53
|
- - ~>
|
54
54
|
- !ruby/object:Gem::Version
|
55
|
-
version: 0.3.
|
55
|
+
version: 0.3.10
|
56
56
|
type: :development
|
57
57
|
prerelease: false
|
58
58
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -60,7 +60,7 @@ dependencies:
|
|
60
60
|
requirements:
|
61
61
|
- - ~>
|
62
62
|
- !ruby/object:Gem::Version
|
63
|
-
version: 0.3.
|
63
|
+
version: 0.3.10
|
64
64
|
description: RDF.rb plugin that provides RSpec matchers and shared examples for RDF
|
65
65
|
objects.
|
66
66
|
email: public-rdf-ruby@w3.org
|