This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1) stack level too deep | |
(eval):2:in `response' | |
/Users/bhelmkamp/p/weplay/vendor/plugins/webrat/lib/webrat/rails.rb:46:in `response' | |
(eval):2:in `response' | |
/Users/bhelmkamp/p/weplay/vendor/plugins/webrat/lib/webrat/rails.rb:46:in `response' | |
(eval):2:in `response' | |
/Users/bhelmkamp/p/weplay/vendor/plugins/webrat/lib/webrat/rails.rb:46:in `response' | |
(eval):2:in `response' | |
/Users/bhelmkamp/p/weplay/vendor/plugins/webrat/lib/webrat/rails.rb:46:in `response' | |
(eval):2:in `response' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sudo jgem install nokogiri | |
Building native extensions. This could take a while... | |
/usr/local/jruby-1.1.5/lib/ruby/1.8/mkmf.rb:7: JRuby does not support native extensions. Check wiki.jruby.org for alternatives. (NotImplementedError) | |
from /usr/local/jruby-1.1.5/lib/ruby/1.8/mkmf.rb:3:in `require' | |
from extconf.rb:3 | |
ERROR: Error installing nokogiri: | |
ERROR: Failed to build gem native extension. | |
/usr/local/jruby-1.1.5/bin/jruby extconf.rb install nokogiri | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
user system total real | |
Dryopteris 2.710000 0.060000 2.770000 ( 2.821071) | |
ActionView 8.190000 0.030000 8.220000 ( 8.230527) | |
Sanitize 18.370000 1.030000 19.400000 ( 20.467766) | |
HTML5lib 80.910000 0.450000 81.360000 ( 82.764034) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ rake | |
(in /Users/bhelmkamp/p/dryopteris) | |
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby -w -Ilib:lib:test "/Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake/rake_test_loader.rb" "test/helper.rb" "test/test_basic.rb" "test/test_sanitizer.rb" "test/test_strip_tags.rb" | |
Loaded suite /Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake/rake_test_loader | |
Started | |
.........E...EE........F...........F...E........F.E....F.........F...............F........E......E....................E.......E.............FE..EE....FF.EF.............E..E..............................................F...EEF.FF........................F.................EE........F...E......EE...........................E...E.......................EEEEEEEEEEEEEEEEEEEEEEE..........E........E....E....E..........E...... | |
Finished in 0.244288 seconds. | |
1) Error: | |
test_should_allow_action_attribute(SanitizeTest): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Nokogiri | |
module XML | |
class Builder | |
def insert_html(html) | |
Nokogiri::HTML(html).at("body").children.each do |child| | |
insert child | |
end | |
end | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ rake | |
(in /Users/bhelmkamp/p/nokogiri) | |
checking for #include <libxml/parser.h> | |
... yes | |
checking for #include <libxslt/xslt.h> | |
... yes | |
checking for #include <libexslt/exslt.h> | |
... yes | |
checking for xmlParseDoc() in -lxml2... yes | |
checking for xsltParseStylesheetDoc() in -lxslt... yes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require 'benchmark' | |
require 'rubygems' | |
require 'markaby' | |
require 'tagz' | |
require 'builder' | |
require 'nokogiri' | |
max = (ARGV.shift || 10_000).to_i |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Rack | |
module Test | |
module Session | |
attr_reader :last_response | |
alias_method :response, :last_response | |
def initialize(app) | |
@app = app | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wrong number of arguments (2 for 3) (ActionView::TemplateError) | |
On line #19 of app/views/kids/birthday.html.erb | |
16: </script> | |
17: <% end %> | |
18: | |
19: <% rounded_page :size => :xnarrow do %> | |
20: <% top_cap :error? => @step_one.errors.any? do %> | |
21: <% if @step_one.errors.any? %> | |
22: <%= friendly_child_birthday_error_message(@step_one) %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wrong number of arguments (2 for 3) (ActionView::TemplateError) | |
On line #19 of app/views/kids/birthday.html.erb | |
16: </script> | |
17: <% end %> | |
18: | |
19: <% rounded_page :size => :xnarrow do %> | |
20: <% top_cap :error? => @step_one.errors.any? do %> | |
21: <% if @step_one.errors.any? %> | |
22: <%= friendly_child_birthday_error_message(@step_one) %> |