aqueduct-postgresql 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a6df837275e2f84fdc887c0fa655281bdfec1538
4
- data.tar.gz: 717e20c12265ea850023a105f1d0aff34daf002f
3
+ metadata.gz: 9d351d7154678a8add75f74d91a98164526d3361
4
+ data.tar.gz: 5a3967d6f72f99b391d04642caaed03c44528e95
5
5
  SHA512:
6
- metadata.gz: 66b7a0316ede6c1cf1963bc73e70be327f0abc7697c4afe78aec081ec10779d2269da8b6da388f462881eed0ec9c23163ff58a3f901d0d059797189d127745cb
7
- data.tar.gz: 743574753ad929a0b6df57d35518f904af2a0427f9931d82eee46c804230a54847f3508d4f8f384a2a574a38ac61cf15f77f306300fb2f24b255ad6e002ed831
6
+ metadata.gz: b6d843e2f8519d110a19280bf23d3b7359ad08d8d57e774d2a094b949b2238d6eb00563e2ab458a6e38e55ef489ae902344637a8fc65c68a79eb3bd061200d72
7
+ data.tar.gz: b885387c8bd7f90be4b47229869d0246b69bafc0ee4f430b109c87fa128ac0c4cf465a03615533d80a1b8cfc3b47b4c0ef8e30880c1a14fd8aa901fbee837409
@@ -1,3 +1,9 @@
1
+ ## 0.2.2 (August 29, 2013)
2
+
3
+ ### Enhancements
4
+ - **Gem Changes**
5
+ - Updated to pg 0.16.0
6
+
1
7
  ## 0.2.1 (July 25, 2013)
2
8
 
3
9
  ### Bug Fix
@@ -27,7 +27,7 @@ Gem::Specification.new do |s|
27
27
 
28
28
  s.add_dependency 'rails', '~> 4.0.0'
29
29
  s.add_dependency 'aqueduct', '~> 0.2.0'
30
- s.add_dependency 'pg', '~> 0.15.1'
30
+ s.add_dependency 'pg', '~> 0.16.0'
31
31
 
32
32
  s.add_development_dependency 'sqlite3'
33
33
  end
@@ -3,7 +3,7 @@ module Aqueduct
3
3
  module VERSION
4
4
  MAJOR = 0
5
5
  MINOR = 2
6
- TINY = 1
6
+ TINY = 2
7
7
  BUILD = nil # nil, "pre", "rc", "rc2"
8
8
 
9
9
  STRING = [MAJOR, MINOR, TINY, BUILD].compact.join('.')
@@ -35,7 +35,7 @@ module Aqueduct
35
35
  db_connection = PG.connect( host: @source.host, user: @source.username, password: @source.password, dbname: @source.database, port: @source.port )
36
36
  status = db_connection.status
37
37
  rescue PG::Error => e
38
- error = "#{e.errno}: #{e.error}"
38
+ error = "#{e.error}"
39
39
  ensure
40
40
  result = true if status == 0
41
41
  db_connection.finish if db_connection
@@ -60,7 +60,7 @@ module Aqueduct
60
60
  end
61
61
  end
62
62
  rescue PG::Error => e
63
- error = "#{e.errno}: #{e.error}"
63
+ error = "#{e.error}"
64
64
  ensure
65
65
  db_connection.finish if db_connection
66
66
  end
@@ -77,7 +77,7 @@ module Aqueduct
77
77
  tables = results.collect{|r| r["table_name"]}
78
78
  end
79
79
  rescue PG::Error => e
80
- error = "#{e.errno}: #{e.error}"
80
+ error = "#{e.error}"
81
81
  ensure
82
82
  db_connection.finish if db_connection
83
83
  end
@@ -119,7 +119,7 @@ module Aqueduct
119
119
  end
120
120
  end
121
121
  rescue PG::Error => e
122
- error = "#{e.errno}: #{e.error}"
122
+ error = "#{e.error}"
123
123
  ensure
124
124
  if db_connection
125
125
  db_connection.finish
@@ -24,5 +24,10 @@ AqueductPostgresqlTest: test_truth
24
24
   (0.3ms) begin transaction
25
25
  ----------------------------------
26
26
  AqueductPostgresqlTest: test_truth
27
+ ----------------------------------
28
+  (0.1ms) rollback transaction
29
+  (0.3ms) begin transaction
30
+ ----------------------------------
31
+ AqueductPostgresqlTest: test_truth
27
32
  ----------------------------------
28
33
   (0.1ms) rollback transaction
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aqueduct-postgresql
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Remo Mueller
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-07-25 00:00:00.000000000 Z
11
+ date: 2013-08-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - ~>
46
46
  - !ruby/object:Gem::Version
47
- version: 0.15.1
47
+ version: 0.16.0
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - ~>
53
53
  - !ruby/object:Gem::Version
54
- version: 0.15.1
54
+ version: 0.16.0
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: sqlite3
57
57
  requirement: !ruby/object:Gem::Requirement