postgres-pr 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/postgres-pr/connection.rb +2 -2
  2. metadata +5 -4
@@ -55,7 +55,7 @@ class Connection
55
55
 
56
56
  when AuthentificationOk
57
57
  when ErrorResponse
58
- raise "authentification failed"
58
+ raise msg.field_values.join("\t")
59
59
  when NoticeResponse
60
60
  # TODO
61
61
  when ParameterStatus
@@ -110,7 +110,7 @@ class Connection
110
110
  end
111
111
  end
112
112
 
113
- raise errors.map{|e| e.inspect}.join(" ") unless errors.empty?
113
+ raise errors.map{|e| e.field_values.join("\t") }.join("\n") unless errors.empty?
114
114
 
115
115
  result
116
116
  }
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
- rubygems_version: 0.8.1
2
+ rubygems_version: 0.8.3
3
3
  specification_version: 1
4
4
  name: postgres-pr
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.3.0
7
- date: 2004-12-07
6
+ version: 0.3.1
7
+ date: 2004-12-21
8
8
  summary: A pure Ruby interface to the PostgreSQL database
9
9
  require_paths:
10
10
  - lib
11
- author: Michael Neumann
12
11
  email: mneumann@ntecs.de
13
12
  homepage: ruby-dbi.rubyforge.org
14
13
  rubyforge_project: ruby-dbi
@@ -25,6 +24,8 @@ required_ruby_version: !ruby/object:Gem::Version::Requirement
25
24
  version: 0.0.0
26
25
  version:
27
26
  platform: ruby
27
+ authors:
28
+ - Michael Neumann
28
29
  files:
29
30
  - lib/binary_writer.rb
30
31
  - lib/byteorder.rb