tapyrus 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/tapyrus/rpc/tapyrus_core_client.rb +1 -1
- data/lib/tapyrus/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0742065204db9e10454dbdc9afc4401be70659e9998376d944b4e0f61a75cf27
|
4
|
+
data.tar.gz: 578bd756abb67374d62951526638c9328c3f9e70f9925cd7e3f16f079093843b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 584cf7b8ce40aeb94ecce56c393ab52805b5af76bf91439f5f1b39cf28ce15a723bc2b37862773e5c1cd994cb6d72f270b4f77c828708384e9fe70990efbd19c
|
7
|
+
data.tar.gz: cdc17bfad7962a3900ad567c07d0d53550f0db4eacf8b10c80e76017206aeed702c336fee9a7283502ae3ebdcf68de6da45e90a22ea0044e22e80839fa6cd43d
|
@@ -57,7 +57,7 @@ module Tapyrus
|
|
57
57
|
uri = URI.parse(server_url)
|
58
58
|
http = Net::HTTP.new(uri.hostname, uri.port)
|
59
59
|
http.use_ssl = uri.scheme === "https"
|
60
|
-
request = Net::HTTP::Post.new('/')
|
60
|
+
request = Net::HTTP::Post.new(uri.path.empty? ? '/' : uri.path)
|
61
61
|
request.basic_auth(uri.user, uri.password)
|
62
62
|
request.content_type = 'application/json'
|
63
63
|
request.body = data.to_json
|
data/lib/tapyrus/version.rb
CHANGED