torque-postgresql 2.0.1 → 2.0.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
  SHA256:
3
- metadata.gz: 4164165e64b027d11997dde286684b27bd77c33634e3eb84c6f1c757b5d814a0
4
- data.tar.gz: 8bf196d92b261661631ceb02f2ab7600a8a6cec5cacc43fa69b0c300afb65582
3
+ metadata.gz: d9085a88f0ef5d87a1cb95bdaf82fac432c7857ef97f485df3d20b27dab2a814
4
+ data.tar.gz: 0252a645b4c6f3422c296f621155f7c78d82d10a4d296a8f46616abfade3e481
5
5
  SHA512:
6
- metadata.gz: 7e44fd4215ba1ef9d2aebf8d6a5c285266f0bb64544a2a74d36773aaaa8e57c5776c3260183352accf76f81e94edcba27ffa898145e4d0bb467f5097ce7e7467
7
- data.tar.gz: 9c8acb15a0e78f33e8da372dcffc0e1a3e238631d01932056e5e48392801ec3706c3168a138944e5ebe7b80222f2f962e32af043a91c29235b6e824e02b70bbc
6
+ metadata.gz: 54593a0e4e7e25de241904f72ed3c016447f24ab93668d80f2c2b84d6f8e10689d3dc8749012cd6b20c1b45c33d3d1b5dd3124ee8d7c9bef659507ef3c85e2ea
7
+ data.tar.gz: a58ae7a09eeaf9afdef0c3f1fbff5c7a7a96d671d913c33d57d286230b3c939888d1c985fe09ab8991896698a98f2b63d8f977ed251670ad4753dd26e73fa124
@@ -67,12 +67,15 @@ module Torque
67
67
  end
68
68
  end
69
69
 
70
- # dump foreign keys at the end to make sure all dependent tables exist.
70
+ # Dump foreign keys at the end to make sure all dependent tables exist.
71
71
  if @connection.supports_foreign_keys?
72
72
  sorted_tables.each do |tbl|
73
73
  foreign_keys(tbl, stream) unless ignored?(tbl)
74
74
  end
75
75
  end
76
+
77
+ # Scenic integration
78
+ views(stream) if defined?(::Scenic)
76
79
  end
77
80
 
78
81
  # Dump user defined types like enum
@@ -1,5 +1,5 @@
1
1
  module Torque
2
2
  module PostgreSQL
3
- VERSION = '2.0.1'
3
+ VERSION = '2.0.2'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: torque-postgresql
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.1
4
+ version: 2.0.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: 2020-08-08 00:00:00.000000000 Z
11
+ date: 2020-08-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -335,8 +335,6 @@ test_files:
335
335
  - spec/tests/range_spec.rb
336
336
  - spec/tests/enum_spec.rb
337
337
  - spec/tests/auxiliary_statement_spec.rb
338
- - spec/tests/has_many_spec.rb
339
- - spec/tests/table_inheritance_spec.rb
340
338
  - spec/tests/coder_spec.rb
341
339
  - spec/tests/collector_spec.rb
342
340
  - spec/tests/distinct_on_spec.rb
@@ -347,7 +345,9 @@ test_files:
347
345
  - spec/tests/arel_spec.rb
348
346
  - spec/tests/enum_set_spec.rb
349
347
  - spec/tests/belongs_to_many_spec.rb
348
+ - spec/tests/has_many_spec.rb
350
349
  - spec/tests/period_spec.rb
350
+ - spec/tests/table_inheritance_spec.rb
351
351
  - spec/mocks/cache_query.rb
352
352
  - spec/mocks/create_table.rb
353
353
  - spec/en.yml