jeremyevans-postgres-pr 0.6.5 → 0.6.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 40eac5616538f84e9cf6c150e0445a240f2ce4ea
4
+ data.tar.gz: 2c3e14a4e18c7408c19b2c10cafb79d9805c2415
5
+ SHA512:
6
+ metadata.gz: 0621388246a27a041eec091a5cba32985cf7a36d54b3ff0bc0aefdcdc5c049906eacebae7924e7d12dcce2fd1d408b1ece11b1f6c659865b8c8346cbe040367e
7
+ data.tar.gz: 9d47154ef3364434a754148e35aa6918f89973d1de6a87c4ca55bef6b919b414e7d34d010c1b6c589cc4c7dc58d999a0598a47dc4a8454d87ebc9078340cdda1
@@ -7,7 +7,7 @@ module Postgres::Conversion
7
7
  # The historical bytea escape format is always used, for maximum compatibility.
8
8
  def encode_bytea(str)
9
9
  # each_byte used instead of [] for 1.9 compatibility
10
- str.gsub(/[\000-\037\047\134\177-\377]/){|b| "\\#{sprintf('%o', b.each_byte{|x| break x}).rjust(3, '0')}"}
10
+ str.gsub(/[\000-\037\047\134\177-\377]/n){|b| "\\#{sprintf('%o', b.each_byte{|x| break x}).rjust(3, '0')}"}
11
11
  end
12
12
 
13
13
  # Decodes a bytea encoded string.
@@ -1,3 +1,3 @@
1
1
  module PostgresPR
2
- Version = "0.6.5"
2
+ Version = "0.6.6"
3
3
  end
metadata CHANGED
@@ -1,15 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jeremyevans-postgres-pr
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.5
5
- prerelease:
4
+ version: 0.6.6
6
5
  platform: ruby
7
6
  authors:
8
7
  - Jeremy Evans
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2012-10-23 00:00:00.000000000 Z
11
+ date: 2013-03-06 00:00:00.000000000 Z
13
12
  dependencies: []
14
13
  description:
15
14
  email: code@jeremyevans.net
@@ -37,27 +36,26 @@ files:
37
36
  - examples/test_connection.rb
38
37
  homepage:
39
38
  licenses: []
39
+ metadata: {}
40
40
  post_install_message:
41
41
  rdoc_options: []
42
42
  require_paths:
43
43
  - lib
44
44
  required_ruby_version: !ruby/object:Gem::Requirement
45
- none: false
46
45
  requirements:
47
- - - ! '>='
46
+ - - '>='
48
47
  - !ruby/object:Gem::Version
49
48
  version: '0'
50
49
  required_rubygems_version: !ruby/object:Gem::Requirement
51
- none: false
52
50
  requirements:
53
- - - ! '>='
51
+ - - '>='
54
52
  - !ruby/object:Gem::Version
55
53
  version: '0'
56
54
  requirements:
57
55
  - PostgreSQL >= 7.4
58
56
  rubyforge_project:
59
- rubygems_version: 1.8.23
57
+ rubygems_version: 2.0.0
60
58
  signing_key:
61
- specification_version: 3
59
+ specification_version: 4
62
60
  summary: A pure Ruby interface to the PostgreSQL (>= 7.4) database
63
61
  test_files: []