From c5572b2003f4bc0151c8c574951bc3dff17284b8 Mon Sep 17 00:00:00 2001 From: Sampat Badhe Date: Thu, 21 Jul 2022 08:00:54 +0530 Subject: [PATCH] add addressable gem dependency to encode URI (#7) --- isbndb-ruby.gemspec | 1 + lib/isbndb.rb | 1 + 2 files changed, 2 insertions(+) diff --git a/isbndb-ruby.gemspec b/isbndb-ruby.gemspec index d62f051..9eb9070 100644 --- a/isbndb-ruby.gemspec +++ b/isbndb-ruby.gemspec @@ -37,6 +37,7 @@ Gem::Specification.new do |spec| spec.add_runtime_dependency 'httparty' spec.add_runtime_dependency 'plissken' + spec.add_runtime_dependency 'addressable' spec.add_development_dependency "bundler" spec.add_development_dependency "rake", '~> 12.3', '>= 12.3.3' diff --git a/lib/isbndb.rb b/lib/isbndb.rb index ba4cec7..66b036b 100644 --- a/lib/isbndb.rb +++ b/lib/isbndb.rb @@ -1,6 +1,7 @@ # vendors require 'httparty' require 'plissken' +require "addressable/uri" # helpers w/o dependencies require "isbndb/version"