You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by jv...@apache.org on 2005/11/18 16:26:46 UTC
svn commit: r345498 - in /maven/sandbox/issue/patchserver: bundle_client.rb
patch_client.rb
Author: jvanzyl
Date: Fri Nov 18 07:26:43 2005
New Revision: 345498
URL: http://svn.apache.org/viewcvs?rev=345498&view=rev
Log:
trying to follow ruby convention
Modified:
maven/sandbox/issue/patchserver/bundle_client.rb
maven/sandbox/issue/patchserver/patch_client.rb
Modified: maven/sandbox/issue/patchserver/bundle_client.rb
URL: http://svn.apache.org/viewcvs/maven/sandbox/issue/patchserver/bundle_client.rb?rev=345498&r1=345497&r2=345498&view=diff
==============================================================================
--- maven/sandbox/issue/patchserver/bundle_client.rb (original)
+++ maven/sandbox/issue/patchserver/bundle_client.rb Fri Nov 18 07:26:43 2005
@@ -10,9 +10,6 @@
end
bundle = ARGV[0]
-
configuration = YAML::load( File.open( 'submission_server.yaml' ) )
-
server = XMLRPC::Client.new2( configuration['url'] )
-
server.call2( "bundle.accept", bundle, Base64.encode64( File.new( bundle, "r" ).read ) )
Modified: maven/sandbox/issue/patchserver/patch_client.rb
URL: http://svn.apache.org/viewcvs/maven/sandbox/issue/patchserver/patch_client.rb?rev=345498&r1=345497&r2=345498&view=diff
==============================================================================
--- maven/sandbox/issue/patchserver/patch_client.rb (original)
+++ maven/sandbox/issue/patchserver/patch_client.rb Fri Nov 18 07:26:43 2005
@@ -5,7 +5,5 @@
require 'yaml'
configuration = YAML::load( File.open( 'patch_server.yaml' ) )
-
server = XMLRPC::Client.new2( "http://localhost:#{configuration['port']}" )
-
server.call2( "patch.accept", "foo2.txt", Base64.encode64( "this is the text" ) )