do_sqlite3 0.2.2 → 0.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. data/Rakefile +2 -2
  2. data/lib/do_sqlite3.rb +1 -1
  3. metadata +2 -2
data/Rakefile CHANGED
@@ -3,7 +3,7 @@ require 'rake/gempackagetask'
3
3
 
4
4
  PLUGIN = "do_sqlite3"
5
5
  NAME = "do_sqlite3"
6
- VERSION = "0.2.2"
6
+ VERSION = "0.2.3"
7
7
  AUTHOR = "Yehuda Katz"
8
8
  EMAIL = "wycats@gmail.com"
9
9
  HOMEPAGE = "http://dataobjects.devjavu.com"
@@ -24,7 +24,7 @@ spec = Gem::Specification.new do |s|
24
24
  s.require_path = 'lib'
25
25
  s.autorequire = PLUGIN
26
26
  s.extensions = ["ext/extconf.rb"]
27
- s.files = %w(LICENSE README Rakefile TODO) + Dir.glob("{lib,specs,ext}/**/*")
27
+ s.files = %w(LICENSE README Rakefile TODO) + Dir.glob("{lib,specs,ext}/**/*").reject {|x| x =~ /\.(o|bundle)$/ }
28
28
  end
29
29
 
30
30
  Rake::GemPackageTask.new(spec) do |pkg|
@@ -20,7 +20,7 @@ module DataObject
20
20
  def open
21
21
  r, d = Sqlite3_c.sqlite3_open(@conn)
22
22
  unless r == Sqlite3_c::SQLITE_OK
23
- raise ConnectionFailed, "The connection with connection string #{@connection_string} failed\n#{Sqlite3_c.sqlite3_errmsg(d)}"
23
+ raise ConnectionFailed, "Unable to connect to database with provided connection string. \n#{Sqlite3_c.sqlite3_errmsg(d)}"
24
24
  else
25
25
  @db = d
26
26
  end
metadata CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.4
3
3
  specification_version: 1
4
4
  name: do_sqlite3
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.2.2
7
- date: 2007-11-18 00:00:00 -08:00
6
+ version: 0.2.3
7
+ date: 2008-01-01 00:00:00 -08:00
8
8
  summary: A DataObject.rb driver for sqlite3
9
9
  require_paths:
10
10
  - lib