Lines Matching refs:ruby
1 # -*- ruby -*-
14 task.options = ['-c', 'src/ruby/.rubocop.yml']
16 task.patterns = ['src/ruby/{lib,spec}/**/*.rb', 'src/ruby/end2end/*.rb']
33 ext.ext_dir = File.join('src', 'ruby', 'ext', 'grpc')
34 ext.lib_dir = File.join('src', 'ruby', 'lib', 'grpc')
42 spec.files = %w( etc/roots.pem grpc_c.32.ruby grpc_c.64.ruby )
43 spec.files += Dir.glob('src/ruby/bin/**/*')
44 spec.files += Dir.glob('src/ruby/ext/**/*')
45 spec.files += Dir.glob('src/ruby/lib/**/*')
46 spec.files += Dir.glob('src/ruby/pb/**/*')
52 { id: :wrapper, title: 'wrapper layer', files: %w(src/ruby/spec/*.rb) },
53 { id: :idiomatic, title: 'idiomatic layer', dir: %w(src/ruby/spec/generic),
55 { id: :bidi, title: 'bidi tests', dir: %w(src/ruby/spec/generic),
57 { id: :server, title: 'rpc server thread tests', dir: %w(src/ruby/spec/generic),
59 { id: :pb, title: 'protobuf service tests', dir: %w(src/ruby/spec/pb) }
72 helper = 'src/ruby/spec/spec_helper.rb'
101 w64 = { cross: 'x86_64-w64-mingw32', out: 'grpc_c.64.ruby' }
102 w32 = { cross: 'i686-w64-mingw32', out: 'grpc_c.32.ruby' }
120 FileUtils.touch 'grpc_c.32.ruby'
121 FileUtils.touch 'grpc_c.64.ruby'
124 "invoked on macos with ruby #{RUBY_VERSION}. The ruby macos artifact " \
125 "build should be running on ruby 2.5."