yamlrpc 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/yamlrpc/client.rb +1 -1
- data/lib/yamlrpc.rb +1 -1
- metadata +2 -2
data/lib/yamlrpc/client.rb
CHANGED
@@ -78,7 +78,7 @@ module YamlRpc
|
|
78
78
|
def post(uri, args = nil)
|
79
79
|
req = Net::HTTP::Post.new(uri.path)
|
80
80
|
req.set_form_data(args_to_form_data(args) || {}, ';')
|
81
|
-
|
81
|
+
req.basic_auth @user, @password if @user && @password
|
82
82
|
http = Net::HTTP.new(uri.host, uri.port)
|
83
83
|
http.open_timeout = @open_timeout
|
84
84
|
http.read_timeout = @read_timeout
|
data/lib/yamlrpc.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: yamlrpc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mirek Rusin
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2008-07-
|
12
|
+
date: 2008-07-08 00:00:00 +01:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|