motion-sqlite3 0.4.1 → 0.4.2
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 +1 -1
- 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: 7e0a74bc0800daf89b178fb87be21f66219f768c
|
4
|
+
data.tar.gz: 4547dd55d44124640428683a15634143dfc13f8a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 45b9165fab741bba425f3d353a2598919e7ce3cd416a3f59f2973db2ba2ec6f47c46541afba1c53a53b76e2d16b1e317e74be41c162e7516bd31303b1f919bda
|
7
|
+
data.tar.gz: 035e8edb71aa04c39ebe364476c3161bbcd6591a2826edcca703d889a2820c955c748e5d05bb066e32186f709fe15deed30325314085315fdc5cddc1b2de563f
|
@@ -50,7 +50,7 @@ module SQLite3
|
|
50
50
|
case value
|
51
51
|
when NilClass
|
52
52
|
result = sqlite3_bind_null(@handle.value, index)
|
53
|
-
when String
|
53
|
+
when String, Symbol
|
54
54
|
result = sqlite3_bind_text(@handle.value, index, value, -1, lambda { |arg| })
|
55
55
|
when Integer
|
56
56
|
result = sqlite3_bind_int(@handle.value, index, value)
|
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.2
|
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-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|