lib/jason.rb in jason-0.5.0 vs lib/jason.rb in jason-0.6.0

- old
+ new

@@ -74,11 +74,11 @@ json = JSON.pretty_generate(obj) else json = JSON.generate(obj) end - output_listeners.each { |listener| listener.call(json) } + output_listeners.each { |listener| listener.call(obj) } json end private @@ -122,6 +122,6 @@ require 'jason/version' require 'jason/json_eruby' if defined? ActionView::Template require 'jason/rails_template_handler' -end \ No newline at end of file +end