Updated nokogiri dependency and fixed specs to run with latest RSpec.