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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: df694b716a7959598f6ee28219b03220b77ef0ac
4
- data.tar.gz: 1538e2d437b5d2f70558034265dd95f72744cb45
3
+ metadata.gz: 7aee35c2fa20e158c0dcaf4f72ae6649209016cb
4
+ data.tar.gz: f3272a901d950df4c9b8846a5fa13e004490e4e8
5
5
  SHA512:
6
- metadata.gz: c91a6eb888e659acded2991fc35f98a83db8bb7bd78aacbeda58a501d0f81e3f181a4314f023f0dea430162fd5542ecf7b66f92919340ea3612fd938ef3e5951
7
- data.tar.gz: 22762cfe11ae565da6b0583e715f07079b1e2d652b74bce753739228b90052067d2185910ecd102d8a25780addb147955d60f978ff04ffe94475413c5aefcdd8
6
+ metadata.gz: 8ce44faf6d367af7b9b8e7546991a758f984310c7de2916726782992e0ddcb4e33c13d0c24cab684cfd5cc9a532901859e6110af060b035fd13240e05e284c78
7
+ data.tar.gz: 28a2cc3e5f7d90c5fe8ef8e5de8fc437a5d0eb5fa6c5f91162279095476c6eb57b4e3ee786b6a89da5cc0c031762cfce0a91b362b87bcc73fe12c73a232eb510
@@ -1,4 +1,12 @@
1
- ## v1.3.3 to-be-released
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
@@ -34,7 +34,7 @@ module ROM
34
34
  'path' => Types::PG::PathT
35
35
  ).freeze
36
36
 
37
- db_array_type_matcher Sequel::Postgres::PGArray::EMPTY_BRACKET
37
+ db_array_type_matcher '[]'.freeze
38
38
 
39
39
  private
40
40
 
@@ -1,5 +1,5 @@
1
1
  module ROM
2
2
  module SQL
3
- VERSION = '1.3.3'.freeze
3
+ VERSION = '1.3.4'.freeze
4
4
  end
5
5
  end
@@ -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', '>= 0.10.2'
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 combined relations' do
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.combine(tasks.for_users.combine(tags.for_tasks))
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.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-05-30 00:00:00.000000000 Z
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