mondrian-rest 1.0.3-java → 1.0.4-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +4 -3
- data/lib/mondrian_rest/query_helper.rb +9 -1
- data/lib/mondrian_rest/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e4b3bc4a92025b6d4f7afa0772cd8b8131591f320e9085c0053d3449a6195a30
|
4
|
+
data.tar.gz: 6a782f43b4a888e4663b1029a6bc060489bef1e45a70b19bd78aa3199327baae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: be546bc4ee4683bd570965ee3522860e73aee908040f751a2574449f071dcf397f50cbd1de0f0a8e778a5e6b8d10fa88fb9e14492f5797ae4c35dc6999a1bb2f
|
7
|
+
data.tar.gz: d5ef4c34c6ac945d83f4405fb64f085b5a5b56d15ba8add0b407ec9cd29a3408497b074f93440ab4e468bb0e4a6732789fabab6c45956aa34e9136c54fb46650
|
data/.travis.yml
CHANGED
@@ -3,11 +3,12 @@ language: ruby
|
|
3
3
|
before_install:
|
4
4
|
- gem update --system
|
5
5
|
- gem install bundler
|
6
|
-
- gem install jbundler
|
7
6
|
jdk:
|
8
|
-
-
|
7
|
+
- oraclejdk9
|
8
|
+
- openjdk10
|
9
|
+
- oraclejdk11
|
9
10
|
rvm:
|
10
|
-
- jruby-9.
|
11
|
+
- jruby-9.2.5.0
|
11
12
|
env:
|
12
13
|
- JRUBY_OPTS=--debug
|
13
14
|
|
@@ -265,7 +265,15 @@ module Mondrian::REST
|
|
265
265
|
|
266
266
|
unless dd.empty?
|
267
267
|
# Cross join all the drilldowns
|
268
|
-
axis_exp = dd.
|
268
|
+
axis_exp = if dd.size == 1
|
269
|
+
dd
|
270
|
+
else dd.size > 1
|
271
|
+
cross = "Crossjoin(#{dd.pop(2).join(', ')})"
|
272
|
+
while !dd.empty?
|
273
|
+
cross = "Crossjoin(#{dd.pop}, #{cross})"
|
274
|
+
end
|
275
|
+
cross
|
276
|
+
end
|
269
277
|
|
270
278
|
# Apply filters
|
271
279
|
unless filters.empty?
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mondrian-rest
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.4
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- Manuel Aristarán
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-04-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|