motion-sqlite3 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/motion-sqlite3/statement.rb +3 -0
- data/lib/motion-sqlite3/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c0bb52b76b387c499762495ded27e79deee1b50c
|
4
|
+
data.tar.gz: a966c3024f86a166c8572d218d0a89177ca116cc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e968bcf742cca95c442a00a268fbc22d2b7dc667ed43d270fc69d141ec8a60910c3e18447a5976d196d9a989cb1dd8c7a0ecf7f4e14c0a230eb8dd29c95f4d2f
|
7
|
+
data.tar.gz: db2d216bb03b915fde676ef253348e861a059371b0ef735195ac131513846e0a6901922959c75f1f5545c5df401db9b81eecc27e25871b1a74676d619ec756a6
|
@@ -38,6 +38,9 @@ module SQLite3
|
|
38
38
|
params.each { |name, value| bind_parameter(name, value) }
|
39
39
|
when Array
|
40
40
|
params.each_with_index { |value, i| bind_parameter(i+1, value) }
|
41
|
+
when NilClass
|
42
|
+
else
|
43
|
+
raise ArgumentError, "params must be either a Hash or an Array"
|
41
44
|
end
|
42
45
|
end
|
43
46
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: motion-sqlite3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matt Green
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-01-
|
11
|
+
date: 2014-01-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|