blob: e0e1c9cd9b685f6f1f824542e5504d4bbe8d6f77 [file] [log] [blame]
Jan Tattermusch7897ae92017-06-07 20:57:361# Copyright 2015 gRPC authors.
nnoble097ef9b2014-12-02 01:06:102#
Jan Tattermusch7897ae92017-06-07 20:57:363# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
nnoble097ef9b2014-12-02 01:06:106#
Jan Tattermusch7897ae92017-06-07 20:57:367# http://www.apache.org/licenses/LICENSE-2.0
nnoble097ef9b2014-12-02 01:06:108#
Jan Tattermusch7897ae92017-06-07 20:57:369# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
nnoble097ef9b2014-12-02 01:06:1014
murgatroid9900450af2016-01-05 23:13:0815ssl_roots_path = File.expand_path('../../../../etc/roots.pem', __FILE__)
murgatroid99b5703222015-12-18 21:05:3416
murgatroid9979108d02016-04-22 20:41:0017require_relative 'grpc/errors'
Mike Moore0f8dced2019-08-14 00:21:4418require_relative 'grpc/structs'
murgatroid9979108d02016-04-22 20:41:0019require_relative 'grpc/grpc'
20require_relative 'grpc/logconfig'
21require_relative 'grpc/notifier'
22require_relative 'grpc/version'
Mike Mooreb132c342019-08-08 23:18:3823require_relative 'grpc/core/status_codes'
murgatroid9979108d02016-04-22 20:41:0024require_relative 'grpc/core/time_consts'
25require_relative 'grpc/generic/active_call'
26require_relative 'grpc/generic/client_stub'
27require_relative 'grpc/generic/service'
28require_relative 'grpc/generic/rpc_server'
Shaun McCormickeec7a912017-08-11 19:57:1429require_relative 'grpc/generic/interceptors'
murgatroid999e3538c2016-04-28 20:27:1930
31begin
32 file = File.open(ssl_roots_path)
33 roots = file.read
34 GRPC::Core::ChannelCredentials.set_default_roots_pem roots
35ensure
36 file.close
37end