public
Description: Simple REST client for Ruby, inspired by microframework syntax for specifying actions.
Homepage: http://rest-client.heroku.com/
Clone URL: git://github.com/adamwiggins/rest-client.git
Easy to use shell!
bmizerany (author)
Mon Jul 07 19:49:10 -0700 2008
commit  7e3df03d65bccffdb1920ca087aa63a0cf796404
tree    12f71144316980b0059905e089d5d7de0efa3f96
parent  3f871d334076241869efa95623ebde2d9e8a5dd9
0
...
39
40
41
42
43
44
45
 
 
 
 
46
47
48
...
39
40
41
 
 
 
 
42
43
44
45
46
47
48
0
@@ -39,10 +39,10 @@ See RestClient::Resource docs for details.
0
 
0
 == Shell
0
 
0
-Require rest_client from within irb to access RestClient interactively, like
0
-using curl at the command line. Better yet, require gem from within your
0
-~/.rush/env.rb and have instant access to it from within your rush
0
-(http://rush.heroku.com) sessions.
0
+Run:
0
+restclient resource_url [username] [password]
0
+
0
+or require the gem from within your ~/.rush/env.rb and have instant access to it from within your rush (http://rush.heroku.com) sessions.
0
 
0
 == Meta
0
 
...
48
49
50
 
51
52
53
...
48
49
50
51
52
53
54
0
@@ -48,6 +48,7 @@ spec = Gem::Specification.new do |s|
0
   s.has_rdoc = true
0
   
0
   s.files = %w(Rakefile) + Dir.glob("{lib,spec}/**/*")
0
+ s.executables = ['restclient']
0
   
0
   s.require_path = "lib"
0
 end
...
11
12
13
14
 
 
 
15
16
17
...
11
12
13
 
14
15
16
17
18
19
0
@@ -11,6 +11,8 @@ Gem::Specification.new do |s|
0
     s.platform = Gem::Platform::RUBY
0
     s.files = %w(Rakefile README rest-client.gemspec
0
                  lib/request_errors.rb lib/resource.rb lib/rest_client.rb
0
- spec/base.rb spec/request_errors_spec.rb spec/resource_spec.rb spec/rest_client_spec.rb)
0
+ spec/base.rb spec/request_errors_spec.rb spec/resource_spec.rb spec/rest_client_spec.rb
0
+ bin/restclient)
0
+ s.executables = ['restclient']
0
     s.require_path = "lib"
0
 end
0
\ No newline at end of file

Comments

    No one has commented yet.