bmg 0.16.2 → 0.16.3

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: f8a237bc14fd47e91bc795a0f8cb849c14e1347471dcc13f71e9c861a22a8bb8
4
- data.tar.gz: 05ac37ca9258299bdc45ca44179ce17174aa6ef0ee9407536c9acbd38c826741
3
+ metadata.gz: 44191e2a6c44d59b2965f540cfc406ddf8ac1086cdea394631a9bded9f7d31a7
4
+ data.tar.gz: ab2dbc754e795d947fe3ed7a38276b91f591c9bb8d5c2349b62ca47022cfc9c2
5
5
  SHA512:
6
- metadata.gz: 525d1bb767a4efb667ae3b1bc1473bb3e2fcd79953c79ff43b418bf33ec104bb534dcbfe62780c1e1f81b54ae7fbf238215cbbab94c2a829bdad0bbede15d439
7
- data.tar.gz: 16c66764d45e87b8c2b50f1f7bf89fff0e349aeebf1d67f1e93cd7f2e4e46fd9433c14d353c3c34a3b24ad70e143abfbca5addbd9ce3f0a90306087ea7b0ff33
6
+ metadata.gz: fbf38052a71a818d4746973e302b17190074e7d2b570dced929efd6e792c6ee92d39d021ef262db9d4ac616fed25e54a0798974cbe305756d23cd3e6be03838d
7
+ data.tar.gz: 87831c2a9c650ee5ad86eb9753a3f3f26fbfa775c52879504ddb36c5b0a869e213a367cbda3572c241061a1af5722786ba7e861ee25de2f64dac4c1681c7ad89
@@ -35,6 +35,10 @@ module Bmg
35
35
  false
36
36
  end
37
37
 
38
+ def group_by?
39
+ not(group_by_clause.nil?)
40
+ end
41
+
38
42
  def ordering
39
43
  obc = order_by_clause
40
44
  obc && order_by_clause.to_ordering
@@ -22,6 +22,7 @@ module Bmg
22
22
  :predicate,
23
23
  :from_clause,
24
24
  :table_spec,
25
+ :group_by_clause,
25
26
  :order_by_clause,
26
27
  :limit_clause,
27
28
  :offset_clause,
@@ -33,7 +33,7 @@ module Bmg
33
33
  end
34
34
 
35
35
  def unjoinable?(sexpr)
36
- sexpr.set_operator? or sexpr.limit_or_offset?
36
+ sexpr.set_operator? or sexpr.limit_or_offset? or sexpr.group_by?
37
37
  end
38
38
 
39
39
  def join_set_quantifiers(left, right)
@@ -2,7 +2,7 @@ module Bmg
2
2
  module Version
3
3
  MAJOR = 0
4
4
  MINOR = 16
5
- TINY = 2
5
+ TINY = 3
6
6
  end
7
7
  VERSION = "#{Version::MAJOR}.#{Version::MINOR}.#{Version::TINY}"
8
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bmg
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.16.2
4
+ version: 0.16.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bernard Lambeau
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-07-09 00:00:00.000000000 Z
11
+ date: 2019-10-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: predicate
@@ -273,7 +273,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
273
273
  version: '0'
274
274
  requirements: []
275
275
  rubyforge_project:
276
- rubygems_version: 2.7.3
276
+ rubygems_version: 2.7.6
277
277
  signing_key:
278
278
  specification_version: 4
279
279
  summary: Bmg is Alf's successor.