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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 26cdfebe03b72ff4c78a55fa619d18f7265cc42a
4
- data.tar.gz: '096509784ec9d6409ab7933e8be251f309e28b18'
3
+ metadata.gz: 47f4374077f4c8b0e65f05e19e61431a6b69de82
4
+ data.tar.gz: 7f8f71f62d5acb996af12376f61bb129a01dbb8c
5
5
  SHA512:
6
- metadata.gz: b0ae5ad12e52271ea8cb8b64de053734e76a2b274d3ba40293b78388c69cb7619ba7f270068b25c0ef7c680075fc1f1027fdedfcc5d27a8bfca63615b6f087ff
7
- data.tar.gz: 524d6c28e051376c6740e1ea8389382091aac590b9b52848229bfbc0feaf1110c0ea5d19df10c8385983c626be1e8cdd017c3da659bc04666a3e3f1cf95987eb
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(upload.url)
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' })
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: devicefarm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - viniciusmo