postgres-pr 0.6.1 → 0.6.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/postgres-pr/1q +3 -0
- data/lib/postgres-pr/postgres-compat.rb +12 -0
- data/lib/postgres-pr/version.rb +1 -1
- metadata +19 -19
data/lib/postgres-pr/1q
ADDED
@@ -43,6 +43,18 @@ class PGconn
|
|
43
43
|
str.gsub("'","''").gsub("\\", "\\\\\\\\")
|
44
44
|
end
|
45
45
|
|
46
|
+
def notice_processor
|
47
|
+
@conn.notice_processor
|
48
|
+
end
|
49
|
+
|
50
|
+
def notice_processor=(np)
|
51
|
+
@conn.notice_processor = np
|
52
|
+
end
|
53
|
+
|
54
|
+
def self.quote_ident(name)
|
55
|
+
%("#{name}")
|
56
|
+
end
|
57
|
+
|
46
58
|
end
|
47
59
|
|
48
60
|
class PGresult
|
data/lib/postgres-pr/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: postgres-pr
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Neumann
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-
|
12
|
+
date: 2009-12-15 00:00:00 +01:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|
@@ -22,29 +22,29 @@ extensions: []
|
|
22
22
|
extra_rdoc_files: []
|
23
23
|
|
24
24
|
files:
|
25
|
-
- lib/
|
26
|
-
- lib/
|
27
|
-
- lib/postgres-pr/message.rb
|
25
|
+
- lib/buffer.rb
|
26
|
+
- lib/byteorder.rb
|
28
27
|
- lib/postgres-pr/connection.rb
|
29
|
-
- lib/postgres-pr/version.rb
|
30
|
-
- lib/postgres-pr/typeconv
|
31
|
-
- lib/postgres-pr/typeconv/conv.rb
|
32
|
-
- lib/postgres-pr/typeconv/array.rb
|
33
28
|
- lib/postgres-pr/typeconv/TC_conv.rb
|
34
29
|
- lib/postgres-pr/typeconv/bytea.rb
|
35
|
-
- lib/
|
36
|
-
- lib/
|
30
|
+
- lib/postgres-pr/typeconv/conv.rb
|
31
|
+
- lib/postgres-pr/typeconv/array.rb
|
32
|
+
- lib/postgres-pr/1q
|
33
|
+
- lib/postgres-pr/postgres-compat.rb
|
34
|
+
- lib/postgres-pr/message.rb
|
35
|
+
- lib/postgres-pr/version.rb
|
37
36
|
- lib/binary_reader.rb
|
38
|
-
- lib/
|
37
|
+
- lib/binary_writer.rb
|
39
38
|
- lib/postgres.rb
|
40
39
|
- test/TC_message.rb
|
41
|
-
- examples/server.rb
|
42
|
-
- examples/test_connection.rb
|
43
40
|
- examples/client.rb
|
44
|
-
- examples/og
|
45
41
|
- examples/og/test.rb
|
46
|
-
|
47
|
-
|
42
|
+
- examples/server.rb
|
43
|
+
- examples/test_connection.rb
|
44
|
+
has_rdoc: true
|
45
|
+
homepage: http://postgres-pr.rubyforge.org
|
46
|
+
licenses: []
|
47
|
+
|
48
48
|
post_install_message:
|
49
49
|
rdoc_options: []
|
50
50
|
|
@@ -65,9 +65,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
65
65
|
requirements:
|
66
66
|
- PostgreSQL >= 7.4
|
67
67
|
rubyforge_project: postgres-pr
|
68
|
-
rubygems_version: 1.
|
68
|
+
rubygems_version: 1.3.5
|
69
69
|
signing_key:
|
70
|
-
specification_version:
|
70
|
+
specification_version: 3
|
71
71
|
summary: A pure Ruby interface to the PostgreSQL (>= 7.4) database
|
72
72
|
test_files: []
|
73
73
|
|