devicefarm 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/devicefarm/devicefarmapi.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 47f4374077f4c8b0e65f05e19e61431a6b69de82
|
4
|
+
data.tar.gz: 7f8f71f62d5acb996af12376f61bb129a01dbb8c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0ba529039617e8efaafab85a9824f596a53753cd49c726e73df08438d7494e57d0403c6866bd69122b00c9f08ba3a1ad529309d7c716deffb3c2f8790007e606
|
7
|
+
data.tar.gz: dfa2e5fc813cd0c7c1ece61f113e3a20d7c39da407474390ca5449eabe9fb7160a77a1f234cc32a221ce5c032651ae8cc891cc1bb08d9c9806b4fd5b4b3dd2b0
|
@@ -20,7 +20,7 @@ class DeviceFarm::DeviceFarmApi
|
|
20
20
|
|
21
21
|
|
22
22
|
def upload_file(url, path)
|
23
|
-
url = URI.parse(
|
23
|
+
url = URI.parse(url)
|
24
24
|
contents = File.open(path, 'rb').read
|
25
25
|
Net::HTTP.new(url.host).start do |http|
|
26
26
|
http.send_request("PUT", url.request_uri, contents, { 'content-type' => 'application/octet-stream' })
|