aqueduct-postgresql 0.2.0 → 0.2.1

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: a804eb5e53043e396814cdfb60c2f4027f57d134
4
- data.tar.gz: f8a3825ce52f91d0e7d071d673e06a4d0ee58634
3
+ metadata.gz: a6df837275e2f84fdc887c0fa655281bdfec1538
4
+ data.tar.gz: 717e20c12265ea850023a105f1d0aff34daf002f
5
5
  SHA512:
6
- metadata.gz: 7fdb1b178f205e1351fb4597178ac20f0c9fa4b10953f099cf4b62381e55b4ab95c7085ea0e1185adc9b9ae77788638afb686ac419a15a1a76c81e5264545e60
7
- data.tar.gz: e5946874d4a40ce19ede6c65fd6506320a5a32daf97451b4fe5ec89cb93a0d6fb3c4142e9c3cf5c2fbb0fd4dde0048a57d2ad11f2c45fad8ba159d08f6b2ce0e
6
+ metadata.gz: 66b7a0316ede6c1cf1963bc73e70be327f0abc7697c4afe78aec081ec10779d2269da8b6da388f462881eed0ec9c23163ff58a3f901d0d059797189d127745cb
7
+ data.tar.gz: 743574753ad929a0b6df57d35518f904af2a0427f9931d82eee46c804230a54847f3508d4f8f384a2a574a38ac61cf15f77f306300fb2f24b255ad6e002ed831
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ ## 0.2.1 (July 25, 2013)
2
+
3
+ ### Bug Fix
4
+ - Fixed an error that occurred when retrieving all values for a column that did not exist
5
+
1
6
  ## 0.2.0 (July 17, 2013)
2
7
 
3
8
  ### Enhancements
@@ -3,7 +3,7 @@ module Aqueduct
3
3
  module VERSION
4
4
  MAJOR = 0
5
5
  MINOR = 2
6
- TINY = 0
6
+ TINY = 1
7
7
  BUILD = nil # nil, "pre", "rc", "rc2"
8
8
 
9
9
  STRING = [MAJOR, MINOR, TINY, BUILD].compact.join('.')
@@ -112,7 +112,7 @@ module Aqueduct
112
112
  column_found = columns.include?(column)
113
113
 
114
114
  if not column_found
115
- result += " <i>#{column}</i> does not exist in <i>#{@source.database}.#{table}</i>"
115
+ error += " <i>#{column}</i> does not exist in <i>#{@source.database}.#{table}</i>"
116
116
  else
117
117
  results = db_connection.exec("SELECT CAST(\"#{column}\" AS text) FROM \"#{table}\";")
118
118
  values = results.collect{|r| r[column.to_s]}
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.0
4
+ version: 0.2.1
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-17 00:00:00.000000000 Z
11
+ date: 2013-07-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails