rom-sql 1.3.3 → 1.3.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +11 -1
- data/lib/rom/sql/extensions/postgres/inferrer.rb +1 -1
- data/lib/rom/sql/version.rb +1 -1
- data/rom-sql.gemspec +1 -1
- data/spec/integration/{combine_spec.rb → graph_spec.rb} +2 -2
- metadata +4 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7aee35c2fa20e158c0dcaf4f72ae6649209016cb
|
4
|
+
data.tar.gz: f3272a901d950df4c9b8846a5fa13e004490e4e8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8ce44faf6d367af7b9b8e7546991a758f984310c7de2916726782992e0ddcb4e33c13d0c24cab684cfd5cc9a532901859e6110af060b035fd13240e05e284c78
|
7
|
+
data.tar.gz: 28a2cc3e5f7d90c5fe8ef8e5de8fc437a5d0eb5fa6c5f91162279095476c6eb57b4e3ee786b6a89da5cc0c031762cfce0a91b362b87bcc73fe12c73a232eb510
|
data/CHANGELOG.md
CHANGED
@@ -1,4 +1,12 @@
|
|
1
|
-
## v1.3.
|
1
|
+
## v1.3.4 2017-09-12
|
2
|
+
|
3
|
+
### Fixed
|
4
|
+
|
5
|
+
* A warning caused by using `EMPTY_BRACKET` from Sequel (flash-gordon)
|
6
|
+
|
7
|
+
[Compare v1.3.3..v1.3.4](https://github.com/rom-rb/rom-sql/compare/v1.3.3...v1.3.4)
|
8
|
+
|
9
|
+
## v1.3.3 2017-05-30
|
2
10
|
|
3
11
|
### Added
|
4
12
|
|
@@ -21,6 +29,8 @@
|
|
21
29
|
|
22
30
|
* Fixed a regression introduced in v1.3.2 caused by doing way more work processing the default dataset (flash-gordon)
|
23
31
|
|
32
|
+
[Compare v1.3.2...v1.3.3](https://github.com/rom-rb/rom-sql/compare/v1.3.2...v1.3.3)
|
33
|
+
|
24
34
|
## v1.3.2 2017-05-13
|
25
35
|
|
26
36
|
### Added
|
data/lib/rom/sql/version.rb
CHANGED
data/rom-sql.gemspec
CHANGED
@@ -19,7 +19,7 @@ Gem::Specification.new do |spec|
|
|
19
19
|
|
20
20
|
spec.add_runtime_dependency 'sequel', '~> 4.43'
|
21
21
|
spec.add_runtime_dependency 'dry-equalizer', '~> 0.2'
|
22
|
-
spec.add_runtime_dependency 'dry-types', '~> 0.10
|
22
|
+
spec.add_runtime_dependency 'dry-types', '~> 0.10.2'
|
23
23
|
spec.add_runtime_dependency 'dry-core', '~> 0.3'
|
24
24
|
spec.add_runtime_dependency 'rom', '~> 3.2', '>= 3.2.2'
|
25
25
|
|
@@ -23,12 +23,12 @@ RSpec.describe 'Eager loading' do
|
|
23
23
|
end
|
24
24
|
end
|
25
25
|
|
26
|
-
it 'issues 3 queries for 3
|
26
|
+
it 'issues 3 queries for 3.graphd relations' do
|
27
27
|
users = container.relation(:users).by_name('Piotr')
|
28
28
|
tasks = container.relation(:tasks)
|
29
29
|
tags = container.relation(:tags)
|
30
30
|
|
31
|
-
relation = users.
|
31
|
+
relation = users.graph(tasks.for_users.graph(tags.for_tasks))
|
32
32
|
|
33
33
|
# TODO: figure out a way to assert correct number of issued queries
|
34
34
|
expect(relation.call).to be_instance_of(ROM::Relation::Loaded)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rom-sql
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Piotr Solnica
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-09-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sequel
|
@@ -43,9 +43,6 @@ dependencies:
|
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: '0.10'
|
48
|
-
- - ">="
|
49
46
|
- !ruby/object:Gem::Version
|
50
47
|
version: 0.10.2
|
51
48
|
type: :runtime
|
@@ -53,9 +50,6 @@ dependencies:
|
|
53
50
|
version_requirements: !ruby/object:Gem::Requirement
|
54
51
|
requirements:
|
55
52
|
- - "~>"
|
56
|
-
- !ruby/object:Gem::Version
|
57
|
-
version: '0.10'
|
58
|
-
- - ">="
|
59
53
|
- !ruby/object:Gem::Version
|
60
54
|
version: 0.10.2
|
61
55
|
- !ruby/object:Gem::Dependency
|
@@ -236,12 +230,12 @@ files:
|
|
236
230
|
- spec/integration/association/one_to_many_spec.rb
|
237
231
|
- spec/integration/association/one_to_one_spec.rb
|
238
232
|
- spec/integration/association/one_to_one_through_spec.rb
|
239
|
-
- spec/integration/combine_spec.rb
|
240
233
|
- spec/integration/commands/create_spec.rb
|
241
234
|
- spec/integration/commands/delete_spec.rb
|
242
235
|
- spec/integration/commands/update_spec.rb
|
243
236
|
- spec/integration/commands/upsert_spec.rb
|
244
237
|
- spec/integration/gateway_spec.rb
|
238
|
+
- spec/integration/graph_spec.rb
|
245
239
|
- spec/integration/migration_spec.rb
|
246
240
|
- spec/integration/plugins/associates/many_to_many_spec.rb
|
247
241
|
- spec/integration/plugins/associates_spec.rb
|
@@ -374,12 +368,12 @@ test_files:
|
|
374
368
|
- spec/integration/association/one_to_many_spec.rb
|
375
369
|
- spec/integration/association/one_to_one_spec.rb
|
376
370
|
- spec/integration/association/one_to_one_through_spec.rb
|
377
|
-
- spec/integration/combine_spec.rb
|
378
371
|
- spec/integration/commands/create_spec.rb
|
379
372
|
- spec/integration/commands/delete_spec.rb
|
380
373
|
- spec/integration/commands/update_spec.rb
|
381
374
|
- spec/integration/commands/upsert_spec.rb
|
382
375
|
- spec/integration/gateway_spec.rb
|
376
|
+
- spec/integration/graph_spec.rb
|
383
377
|
- spec/integration/migration_spec.rb
|
384
378
|
- spec/integration/plugins/associates/many_to_many_spec.rb
|
385
379
|
- spec/integration/plugins/associates_spec.rb
|