lib/term_extraction/zemanta.rb in term-extraction-0.1.4 vs lib/term_extraction/zemanta.rb in term-extraction-1.0.0

- old
+ new

@@ -1,8 +1,8 @@ require 'net/http' require 'nokogiri' -require 'addressable/uri' +require 'uri' class TermExtraction class Zemanta < TermExtraction def terms terms = [] @@ -14,10 +14,10 @@ terms end def uri - Addressable::URI.parse(gateway) + URI.parse gateway end def post_params { 'method' =>'zemanta.suggest',