eshq 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/eshq/client.rb +2 -1
  2. data/lib/eshq/version.rb +1 -1
  3. metadata +1 -1
data/lib/eshq/client.rb CHANGED
@@ -21,7 +21,8 @@ module ESHQ
21
21
  request.set_form_data(params.merge(credentials))
22
22
 
23
23
  http = Net::HTTP.new(url.host, url.port)
24
- http.use_ssl = true if url.scheme == "https"
24
+ http.use_ssl = true if url.is_a?(URI::HTTPS)
25
+ http.verify_mode = OpenSSL::SSL::VERIFY_NONE
25
26
 
26
27
  response = http.request(request)
27
28
  if response.code == "200"
data/lib/eshq/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module ESHQ
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eshq
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: