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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: adc0d629a1d4122918dc1a81e793175ca57e82c4
4
- data.tar.gz: 1b4a29b64c16b1a731a5124ed12f5cfb8c33b608
3
+ metadata.gz: c0bb52b76b387c499762495ded27e79deee1b50c
4
+ data.tar.gz: a966c3024f86a166c8572d218d0a89177ca116cc
5
5
  SHA512:
6
- metadata.gz: bcb1864a24499ac5a039990495890dd6c3ee6f144e67856a9d4317e64bd277a8e2756144dbe0a5637091e7b2d80a001a65ca2bd852539b03b8b777387ae10f09
7
- data.tar.gz: 904f8427a74a04edc1b5ff88810179405d9bcf43f3ff7211296a7564126c4c9ee4e50eecf01c38b1db1783727344fccd73b912975ba0c7eece26dcd3200a187d
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
 
@@ -1,3 +1,3 @@
1
1
  module SQLite3
2
- VERSION = "0.4.0"
2
+ VERSION = "0.4.1"
3
3
  end
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.0
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-10 00:00:00.000000000 Z
11
+ date: 2014-01-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake