grpc-tools 0.14.1.pre1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 778ee2b965c58646fd75be0144e519096d73a3a2
4
+ data.tar.gz: db8d89d00c6fe07e742a6f846832644425a1778d
5
+ SHA512:
6
+ metadata.gz: 43db9cec7f50e6cd563265871775dee67de3f75e4b8532c2f336d61d17b35aaec3c44551e71a6047dd72683b3699050ec24a60bc805adaeaab60cfab0d83dcf0
7
+ data.tar.gz: cdfd2ff87506c50bce13753776c8643fb8bc49486fcadf460ee6281621c69b06e3e6552ccaccf894d2856704fd13c898b04d4bf78accbed24b5a8aad481cda19
@@ -0,0 +1,12 @@
1
+ # Ruby gRPC Tools
2
+
3
+ This package distributes protoc and the Ruby gRPC protoc plugin for Windows, Linux, and Mac.
4
+
5
+ Before this package is published, the following directories should be filled with the corresponding `protoc` and `grpc_ruby_plugin` executables.
6
+
7
+ - `bin/x86-linux`
8
+ - `bin/x86_64-linux`
9
+ - `bin/x86-macos`
10
+ - `bin/x86_64-macos`
11
+ - `bin/x86-windows`
12
+ - `bin/x86_64-windows`
@@ -0,0 +1,41 @@
1
+ #!/usr/bin/env ruby
2
+ # Copyright 2016, Google Inc.
3
+ # All rights reserved.
4
+ #
5
+ # Redistribution and use in source and binary forms, with or without
6
+ # modification, are permitted provided that the following conditions are
7
+ # met:
8
+ #
9
+ # * Redistributions of source code must retain the above copyright
10
+ # notice, this list of conditions and the following disclaimer.
11
+ # * Redistributions in binary form must reproduce the above
12
+ # copyright notice, this list of conditions and the following disclaimer
13
+ # in the documentation and/or other materials provided with the
14
+ # distribution.
15
+ # * Neither the name of Google Inc. nor the names of its
16
+ # contributors may be used to endorse or promote products derived from
17
+ # this software without specific prior written permission.
18
+ #
19
+ # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
20
+ # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
21
+ # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
22
+ # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
23
+ # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
24
+ # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
25
+ # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
26
+ # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
27
+ # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
28
+ # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29
+ # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30
+
31
+ require 'rbconfig'
32
+
33
+ require_relative '../os_check'
34
+
35
+ protoc_name = 'protoc' + RbConfig::CONFIG['EXEEXT']
36
+
37
+ protoc_path = File.join(File.dirname(__FILE__),
38
+ RbConfig::CONFIG['host_cpu'] + '-' + OS.os_name,
39
+ protoc_name)
40
+
41
+ exec([ protoc_path, protoc_path ], *ARGV)
@@ -0,0 +1,41 @@
1
+ #!/usr/bin/env ruby
2
+ # Copyright 2016, Google Inc.
3
+ # All rights reserved.
4
+ #
5
+ # Redistribution and use in source and binary forms, with or without
6
+ # modification, are permitted provided that the following conditions are
7
+ # met:
8
+ #
9
+ # * Redistributions of source code must retain the above copyright
10
+ # notice, this list of conditions and the following disclaimer.
11
+ # * Redistributions in binary form must reproduce the above
12
+ # copyright notice, this list of conditions and the following disclaimer
13
+ # in the documentation and/or other materials provided with the
14
+ # distribution.
15
+ # * Neither the name of Google Inc. nor the names of its
16
+ # contributors may be used to endorse or promote products derived from
17
+ # this software without specific prior written permission.
18
+ #
19
+ # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
20
+ # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
21
+ # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
22
+ # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
23
+ # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
24
+ # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
25
+ # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
26
+ # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
27
+ # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
28
+ # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29
+ # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30
+
31
+ require 'rbconfig'
32
+
33
+ require_relative '../os_check'
34
+
35
+ plugin_name = 'grpc_ruby_plugin' + RbConfig::CONFIG['EXEEXT']
36
+
37
+ plugin_path = File.join(File.dirname(__FILE__),
38
+ RbConfig::CONFIG['host_cpu'] + '-' + OS.os_name,
39
+ plugin_name)
40
+
41
+ exec([ plugin_path, plugin_path ], *ARGV)
Binary file
Binary file
Binary file
Binary file
@@ -0,0 +1,45 @@
1
+ # Copyright 2016, Google Inc.
2
+ # All rights reserved.
3
+ #
4
+ # Redistribution and use in source and binary forms, with or without
5
+ # modification, are permitted provided that the following conditions are
6
+ # met:
7
+ #
8
+ # * Redistributions of source code must retain the above copyright
9
+ # notice, this list of conditions and the following disclaimer.
10
+ # * Redistributions in binary form must reproduce the above
11
+ # copyright notice, this list of conditions and the following disclaimer
12
+ # in the documentation and/or other materials provided with the
13
+ # distribution.
14
+ # * Neither the name of Google Inc. nor the names of its
15
+ # contributors may be used to endorse or promote products derived from
16
+ # this software without specific prior written permission.
17
+ #
18
+ # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19
+ # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20
+ # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
21
+ # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
22
+ # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23
+ # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24
+ # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25
+ # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26
+ # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27
+ # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28
+ # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29
+
30
+ # This is based on http://stackoverflow.com/a/171011/159388 by Aaron Hinni
31
+
32
+ require 'rbconfig'
33
+
34
+ module OS
35
+ def OS.os_name
36
+ case RbConfig::CONFIG['host_os']
37
+ when /cygwin|mswin|mingw|bccwin|wince|emx/
38
+ 'windows'
39
+ when /darwin/
40
+ 'macos'
41
+ else
42
+ 'linux'
43
+ end
44
+ end
45
+ end
@@ -0,0 +1,34 @@
1
+ # Copyright 2015, Google Inc.
2
+ # All rights reserved.
3
+ #
4
+ # Redistribution and use in source and binary forms, with or without
5
+ # modification, are permitted provided that the following conditions are
6
+ # met:
7
+ #
8
+ # * Redistributions of source code must retain the above copyright
9
+ # notice, this list of conditions and the following disclaimer.
10
+ # * Redistributions in binary form must reproduce the above
11
+ # copyright notice, this list of conditions and the following disclaimer
12
+ # in the documentation and/or other materials provided with the
13
+ # distribution.
14
+ # * Neither the name of Google Inc. nor the names of its
15
+ # contributors may be used to endorse or promote products derived from
16
+ # this software without specific prior written permission.
17
+ #
18
+ # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19
+ # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20
+ # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
21
+ # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
22
+ # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23
+ # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24
+ # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25
+ # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26
+ # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27
+ # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28
+ # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29
+
30
+ module GRPC
31
+ module Tools
32
+ VERSION = '0.14.1.pre1'
33
+ end
34
+ end
metadata ADDED
@@ -0,0 +1,62 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: grpc-tools
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.14.1.pre1
5
+ platform: ruby
6
+ authors:
7
+ - grpc Authors
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2016-05-10 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: protoc and the Ruby gRPC protoc plugin
14
+ email: grpc-io@googlegroups.com
15
+ executables:
16
+ - grpc_tools_ruby_protoc.rb
17
+ - grpc_tools_ruby_protoc_plugin.rb
18
+ extensions: []
19
+ extra_rdoc_files: []
20
+ files:
21
+ - README.md
22
+ - bin/grpc_tools_ruby_protoc.rb
23
+ - bin/grpc_tools_ruby_protoc_plugin.rb
24
+ - bin/x86-linux/grpc_ruby_plugin
25
+ - bin/x86-linux/protoc
26
+ - bin/x86-macos/grpc_ruby_plugin
27
+ - bin/x86-macos/protoc
28
+ - bin/x86-windows/grpc_ruby_plugin.exe
29
+ - bin/x86-windows/protoc.exe
30
+ - bin/x86_64-linux/grpc_ruby_plugin
31
+ - bin/x86_64-linux/protoc
32
+ - bin/x86_64-macos/grpc_ruby_plugin
33
+ - bin/x86_64-macos/protoc
34
+ - bin/x86_64-windows/grpc_ruby_plugin.exe
35
+ - bin/x86_64-windows/protoc.exe
36
+ - os_check.rb
37
+ - version.rb
38
+ homepage: https://github.com/google/grpc/tree/master/src/ruby/tools
39
+ licenses:
40
+ - BSD-3-Clause
41
+ metadata: {}
42
+ post_install_message:
43
+ rdoc_options: []
44
+ require_paths:
45
+ - lib
46
+ required_ruby_version: !ruby/object:Gem::Requirement
47
+ requirements:
48
+ - - ">="
49
+ - !ruby/object:Gem::Version
50
+ version: '0'
51
+ required_rubygems_version: !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - ">"
54
+ - !ruby/object:Gem::Version
55
+ version: 1.3.1
56
+ requirements: []
57
+ rubyforge_project:
58
+ rubygems_version: 2.4.8
59
+ signing_key:
60
+ specification_version: 4
61
+ summary: Development tools for Ruby gRPC
62
+ test_files: []