lib/pivotal-tracker/activity.rb in pivotal-tracker-0.1.0 vs lib/pivotal-tracker/activity.rb in pivotal-tracker-0.1.0.1
- old
+ new
@@ -19,12 +19,12 @@
options_string = []
options_string << "limit=#{options.delete(:limit)}" if options[:limit]
options_string << "newer_than_version=#{options.delete(:newer_than_version)}" if options[:newer_than_version]
if options[:occurred_since]
- options_string << "occurred_since_date=#{options[:occurred_since].utc}"
+ options_string << "occurred_since_date=\"#{options[:occurred_since].utc}\""
elsif options[:occurred_since_date]
- options_string << "occurred_since_date=#{options[:occurred_since]}"
+ options_string << "occurred_since_date=\"#{options[:occurred_since_date]}\""
end
return "?#{options_string.join('&')}"
end