torque-postgresql 2.3.0 → 2.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/torque/postgresql/auxiliary_statement/recursive.rb +149 -0
- data/lib/torque/postgresql/auxiliary_statement/settings.rb +75 -22
- data/lib/torque/postgresql/auxiliary_statement.rb +39 -40
- data/lib/torque/postgresql/base.rb +10 -0
- data/lib/torque/postgresql/config.rb +5 -1
- data/lib/torque/postgresql/inheritance.rb +3 -1
- data/lib/torque/postgresql/railtie.rb +5 -1
- data/lib/torque/postgresql/relation/auxiliary_statement.rb +28 -15
- data/lib/torque/postgresql/version.rb +1 -1
- data/spec/models/category.rb +2 -0
- data/spec/schema.rb +7 -1
- data/spec/tests/auxiliary_statement_spec.rb +374 -35
- metadata +33 -30
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.
|
4
|
+
version: 2.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Carlos Silva
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-12-
|
11
|
+
date: 2022-12-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -108,22 +108,22 @@ dependencies:
|
|
108
108
|
name: rspec
|
109
109
|
requirement: !ruby/object:Gem::Requirement
|
110
110
|
requirements:
|
111
|
-
- - "~>"
|
112
|
-
- !ruby/object:Gem::Version
|
113
|
-
version: '3.5'
|
114
111
|
- - ">="
|
115
112
|
- !ruby/object:Gem::Version
|
116
113
|
version: 3.5.0
|
114
|
+
- - "~>"
|
115
|
+
- !ruby/object:Gem::Version
|
116
|
+
version: '3.5'
|
117
117
|
type: :development
|
118
118
|
prerelease: false
|
119
119
|
version_requirements: !ruby/object:Gem::Requirement
|
120
120
|
requirements:
|
121
|
-
- - "~>"
|
122
|
-
- !ruby/object:Gem::Version
|
123
|
-
version: '3.5'
|
124
121
|
- - ">="
|
125
122
|
- !ruby/object:Gem::Version
|
126
123
|
version: 3.5.0
|
124
|
+
- - "~>"
|
125
|
+
- !ruby/object:Gem::Version
|
126
|
+
version: '3.5'
|
127
127
|
- !ruby/object:Gem::Dependency
|
128
128
|
name: factory_bot
|
129
129
|
requirement: !ruby/object:Gem::Requirement
|
@@ -213,6 +213,7 @@ files:
|
|
213
213
|
- lib/torque/postgresql/attributes/period.rb
|
214
214
|
- lib/torque/postgresql/autosave_association.rb
|
215
215
|
- lib/torque/postgresql/auxiliary_statement.rb
|
216
|
+
- lib/torque/postgresql/auxiliary_statement/recursive.rb
|
216
217
|
- lib/torque/postgresql/auxiliary_statement/settings.rb
|
217
218
|
- lib/torque/postgresql/base.rb
|
218
219
|
- lib/torque/postgresql/collector.rb
|
@@ -257,6 +258,7 @@ files:
|
|
257
258
|
- spec/models/activity_post/sample.rb
|
258
259
|
- spec/models/author.rb
|
259
260
|
- spec/models/author_journalist.rb
|
261
|
+
- spec/models/category.rb
|
260
262
|
- spec/models/comment.rb
|
261
263
|
- spec/models/course.rb
|
262
264
|
- spec/models/geometry.rb
|
@@ -297,7 +299,7 @@ licenses:
|
|
297
299
|
metadata:
|
298
300
|
source_code_uri: https://github.com/crashtech/torque-postgresql
|
299
301
|
bug_tracker_uri: https://github.com/crashtech/torque-postgresql/issues
|
300
|
-
post_install_message:
|
302
|
+
post_install_message:
|
301
303
|
rdoc_options:
|
302
304
|
- "--title"
|
303
305
|
- Torque PostgreSQL
|
@@ -314,59 +316,60 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
314
316
|
- !ruby/object:Gem::Version
|
315
317
|
version: 1.8.11
|
316
318
|
requirements: []
|
317
|
-
rubygems_version: 3.
|
318
|
-
signing_key:
|
319
|
+
rubygems_version: 3.0.8
|
320
|
+
signing_key:
|
319
321
|
specification_version: 4
|
320
322
|
summary: ActiveRecord extension to access PostgreSQL advanced resources
|
321
323
|
test_files:
|
322
324
|
- spec/en.yml
|
323
325
|
- spec/factories/authors.rb
|
324
326
|
- spec/factories/comments.rb
|
325
|
-
- spec/factories/item.rb
|
326
327
|
- spec/factories/posts.rb
|
327
328
|
- spec/factories/tags.rb
|
328
329
|
- spec/factories/texts.rb
|
329
330
|
- spec/factories/users.rb
|
330
331
|
- spec/factories/videos.rb
|
332
|
+
- spec/factories/item.rb
|
331
333
|
- spec/mocks/cache_query.rb
|
332
334
|
- spec/mocks/create_table.rb
|
333
335
|
- spec/models/activity.rb
|
334
336
|
- spec/models/activity_book.rb
|
335
|
-
- spec/models/activity_post/sample.rb
|
336
337
|
- spec/models/activity_post.rb
|
338
|
+
- spec/models/activity_post/sample.rb
|
337
339
|
- spec/models/author.rb
|
338
340
|
- spec/models/author_journalist.rb
|
339
341
|
- spec/models/comment.rb
|
340
342
|
- spec/models/course.rb
|
341
343
|
- spec/models/geometry.rb
|
342
344
|
- spec/models/guest_comment.rb
|
343
|
-
- spec/models/internal/user.rb
|
344
|
-
- spec/models/item.rb
|
345
345
|
- spec/models/post.rb
|
346
|
-
- spec/models/question.rb
|
347
|
-
- spec/models/question_select.rb
|
348
346
|
- spec/models/tag.rb
|
349
347
|
- spec/models/text.rb
|
350
348
|
- spec/models/time_keeper.rb
|
351
349
|
- spec/models/user.rb
|
352
350
|
- spec/models/video.rb
|
353
|
-
- spec/
|
354
|
-
- spec/
|
355
|
-
- spec/
|
356
|
-
- spec/
|
357
|
-
- spec/
|
351
|
+
- spec/models/item.rb
|
352
|
+
- spec/models/question.rb
|
353
|
+
- spec/models/question_select.rb
|
354
|
+
- spec/models/internal/user.rb
|
355
|
+
- spec/models/category.rb
|
358
356
|
- spec/tests/collector_spec.rb
|
359
357
|
- spec/tests/distinct_on_spec.rb
|
360
|
-
- spec/tests/enum_set_spec.rb
|
361
|
-
- spec/tests/enum_spec.rb
|
362
358
|
- spec/tests/geometric_builder_spec.rb
|
363
|
-
- spec/tests/has_many_spec.rb
|
364
|
-
- spec/tests/insert_all_spec.rb
|
365
|
-
- spec/tests/interval_spec.rb
|
366
359
|
- spec/tests/lazy_spec.rb
|
367
|
-
- spec/tests/period_spec.rb
|
368
360
|
- spec/tests/quoting_spec.rb
|
369
|
-
- spec/tests/range_spec.rb
|
370
361
|
- spec/tests/relation_spec.rb
|
362
|
+
- spec/tests/belongs_to_many_spec.rb
|
363
|
+
- spec/tests/range_spec.rb
|
364
|
+
- spec/tests/insert_all_spec.rb
|
365
|
+
- spec/tests/enum_set_spec.rb
|
366
|
+
- spec/tests/auxiliary_statement_spec.rb
|
367
|
+
- spec/tests/interval_spec.rb
|
368
|
+
- spec/tests/period_spec.rb
|
371
369
|
- spec/tests/schema_spec.rb
|
372
370
|
- spec/tests/table_inheritance_spec.rb
|
371
|
+
- spec/tests/arel_spec.rb
|
372
|
+
- spec/tests/enum_spec.rb
|
373
|
+
- spec/tests/has_many_spec.rb
|
374
|
+
- spec/spec_helper.rb
|
375
|
+
- spec/schema.rb
|