diff --git a/Gemfile b/Gemfile index 1c1dd47e..f2634d94 100644 --- a/Gemfile +++ b/Gemfile @@ -2,4 +2,5 @@ source "https://rubygems.org" +gem "rest-client", "2.0.0" gemspec name: "nylas" diff --git a/nylas.gemspec b/nylas.gemspec index dfbe8b24..48eb614c 100644 --- a/nylas.gemspec +++ b/nylas.gemspec @@ -12,7 +12,7 @@ Gem::Specification.new do |gem| # Runtime dependencies gem.add_runtime_dependency "mime-types", "~> 3.5", ">= 3.5.1" - gem.add_runtime_dependency "rest-client", ">= 2.0.0", "< 3.0" + gem.add_runtime_dependency "rest-client", "~> 2", "< 3.0" gem.add_runtime_dependency "yajl-ruby", "~> 1.4.3", ">= 1.2.1" # Add remaining gem details and dev dependencies