public
Rubygem
Description: Makes http fun! Also, makes consuming restful web services dead easy.
Homepage:
Clone URL: git://github.com/jnunemaker/httparty.git
Click here to lend your support to: httparty and make a donation at www.pledgie.com !
Tweaked requires and such.
jnunemaker (author)
Sat Dec 06 19:01:42 -0800 2008
commit  80aa3595d504dccb175e35797db6bfada427ee93
tree    02b9906307471c207350b295302e1e1d67d7b530
parent  5ba768e29ab19edebd2122b4bd0c39de536b97d6
...
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
...
101
102
103
 
 
104
...
1
2
3
4
 
5
6
 
 
 
 
7
 
8
9
10
...
97
98
99
100
101
102
0
@@ -1,14 +1,10 @@
0
+$:.unshift(File.dirname(__FILE__))
0
+
0
 require 'net/http'
0
 require 'net/https'
0
-require 'uri'
0
 require 'rubygems'
0
 require 'active_support'
0
-
0
-dir = File.dirname(__FILE__)
0
-$:.unshift(dir) unless $:.include?(dir) || $:.include?(File.expand_path(dir))
0
-
0
 require 'module_level_inheritable_attributes'
0
-require 'httparty/request'
0
 
0
 module HTTParty
0
   class UnsupportedFormat < StandardError; end
0
@@ -101,3 +97,5 @@ module HTTParty
0
     Basement.delete(*args)
0
   end
0
 end
0
+
0
+require 'httparty/request'
0
\ No newline at end of file
...
 
 
1
2
3
...
1
2
3
4
5
0
@@ -1,3 +1,5 @@
0
+require 'uri'
0
+
0
 module HTTParty
0
   class Request
0
     # Makes it so uri is sure to parse stuff like google.com without the http
...
1
2
3
4
5
6
7
8
 
 
 
9
10
11
...
 
 
 
 
 
 
 
 
1
2
3
4
5
6
0
@@ -1,11 +1,6 @@
0
-begin
0
-  require 'spec'
0
-rescue LoadError
0
-  require 'rubygems'
0
-  gem 'rspec'
0
-  require 'spec'
0
-end
0
-
0
+require 'rubygems'
0
+gem 'rspec'
0
+require 'spec'
0
 require File.join(File.dirname(__FILE__), '..', 'lib', 'httparty')
0
 
0
 def file_fixture(filename)

Comments