gfspark 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -40,7 +40,8 @@ module Gfspark::Connection
40
40
  end
41
41
 
42
42
  https = connection(uri.host, uri.port)
43
- https.use_ssl = true
43
+
44
+ https.use_ssl = true if uri.scheme == 'https'
44
45
  https.verify_mode = @ssl_options[:ssl_verify_mode] || OpenSSL::SSL::VERIFY_NONE
45
46
 
46
47
  store = OpenSSL::X509::Store.new
@@ -1,4 +1,4 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  module Gfspark
3
- VERSION = "0.1.1"
3
+ VERSION = "0.1.2"
4
4
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gfspark
3
3
  version: !ruby/object:Gem::Version
4
- hash: 25
4
+ hash: 31
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 1
10
- version: 0.1.1
9
+ - 2
10
+ version: 0.1.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Tomohito Ozaki