dbi 0.4.4 → 0.4.5

Sign up to get free protection for your applications and to get access to all the features.
data/lib/dbi.rb CHANGED
@@ -90,7 +90,7 @@ Deprecate.set_action(
90
90
 
91
91
  #++
92
92
  module DBI
93
- VERSION = "0.4.4"
93
+ VERSION = "0.4.5"
94
94
 
95
95
  module DBD # :nodoc:
96
96
  API_VERSION = "0.3"
@@ -74,7 +74,7 @@ module DBI
74
74
 
75
75
  coltypes = column_types
76
76
 
77
- if (pos - 1) < 1
77
+ if (pos - 1) < 0
78
78
  raise InterfaceError, "bind positions index starting at 1"
79
79
  end
80
80
 
@@ -22,7 +22,7 @@ class TC_DBI < Test::Unit::TestCase
22
22
  end
23
23
 
24
24
  def test_dbi_version
25
- assert_equal("0.4.3", DBI::VERSION)
25
+ assert_equal("0.4.5", DBI::VERSION)
26
26
  end
27
27
 
28
28
  def test_dbd_module
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 4
8
- - 4
9
- version: 0.4.4
8
+ - 5
9
+ version: 0.4.5
10
10
  platform: ruby
11
11
  authors:
12
12
  - Erik Hollensbe
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-05-05 00:00:00 -04:00
18
+ date: 2010-05-17 00:00:00 -04:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency