diff --git a/Rakefile b/Rakefile index a890df1..d770c62 100644 --- a/Rakefile +++ b/Rakefile @@ -1,4 +1,3 @@ -require 'rubygems' require 'rake' begin diff --git a/bin/httparty b/bin/httparty index fda4109..048e30f 100755 --- a/bin/httparty +++ b/bin/httparty @@ -94,7 +94,6 @@ else case opts[:output_format] when :json begin - require 'rubygems' require 'json' puts JSON.pretty_generate(response.delegate) rescue LoadError diff --git a/lib/httparty.rb b/lib/httparty.rb index e402c01..17f64ff 100644 --- a/lib/httparty.rb +++ b/lib/httparty.rb @@ -1,8 +1,6 @@ require 'pathname' require 'net/http' require 'net/https' -require 'rubygems' -gem 'crack', '>= 0.1.1' require 'crack' dir = Pathname(__FILE__).dirname.expand_path diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index e5404db..9d06f4b 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,6 +1,4 @@ require File.join(File.dirname(__FILE__), '..', 'lib', 'httparty') -gem 'rspec', '1.2.9' -gem 'fakeweb' require 'spec/autorun' require 'fakeweb'