bin/facet_query in inquisitio-1.1.0 vs bin/facet_query in inquisitio-1.1.1

- old
+ new

@@ -12,20 +12,20 @@ # ruby ./bin/search <enddpoint> "Star Wars" "genre" "Animation" "title" endpoint = ARGV[0] query = ARGV[1] filter_name = ARGV[2] -filter_value = ARGV[3] -return_fields = [ ARGV[4] ] +filter_value = ARGV[3] +return_fields = [ARGV[4]] Inquisitio.config do |config| config.search_endpoint = endpoint end puts Inquisitio.search(query, - { filter_name.to_sym => filter_value.to_sym, - :arguments => { :facet => 'genre', - 'facet-genre-constraints' => 'Animation', - 'facet-genre-top-n' => '5' - }, - :return_fields => return_fields - } ) + {filter_name.to_sym => filter_value.to_sym, + :arguments => {:facet => 'genre', + 'facet-genre-constraints' => 'Animation', + 'facet-genre-top-n' => '5' + }, + :return_fields => return_fields + })