consistent_schema_rb 0.0.5 → 0.1.0

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: 24778530dc5512693897f2072e86fcbba2b933ef
4
- data.tar.gz: 00cb0b38ee9f082baa78d52c302ee8ce1d34e895
3
+ metadata.gz: 7093955d904e7c2ddd46b557024d5ef38d4548ce
4
+ data.tar.gz: f7fa1379d44b895e4f2cd99bf4f13ff69549377b
5
5
  SHA512:
6
- metadata.gz: ab4bba85f37e54add64a6e4a93688f457bd0f03753b44e3fdea02d78d4b304228f051b54618dae0180da7862789394b7641242cb2a8711f57af6b846b383c0be
7
- data.tar.gz: 2ddb664fdfac8140488ff37273c81829e2144ddab22dcbec7b43e553c16a8fe7e7c8e2413505fec4bef85cde41084186fae7548fcfc1d529e5e5cc089bd3b4c0
6
+ metadata.gz: 41f4434d1633a9d41bf038676aad1bcb74521b6f7ae36137118e3d340c7a48453fa54ecfc00d65d2f98483aa5cdf8ffa3d73cd915da4c491ed827643140f4e3e
7
+ data.tar.gz: a7703149fe401adbea7974776f84e00ba5ac4d6ee4b1606ea93a897edc152b804407e8f9c62025a51151fa327a37c1819c6199f2a2ce869d3e9cd99f0ba550cd
@@ -18,7 +18,8 @@ Gem::Specification.new do |spec|
18
18
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
19
  spec.require_paths = ["lib"]
20
20
 
21
- spec.add_runtime_dependency "activerecord", ">= 3.2"
21
+ spec.add_runtime_dependency "activerecord", ">= 4.0"
22
+ spec.add_runtime_dependency "pg", ">= 0.14"
22
23
 
23
24
  spec.add_development_dependency "bundler", "~> 1.3"
24
25
  spec.add_development_dependency "rake"
@@ -11,8 +11,8 @@ module ActiveRecord
11
11
  class OrderedColumnPostgreSQLAdapterWrapper < Delegator
12
12
  attr_reader :postgresql_connection
13
13
 
14
- def columns(table_name, name = nil)
15
- postgresql_connection.columns(table_name, name).sort { |x,y| x.name <=> y.name }
14
+ def columns(table_name)
15
+ postgresql_connection.columns(table_name).sort { |x,y| x.name <=> y.name }
16
16
  end
17
17
 
18
18
  def __getobj__
@@ -1,3 +1,3 @@
1
1
  module ConsistentSchemaRb
2
- VERSION = "0.0.5"
2
+ VERSION = "0.1.0"
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.5
4
+ version: 0.1.0
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-11 00:00:00.000000000 Z
11
+ date: 2014-01-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -16,14 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - '>='
18
18
  - !ruby/object:Gem::Version
19
- version: '3.2'
19
+ version: '4.0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '>='
25
25
  - !ruby/object:Gem::Version
26
- version: '3.2'
26
+ version: '4.0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: pg
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - '>='
32
+ - !ruby/object:Gem::Version
33
+ version: '0.14'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - '>='
39
+ - !ruby/object:Gem::Version
40
+ version: '0.14'
27
41
  - !ruby/object:Gem::Dependency
28
42
  name: bundler
29
43
  requirement: !ruby/object:Gem::Requirement