Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/public' into new-features
Browse files Browse the repository at this point in the history
  • Loading branch information
jazzido committed Mar 23, 2018
2 parents 18bc68e + d314309 commit 6cc8ab2
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion lib/mondrian_rest/query_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,6 @@ def parse_drilldown(cube, drilldown)

def parse_measure_filter(cube, filter)
m = VALID_FILTER_RE.match(filter)

error!("Filter clause #{filter} is invalid", 400) if m.nil?

unless cube.valid_measure?(m['measure'].strip)
Expand Down
2 changes: 1 addition & 1 deletion mondrian-rest.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Gem::Specification.new do |s|
s.add_runtime_dependency 'mondrian-olap', ["~> 0.8.0"]
s.add_runtime_dependency 'grape', '~> 1.0', '>= 1.0.0'
s.add_runtime_dependency 'writeexcel', '~> 1.0', '>= 1.0.5'
s.add_runtime_dependency 'activesupport', ["~> 5.1.5"]
s.add_runtime_dependency 'activesupport', '~> 5.1', '>= 5.1.5'

s.add_development_dependency "jar-dependencies", "~> 0.3.2"
s.add_development_dependency 'rake', '~> 12.1', '>= 12.1.0'
Expand Down
1 change: 1 addition & 0 deletions spec/api_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ def app
it "should return the members of a dimension level along with their children" do
get '/cubes/Sales/dimensions/Store/levels/Store%20City/members?children=true'
res = JSON.parse(last_response.body)

# TODO add assertions
end

Expand Down

0 comments on commit 6cc8ab2

Please sign in to comment.