postgres-pr 0.5.0 → 0.5.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -40,8 +40,7 @@ class PGconn
40
40
  end
41
41
 
42
42
  def self.escape(str)
43
- # TODO: correct?
44
- str.gsub(/\\/){ '\\\\' }.gsub(/'/){ '\\\'' }
43
+ str.gsub("'","''")
45
44
  end
46
45
 
47
46
  end
@@ -1,3 +1,3 @@
1
1
  module PostgresPR
2
- Version = "0.5.0"
2
+ Version = "0.5.1"
3
3
  end
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.5.0
4
+ version: 0.5.1
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: 2008-11-03 00:00:00 +01:00
12
+ date: 2009-02-02 00:00:00 +01:00
13
13
  default_executable:
14
14
  dependencies: []
15
15