bits_service_client 0.2.2.pre.7 → 0.2.2.pre.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 83a6040267a9b8f95d13dce6acd4c5095d053fc4
4
- data.tar.gz: 25ab4cb718fccff45f2834e828f872888340af22
3
+ metadata.gz: eb0bcb367d39f853361a544498f59409ed01da87
4
+ data.tar.gz: 721ba2b9da42b314e9bb9fed090563225fb34a64
5
5
  SHA512:
6
- metadata.gz: a7ea2d14385d3314e50f30b2e215530bdf2a4d01c0fa982131d7ab9e63d97a7b6d15453a78fe4704a153d9407c767b0b8604256a7551a8db472b42c4f311cbbe
7
- data.tar.gz: c8b01f311e5c9814499f6f0308bb3a1039bfaa7c92a0e2247504cc82b0339354a57d28fee418353f9c69006b8cc65576fe8f188ce3cd4614b0b1190d7ad1341a
6
+ metadata.gz: fc71a774e1faf08210fb86e3699f2a39589512dfbcdd3b9877c4cf951d0082d8f90119b07b69a699747c48f53364c3e4fea5bc38b309949149dd77bc2911f8f7
7
+ data.tar.gz: 89528ee1fde851dc083866810e0fdf2464d818794e50432cebada5594d8662a1aae08de312f46c495e1e87786001d07b90ddc539c2d88e2fe03b831c04a42e98
@@ -7,8 +7,8 @@ require 'bits_service_client/version'
7
7
  Gem::Specification.new do |spec|
8
8
  spec.name = 'bits_service_client'
9
9
  spec.version = BitsServiceClient::VERSION
10
- spec.authors = ['Rizwan Reza', 'Steffen Uhlig', 'Peter Goetz']
11
- spec.email = ['rizwanreza@gmail.com', 'steffen.uhlig@de.ibm.com', 'peter.gtz@gmail.com']
10
+ spec.authors = ['Rizwan Reza', 'Steffen Uhlig', 'Peter Goetz', 'Norman Sutorius']
11
+ spec.email = ['rizwanreza@gmail.com', 'steffen.uhlig@de.ibm.com', 'peter.gtz@gmail.com', 'norman.sutorius@de.ibm.com']
12
12
 
13
13
  spec.summary = 'Bits Services client for Cloud Foundry'
14
14
  spec.homepage = 'https://github.com/cloudfoundry-incubator/bits-service-client'
@@ -20,12 +20,14 @@ module BitsService
20
20
  Net::HTTP.new(@private_endpoint.host, @private_endpoint.port).tap do |c|
21
21
  c.read_timeout = request_timeout_in_seconds
22
22
  c.use_ssl = true if @private_endpoint.scheme.start_with?('https')
23
+ c.verify_mode = OpenSSL::SSL::VERIFY_PEER if @private_endpoint.scheme.start_with?('https')
23
24
  end
24
25
  )
25
26
  @public_http_client = LoggingHttpClient.new(
26
27
  Net::HTTP.new(@public_endpoint.host, @public_endpoint.port).tap do |c|
27
28
  c.read_timeout = request_timeout_in_seconds
28
- c.use_ssl = true if @private_endpoint.scheme.start_with?('https')
29
+ c.use_ssl = true if @public_endpoint.scheme.start_with?('https')
30
+ c.verify_mode = OpenSSL::SSL::VERIFY_PEER if @public_endpoint.scheme.start_with?('https')
29
31
  end
30
32
  )
31
33
  end
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module BitsServiceClient
3
- VERSION = '0.2.2.pre.7'
3
+ VERSION = '0.2.2.pre.8'
4
4
  end
metadata CHANGED
@@ -1,12 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bits_service_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2.pre.7
4
+ version: 0.2.2.pre.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rizwan Reza
8
8
  - Steffen Uhlig
9
9
  - Peter Goetz
10
+ - Norman Sutorius
10
11
  autorequire:
11
12
  bindir: bin
12
13
  cert_chain: []
@@ -241,6 +242,7 @@ email:
241
242
  - rizwanreza@gmail.com
242
243
  - steffen.uhlig@de.ibm.com
243
244
  - peter.gtz@gmail.com
245
+ - norman.sutorius@de.ibm.com
244
246
  executables: []
245
247
  extensions: []
246
248
  extra_rdoc_files: []