avocado-docs 3.0.1 → 3.0.2

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: 778596d08a1ea8b32e3f4f4e2f0f9cef98c762bc
4
- data.tar.gz: cd7794f0fbadd3608ed77ba48de3f6331e639f6e
3
+ metadata.gz: ea393aa0cffae6e04b797584a713ed0272322993
4
+ data.tar.gz: 1d4d5ccecb7a31628a59af65bfb0afd9f10f3d9f
5
5
  SHA512:
6
- metadata.gz: a06bb1d704e43a2f26a72ef177fa0a63d8bd4b8f837f570938a0495e23d0b7384c30ccb8b739a38805b46292204e38e923479ba88aad597ebba2d5002055f312
7
- data.tar.gz: cbd11700c83497ae4a6e028c81141a261615f4ec1e562ee224d3088811c87218af25da2f7bfdc0674e6a7803b4b4c8a2ad8f5c0437232b186052583f13d72cc5
6
+ metadata.gz: 492145eae722de43b99c17bb48e2c9b0094b3e1b67b66193f2ee280f84dedf1d2ff7a653de367f8710f8ddbc0cd1ab3fefef333a872efba088c915049b59bcda
7
+ data.tar.gz: 5bee858272af096ce695c08df6645d8eb70b0eb39df796cd7bac72d3cb54a49453a4e5054719d1ad2746e91c4e17999ca27b8d0c43d19dd17c19cc9901f17a47
@@ -13,7 +13,9 @@ module Avocado
13
13
  WebMock.allow_net_connect!
14
14
  write_payload_to_json_file do |file|
15
15
  request = Net::HTTP::Post::Multipart.new uri.path, 'file' => UploadIO.new(file, 'text/json', 'avocado.json')
16
- Net::HTTP.start(uri.host, uri.port) { |http| http.request(request) }
16
+ net_request = Net::HTTP.new(uri.host, uri.port)
17
+ net_request.use_ssl = (uri.scheme == 'https')
18
+ net_request.start { |http| http.request(request) }
17
19
  end
18
20
  ensure
19
21
  WebMock.disable_net_connect!
@@ -1,3 +1,3 @@
1
1
  module Avocado
2
- VERSION = "3.0.1"
2
+ VERSION = "3.0.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: avocado-docs
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1
4
+ version: 3.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Logan Serman
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-11-05 00:00:00.000000000 Z
11
+ date: 2014-11-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails