lib/medea/jasondeferredquery.rb in medea-0.2.7 vs lib/medea/jasondeferredquery.rb in medea-0.2.8

- old
+ new

@@ -4,10 +4,10 @@ attr_accessor :time_limit, :result_format, :type, :result_format, :time_limit, :state, :contents, :filters def initialize a_class, format=:json @type = a_class - @filters = {:FILTER => {:HTTP_X_CLASS => a_class.name.to_s, :VERSION0 => nil}} + @filters = {:FILTER => {:HTTP_X_CLASS => a_class.name.to_s}, :VERSION0 => nil} @result_format = format @time_limit = 0 @state = :prefetch @contents = [] end