mirror of
https://github.com/jnunemaker/httparty
synced 2023-03-27 23:23:07 -04:00
Remove dependency of rubygems
Closes gh-27
This commit is contained in:
parent
34d6a366fc
commit
5e96290ee2
4 changed files with 0 additions and 6 deletions
1
Rakefile
1
Rakefile
|
@ -1,4 +1,3 @@
|
|||
require 'rubygems'
|
||||
require 'rake'
|
||||
|
||||
begin
|
||||
|
|
|
@ -94,7 +94,6 @@ else
|
|||
case opts[:output_format]
|
||||
when :json
|
||||
begin
|
||||
require 'rubygems'
|
||||
require 'json'
|
||||
puts JSON.pretty_generate(response.delegate)
|
||||
rescue LoadError
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
require File.join(File.dirname(__FILE__), '..', 'lib', 'httparty')
|
||||
gem 'rspec', '1.2.9'
|
||||
gem 'fakeweb'
|
||||
require 'spec/autorun'
|
||||
require 'fakeweb'
|
||||
|
||||
|
|
Loading…
Reference in a new issue