consistent_schema_rb 0.0.4 → 0.0.5

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: f3b7df4e30d9571adedc9d56f63df6ade64f0a3d
4
- data.tar.gz: 97c13625c0b435fdd40c7c7fa4697c1efbb83caf
3
+ metadata.gz: 24778530dc5512693897f2072e86fcbba2b933ef
4
+ data.tar.gz: 00cb0b38ee9f082baa78d52c302ee8ce1d34e895
5
5
  SHA512:
6
- metadata.gz: c72fee3e029d7d8e8473a85ae9578875a2ae5162bb57446d5252c9c6841fc9f370f2ae890a5de720231ecb08eb074f58f8d3b332fed0eebd6a5c46af52151d22
7
- data.tar.gz: 9ddfc7c927c8c3a5cd2d5d023370de918b3a02f5419f1398285b1035c2eb61d3e4ef18acd0da6e8d89dc4b6f083562564809c24b96d87d98487b85c1892b8451
6
+ metadata.gz: ab4bba85f37e54add64a6e4a93688f457bd0f03753b44e3fdea02d78d4b304228f051b54618dae0180da7862789394b7641242cb2a8711f57af6b846b383c0be
7
+ data.tar.gz: 2ddb664fdfac8140488ff37273c81829e2144ddab22dcbec7b43e553c16a8fe7e7c8e2413505fec4bef85cde41084186fae7548fcfc1d529e5e5cc089bd3b4c0
@@ -9,17 +9,14 @@ module ActiveRecord
9
9
 
10
10
  module ConnectionAdapters
11
11
  class OrderedColumnPostgreSQLAdapterWrapper < Delegator
12
- def initailize(postgresql_connection)
13
- super
14
- @postgresql_connection = postgresql_connection
15
- end
12
+ attr_reader :postgresql_connection
16
13
 
17
14
  def columns(table_name, name = nil)
18
- @postgresql_connection.columns(table_name, name).sort { |x,y| x.name <=> y.name }
15
+ postgresql_connection.columns(table_name, name).sort { |x,y| x.name <=> y.name }
19
16
  end
20
17
 
21
18
  def __getobj__
22
- @postgresql_connection
19
+ postgresql_connection
23
20
  end
24
21
 
25
22
  def __setobj__(obj)
@@ -1,3 +1,3 @@
1
1
  module ConsistentSchemaRb
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: consistent_schema_rb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Aitken
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-12-07 00:00:00.000000000 Z
11
+ date: 2013-12-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord