torque-postgresql 0.1.1 → 0.1.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: c3d142177c865c53b93ad0cb573190bfa6ef2e8a
4
- data.tar.gz: a3918f964ab43868da70397ef8c8c43b45f5b10c
3
+ metadata.gz: 8300758ebf9ca8fe37a55561168b82ac794d2668
4
+ data.tar.gz: c84621b0e59fe409bf130bce2a08863355f6bbdc
5
5
  SHA512:
6
- metadata.gz: 85930c4a51a9684caf780ae88d5a25b965f3a24c0112a20b3a90216e714a106b9738b56b889598d6e446ab1a75ab6fbc92c69847ee0414edc0d5aaa4c5e93f86
7
- data.tar.gz: 08bebcce0d9e68da7c937582d5988d40038738c3c850d26842d3ec04e95c63cd07f2a394ce83a8aee035ddf36253d6bbf619a16ac43ef1e041913cb35dee205d
6
+ metadata.gz: 083ad94ce20f01f59b2b7380e1bc615eb715f36c9f638a635dd43708ad5ca07d55247eece6676470f00079e4f0410ec2847884e9bf3915a3f11390c8c2588f8c
7
+ data.tar.gz: 0da07cbc82ce422e8ef8d703ac9fb0818e160bb4cdabac782fb9a77f9d0cace067bb58f6e9d8881cdad73ed7e6649cfadedd5a90cae8f5ba955ffefb540228ad
@@ -16,13 +16,16 @@ module Torque
16
16
 
17
17
  end
18
18
 
19
- module ColumnDefinition
20
- attr_accessor :subtype
21
- end
22
-
23
19
  ActiveRecord::ConnectionAdapters::PostgreSQL::Table.include ColumnMethods
24
20
  ActiveRecord::ConnectionAdapters::PostgreSQL::TableDefinition.include ColumnMethods
25
- ActiveRecord::ConnectionAdapters::PostgreSQL::ColumnDefinition.include ColumnDefinition
21
+
22
+ if ActiveRecord::ConnectionAdapters::PostgreSQL.const_defined?('ColumnDefinition')
23
+ module ColumnDefinition
24
+ attr_accessor :subtype
25
+ end
26
+
27
+ ActiveRecord::ConnectionAdapters::PostgreSQL::ColumnDefinition.include ColumnDefinition
28
+ end
26
29
  end
27
30
  end
28
31
  end
@@ -1,5 +1,5 @@
1
1
  module Torque
2
2
  module PostgreSQL
3
- VERSION = '0.1.1'
3
+ VERSION = '0.1.2'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,55 +1,55 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: torque-postgresql
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Carlos Silva
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-04-20 00:00:00.000000000 Z
11
+ date: 2017-05-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '5.0'
20
- - - ">="
20
+ - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: 5.0.0
22
+ version: '5.2'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
- - - "~>"
27
+ - - ">="
28
28
  - !ruby/object:Gem::Version
29
29
  version: '5.0'
30
- - - ">="
30
+ - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: 5.0.0
32
+ version: '5.2'
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: pg
35
35
  requirement: !ruby/object:Gem::Requirement
36
36
  requirements:
37
- - - "~>"
38
- - !ruby/object:Gem::Version
39
- version: '0.19'
40
37
  - - ">="
41
38
  - !ruby/object:Gem::Version
42
- version: 0.19.0
39
+ version: '0.18'
40
+ - - "<"
41
+ - !ruby/object:Gem::Version
42
+ version: '1.0'
43
43
  type: :runtime
44
44
  prerelease: false
45
45
  version_requirements: !ruby/object:Gem::Requirement
46
46
  requirements:
47
- - - "~>"
48
- - !ruby/object:Gem::Version
49
- version: '0.19'
50
47
  - - ">="
51
48
  - !ruby/object:Gem::Version
52
- version: 0.19.0
49
+ version: '0.18'
50
+ - - "<"
51
+ - !ruby/object:Gem::Version
52
+ version: '1.0'
53
53
  - !ruby/object:Gem::Dependency
54
54
  name: rake
55
55
  requirement: !ruby/object:Gem::Requirement