Skip to content

Commit

Permalink
Merge pull request #32 from gabceb/weary-relax-dependencies
Browse files Browse the repository at this point in the history
Relax dependencies
  • Loading branch information
mwunsch committed Apr 15, 2013
2 parents c3d5ae6 + bdfbf17 commit 20d6379
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 65 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/Gemfile.lock
.DS_Store
pkg/
doc/
Expand Down
4 changes: 2 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ gem "excon"

group :test do
gem "rspec", "~> 2.11.0"
gem "webmock", "~> 1.8.10"
gem "webmock", "~> 1.8"
end

group :doc do
Expand All @@ -20,5 +20,5 @@ platforms :jruby do
end

platforms :mri, :jruby do
gem "typhoeus"
gem "typhoeus", "~> 0.5"
end
61 changes: 0 additions & 61 deletions Gemfile.lock

This file was deleted.

2 changes: 1 addition & 1 deletion lib/weary/adapters/typhoeus.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class << self
include Weary::Adapter

def connect(rack_request)
response = ::Typhoeus::Request.run(rack_request.url, parameters_for(rack_request))
response = ::Typhoeus::Request.new(rack_request.url, parameters_for(rack_request)).run
Rack::Response.new response.body, response.code, response.headers_hash
end

Expand Down
2 changes: 1 addition & 1 deletion weary.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ Gem::Specification.new do |s|
s.add_runtime_dependency "addressable", "~> 2.3.2"
s.add_runtime_dependency "promise", "~> 0.3.0"
s.add_runtime_dependency "simple_oauth", "~> 0.1.5"
s.add_runtime_dependency "multi_json", "~> 1.5.0"
s.add_runtime_dependency "multi_json", "~> 1.5"
end

0 comments on commit 20d6379

Please sign in to comment.