jnicklas/xpath — pull request #36 by kou (2012-01-09 03:30:30+00:00)
Title: Suppress warnings

Those changes suppress warnings under lib/xpath/.

Suppressed warnings:

lib/xpath/html.rb:91: warning: assigned but unused variable - xpath
lib/xpath/renderer.rb:108: warning: shadowing outer local variable - selector

You can see all warnings with the following patch:

diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index 7212aca..ce5bef5 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -1,3 +1,4 @@
+$VERBOSE = true
require 'rubygems'
require 'bundler/setup'