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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d1847de5f1c0c5a83c4c9f66d067a651c2d60a3dd8110325377b09024831d20d
4
- data.tar.gz: e24fe15f48f3173db469b68e428fad79fadfed1e57dfd2952e6fcf0dacabacca
3
+ metadata.gz: e4b3bc4a92025b6d4f7afa0772cd8b8131591f320e9085c0053d3449a6195a30
4
+ data.tar.gz: 6a782f43b4a888e4663b1029a6bc060489bef1e45a70b19bd78aa3199327baae
5
5
  SHA512:
6
- metadata.gz: 7ac4fc522ac666d55c308e2e9360ae41e26e17f98d076a96467f145f73331577f796699259bce924796b42e0e3e819108197b79291597d04ea2badaafd1f5aa0
7
- data.tar.gz: e75324bf9ce587ff3898c7d86e79c8872828e8852fe520ea419bd9786c8593f92f343bb9fb19566ff8c6672edfce9984150c23809d0a64c63db2d0845ec0f231
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
- - oraclejdk8
7
+ - oraclejdk9
8
+ - openjdk10
9
+ - oraclejdk11
9
10
  rvm:
10
- - jruby-9.1.13.0
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.join(' * ')
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?
@@ -1,5 +1,5 @@
1
1
  module Mondrian
2
2
  module REST
3
- VERSION = "1.0.3"
3
+ VERSION = "1.0.4"
4
4
  end
5
5
  end
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.3
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-02-08 00:00:00.000000000 Z
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