bmg 0.14.4 → 0.14.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/bmg/operator/extend.rb +12 -0
- data/lib/bmg/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aa5f7acd6ce45525a931af2833b4c1ab441d368d
|
4
|
+
data.tar.gz: cb641cf7cebf368077f5b46a5889002ed314804a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c562fd2e832896de5f1f1abbbb08afd9c13175cb7d1e301d4e16645d3ea64cd0b487cbf8fc571fec05108a89e7c8e6f6ceea9232c84ccbca2e18851377feb8e9
|
7
|
+
data.tar.gz: 7f759c8df503d1db75f5b94456eb396ab03d2b926b4c735a3ac91bb643bb7d9a54aedb52bcb89b370b740ea9a152f492001bb84eb12a3ba35ff68f1baba5cd0e
|
data/lib/bmg/operator/extend.rb
CHANGED
@@ -68,6 +68,18 @@ module Bmg
|
|
68
68
|
end
|
69
69
|
end
|
70
70
|
|
71
|
+
def _page(type, ordering, page_index, opts)
|
72
|
+
attrs = ordering.map{|(a,d)| a }
|
73
|
+
if (attrs & @extension.keys).empty?
|
74
|
+
op = operand
|
75
|
+
op = op.page(ordering, page_index, opts)
|
76
|
+
op = op.extend(extension)
|
77
|
+
op
|
78
|
+
else
|
79
|
+
super
|
80
|
+
end
|
81
|
+
end
|
82
|
+
|
71
83
|
protected ### inspect
|
72
84
|
|
73
85
|
def args
|
data/lib/bmg/version.rb
CHANGED
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.14.
|
4
|
+
version: 0.14.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bernard Lambeau
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-01-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: predicate
|