cf-copilot 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cf-copilot.rb +8 -1
- data/lib/copilot/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fef3bb928b89e79083b4b981d60287af514d420a
|
4
|
+
data.tar.gz: 74df4427431b6383ef4ca66bd2835de55b29fd23
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1e0e5a1abf10dd98130d9420313ff8a4d6f7c23b8d735b779a5cebafdc03c43a39a7a67566309fd48f54dc5ca24f2eca2313585c2b4224f4b31b0d68b9ce665f
|
7
|
+
data.tar.gz: d7096904bf85e1cfb31d47cc8e995cfc4c59982e97428dd6923980884127cb359783784e000474d9a6cf05ee58845f87b0257c4ce37e8756fab005c3b2e82ecd
|
data/lib/cf-copilot.rb
CHANGED
@@ -95,8 +95,15 @@ module Cloudfoundry
|
|
95
95
|
@tls_credentials ||= GRPC::Core::ChannelCredentials.new(@client_ca, @client_key, @client_chain)
|
96
96
|
end
|
97
97
|
|
98
|
+
def compression_options
|
99
|
+
@compression_options ||= GRPC::Core::CompressionOptions.new(
|
100
|
+
default_algorithm: :gzip,
|
101
|
+
default_level: :low
|
102
|
+
)
|
103
|
+
end
|
104
|
+
|
98
105
|
def service
|
99
|
-
@service ||= Api::CloudControllerCopilot::Stub.new(@url, tls_credentials, timeout: @timeout)
|
106
|
+
@service ||= Api::CloudControllerCopilot::Stub.new(@url, tls_credentials, channel_args: compression_options.to_hash, timeout: @timeout)
|
100
107
|
end
|
101
108
|
end
|
102
109
|
end
|
data/lib/copilot/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cf-copilot
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Cloud Foundry Routing Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-11-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: grpc
|
@@ -121,7 +121,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
121
121
|
version: '0'
|
122
122
|
requirements: []
|
123
123
|
rubyforge_project:
|
124
|
-
rubygems_version: 2.
|
124
|
+
rubygems_version: 2.6.13
|
125
125
|
signing_key:
|
126
126
|
specification_version: 4
|
127
127
|
summary: Ruby client for copilot (a CF istio data transformer).
|