[ARVADOS] updated: d5cf000ee76060ce5e96bb4032f54e7f6b19116e

git at public.curoverse.com git at public.curoverse.com
Tue Nov 4 12:38:57 EST 2014


Summary of changes:
 sdk/cli/bin/arv-tag     | 4 ++--
 sdk/ruby/lib/arvados.rb | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

       via  d5cf000ee76060ce5e96bb4032f54e7f6b19116e (commit)
      from  cbb6e930023aeffdd03332894c85bc156316c72f (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit d5cf000ee76060ce5e96bb4032f54e7f6b19116e
Author: Brett Smith <brett at curoverse.com>
Date:   Tue Nov 4 12:38:55 2014 -0500

    4412: Remaining Ruby clients use :body_object for API requests.
    
    A follow-up from the last commit.  Refs #4412.

diff --git a/sdk/cli/bin/arv-tag b/sdk/cli/bin/arv-tag
index 9ce3f3d..4ee6770 100755
--- a/sdk/cli/bin/arv-tag
+++ b/sdk/cli/bin/arv-tag
@@ -16,7 +16,7 @@ def api_call(method, parameters:{}, request_body:{})
   request_body[:api_token] = ENV['ARVADOS_API_TOKEN']
   result = $client.execute(:api_method => method,
                            :parameters => parameters,
-                           :body => request_body,
+                           :body_object => request_body,
                            :authenticated => false)
 
   begin
@@ -157,7 +157,7 @@ global_opts = Trollop::options do
   opt :yaml, "Return the response received from the API server, in YAML format", :short => "-y"
   stop_on ['add', 'remove']
 end
-  
+
 p = Trollop::Parser.new do
   opt(:all,
       "Remove this tag from all objects under your ownership. Only valid with `tag remove'.",
diff --git a/sdk/ruby/lib/arvados.rb b/sdk/ruby/lib/arvados.rb
index 6a9a52b..a6ebc36 100644
--- a/sdk/ruby/lib/arvados.rb
+++ b/sdk/ruby/lib/arvados.rb
@@ -234,7 +234,7 @@ class Arvados
         execute(:api_method => api_method,
                 :authenticated => false,
                 :parameters => parameters,
-                :body => body,
+                :body_object => body,
                 :headers => {
                   authorization: 'OAuth2 '+arvados.config['ARVADOS_API_TOKEN']
                 })

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list