rdf-do 1.99.0 → 1.99.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/rdf/do.rb +2 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 573de1e4146e20046b5dd31c6673ea8f8b912573
|
4
|
+
data.tar.gz: ab36389f634218b16294fd8447c5b5500f90b8a4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b8b57dfd0e5279e0cbc6d407671ed0fdbd5ddee38505dad9c7fc7a1c0ab84bc4ec707d8de4ea50637649734d33d31dccc78558ab18f7d4a41e3d720cb0894fe8
|
7
|
+
data.tar.gz: 0d75242e8b460229bfc6c779849391fa8e37dec584a6bc202703f62d08c55d6776c89bb2a57b83e7a5e47d4ce7ed8b30b7fd619f3a13a62738c2dba640651fe3
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.99.0
|
1
|
+
1.99.0.1
|
data/lib/rdf/do.rb
CHANGED
@@ -98,6 +98,7 @@ module RDF
|
|
98
98
|
# @param [RDF::Statement] statement
|
99
99
|
# @return [void]
|
100
100
|
def insert_statement(statement)
|
101
|
+
raise ArgumentError, "Statement #{statement.inspect} is incomplete" if statement.incomplete?
|
101
102
|
insert_statements [statement]
|
102
103
|
end
|
103
104
|
|
@@ -118,6 +119,7 @@ module RDF
|
|
118
119
|
# @param [Array<RDF::Statement>] statements
|
119
120
|
# @return [void]
|
120
121
|
def insert_statements(statements)
|
122
|
+
raise ArgumentError, "Some statement is incomplete" if statements.any?(&:incomplete?)
|
121
123
|
if @adapter.respond_to?(:multiple_insert_sql)
|
122
124
|
each = statements.respond_to?(:each_statement) ? :each_statement : :each
|
123
125
|
args = []
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rdf-do
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.99.0
|
4
|
+
version: 1.99.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ben Lavender
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-10-
|
11
|
+
date: 2015-10-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rdf
|
@@ -72,14 +72,14 @@ dependencies:
|
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: '1.
|
75
|
+
version: '1.99'
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: '1.
|
82
|
+
version: '1.99'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: rspec
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|