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 !
Prepped for 0.1.4 release.
jnunemaker (author)
Sat Nov 08 08:30:26 -0800 2008
commit  ae864580edb85b4e47aebf14afeff81855f202c8
tree    497b3f81cb295a772f33cc75761e5dcdb93e5be0
parent  bcc38bcf32218e3a7c5d754582b1c04002f0119b
...
1
2
 
3
4
 
5
6
7
...
1
 
2
3
 
4
5
6
7
0
@@ -1,7 +1,7 @@
0
 == 0.1.4 2008-11-08
0
-* 1 major enhancement:
0
+* 2 major enhancements:
0
   * Removed some cruft
0
-  * Added ability to follow redirects and turn that off (Alex Vollmer)
0
+  * Added ability to follow redirects automatically and turn that off (Alex Vollmer)
0
 
0
 == 0.1.3 2008-08-22
0
 
...
8
9
10
 
11
12
13
14
15
16
17
18
19
...
8
9
10
11
12
13
14
15
 
 
16
17
18
0
@@ -8,12 +8,11 @@ config/hoe.rb
0
 config/requirements.rb
0
 examples/aaws.rb
0
 examples/delicious.rb
0
+examples/google.rb
0
 examples/twitter.rb
0
 examples/whoismyrep.rb
0
 httparty.gemspec
0
 lib/httparty.rb
0
-lib/httparty/core_ext.rb
0
-lib/httparty/core_ext/hash.rb
0
 lib/httparty/version.rb
0
 script/console
0
 script/destroy
...
7
8
9
10
11
 
 
 
 
 
 
12
...
7
8
9
 
10
11
12
13
14
15
16
17
0
@@ -7,4 +7,9 @@ class Google
0
 end
0
 
0
 # google.com redirects to www.google.com so this is live test for redirection
0
-pp Google.get('http://google.com')
0
\ No newline at end of file
0
+pp Google.get('http://google.com')
0
+
0
+puts '', '*'*70, ''
0
+
0
+# check that ssl is requesting right
0
+pp Google.get('https://www.google.com')
0
\ No newline at end of file
...
1
2
3
 
4
5
6
7
 
8
9
10
11
 
12
13
14
...
24
25
26
 
27
28
 
29
30
31
 
32
33
34
...
1
2
 
3
4
5
6
 
7
8
9
10
 
11
12
13
14
...
24
25
26
27
28
29
30
31
32
33
34
35
36
37
0
@@ -1,14 +1,14 @@
0
 Gem::Specification.new do |s|
0
   s.name = %q{httparty}
0
-  s.version = "0.1.3"
0
+  s.version = "0.1.4"
0
 
0
   s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
0
   s.authors = ["John Nunemaker"]
0
-  s.date = %q{2008-08-22}
0
+  s.date = %q{2008-11-08}
0
   s.description = %q{Makes http fun! Also, makes consuming restful web services dead easy.}
0
   s.email = ["nunemaker@gmail.com"]
0
   s.extra_rdoc_files = ["History.txt", "License.txt", "Manifest.txt", "PostInstall.txt", "README.txt"]
0
-  s.files = ["History.txt", "License.txt", "Manifest.txt", "PostInstall.txt", "README.txt", "Rakefile", "config/hoe.rb", "config/requirements.rb", "examples/aaws.rb", "examples/delicious.rb", "examples/twitter.rb", "examples/whoismyrep.rb", "httparty.gemspec", "lib/httparty.rb", "lib/httparty/core_ext.rb", "lib/httparty/core_ext/hash.rb", "lib/httparty/version.rb", "script/console", "script/destroy", "script/generate", "script/txt2html", "setup.rb", "spec/hash_spec.rb", "spec/httparty_spec.rb", "spec/spec.opts", "spec/spec_helper.rb", "tasks/deployment.rake", "tasks/environment.rake", "tasks/website.rake", "website/css/common.css", "website/index.html"]
0
+  s.files = ["History.txt", "License.txt", "Manifest.txt", "PostInstall.txt", "README.txt", "Rakefile", "config/hoe.rb", "config/requirements.rb", "examples/aaws.rb", "examples/delicious.rb", "examples/google.rb", "examples/twitter.rb", "examples/whoismyrep.rb", "httparty.gemspec", "lib/httparty.rb", "lib/httparty/version.rb", "script/console", "script/destroy", "script/generate", "script/txt2html", "setup.rb", "spec/hash_spec.rb", "spec/httparty_spec.rb", "spec/spec.opts", "spec/spec_helper.rb", "tasks/deployment.rake", "tasks/environment.rake", "tasks/website.rake", "website/css/common.css", "website/index.html"]
0
   s.has_rdoc = true
0
   s.homepage = %q{http://httparty.rubyforge.org}
0
   s.post_install_message = %q{When you HTTParty, you must party hard!}
0
@@ -24,10 +24,13 @@ Gem::Specification.new do |s|
0
 
0
     if current_version >= 3 then
0
       s.add_runtime_dependency(%q<activesupport>, [">= 2.1"])
0
+      s.add_development_dependency(%q<hoe>, [">= 1.8.0"])
0
     else
0
       s.add_dependency(%q<activesupport>, [">= 2.1"])
0
+      s.add_dependency(%q<hoe>, [">= 1.8.0"])
0
     end
0
   else
0
     s.add_dependency(%q<activesupport>, [">= 2.1"])
0
+    s.add_dependency(%q<hoe>, [">= 1.8.0"])
0
   end
0
 end
0
\ No newline at end of file

Comments

advany Thu Nov 13 09:49:43 -0800 2008

Instead of using net:http did you consider the faster implementation of eventmachine? using … EM::Protocols::HttpClient2.connect

advany Thu Nov 13 09:52:38 -0800 2008

Check out … “Various http client libraries” on http://m.onkey.org/2008/2/2/tidbits-from-my-crap