Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Remove dependency of rubygems

Closes gh-27
  • Loading branch information...
commit 5e96290ee2f6d947e090e6f2d8419426e039d428 1 parent 34d6a36
@sandro sandro authored
View
1  Rakefile
@@ -1,4 +1,3 @@
-require 'rubygems'
require 'rake'
begin
View
1  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
View
2  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
View
2  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'
Please sign in to comment.
Something went wrong with that request. Please try again.