lib/term_extraction/zemanta.rb in term_extraction-0.1.6 vs lib/term_extraction/zemanta.rb in term_extraction-0.1.7
- old
+ new
@@ -1,8 +1,8 @@
require 'crack'
require 'net/http'
-require 'addressable/uri'
+require 'uri'
class TermExtraction
class Zemanta < TermExtraction
def terms
begin
@@ -11,10 +11,10 @@
[]
end
end
def uri
- Addressable::URI.parse(gateway)
+ URI.parse(gateway)
end
def post_params
{
'method' =>'zemanta.suggest',