protoc 2.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/bin/protoc +36 -0
- data/bin/protoc-2.5.0-linux-x86_32.exe +0 -0
- data/bin/protoc-2.5.0-linux-x86_64.exe +0 -0
- data/bin/protoc-2.5.0-osx-x86_32.exe +0 -0
- data/bin/protoc-2.5.0-osx-x86_64.exe +0 -0
- data/bin/protoc-2.5.0-windows-x86_32.exe +0 -0
- data/bin/protoc-2.5.0-windows-x86_64.exe +0 -0
- data/lib/protoc/protocol_buffers_license.txt +43 -0
- data/lib/protoc/version.rb +3 -0
- metadata +118 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: d19ea979b1f4f744576fd495a5394ea9a5691da2
|
4
|
+
data.tar.gz: 4fe96e904241cde76ffc2e90f8b4915644791f37
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 97654502f96fd21180be4f9e96f84a05354715171b52ad854591a0ceb30db180cea3bb1fe72aa29e0886053f2a32832651c6a53d31407effa5c88f407f6232af
|
7
|
+
data.tar.gz: cfbe0887fb2b5932c356f85342e8836c9327f3177bed24565f2a9848b917d07045425018e9e650c52fcde18593cb044a5aafec8f672db94f07c93ca3e7a4abd1
|
data/bin/protoc
ADDED
@@ -0,0 +1,36 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require 'platform'
|
4
|
+
require 'protoc/version'
|
5
|
+
|
6
|
+
PLATFORM_TO_PROTOC_ARCH = {:x86 => :x86_32, :x86_64 => :x86_64}
|
7
|
+
|
8
|
+
# Work around for lack of x86_64 support in Platform 0.4.0, which is the
|
9
|
+
# latest in rubygems.org. https://github.com/mmower/platform/issues/3
|
10
|
+
def platform_arch
|
11
|
+
if Platform::ARCH == :unknown && RUBY_PLATFORM =~ /x86_64/
|
12
|
+
:x86_64
|
13
|
+
else
|
14
|
+
Platform::ARCH
|
15
|
+
end
|
16
|
+
end
|
17
|
+
|
18
|
+
def exec_protoc_for_os(os)
|
19
|
+
exec("#{File.dirname(__FILE__)}/protoc-#{Protoc::VERSION}-#{os}-#{PLATFORM_TO_PROTOC_ARCH[platform_arch]}.exe", *ARGV)
|
20
|
+
end
|
21
|
+
|
22
|
+
case Platform::OS
|
23
|
+
when :win32
|
24
|
+
exec_protoc_for_os('windows')
|
25
|
+
when :unix
|
26
|
+
case Platform::IMPL
|
27
|
+
when :macosx
|
28
|
+
exec_protoc_for_os('osx')
|
29
|
+
when :linux
|
30
|
+
exec_protoc_for_os('linux')
|
31
|
+
else
|
32
|
+
raise "I don't have a binary for #{Platform::IMPL}"
|
33
|
+
end
|
34
|
+
else
|
35
|
+
raise "I don't have a binary for #{Platform::OS}"
|
36
|
+
end
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,43 @@
|
|
1
|
+
This license applies to all parts of Protocol Buffers except the following:
|
2
|
+
|
3
|
+
- Atomicops support for generic gcc, located in
|
4
|
+
src/google/protobuf/stubs/atomicops_internals_generic_gcc.h.
|
5
|
+
This file is copyrighted by Red Hat Inc.
|
6
|
+
|
7
|
+
- Atomicops support for AIX/POWER, located in
|
8
|
+
src/google/protobuf/stubs/atomicops_internals_power.h.
|
9
|
+
This file is copyrighted by Bloomberg Finance LP.
|
10
|
+
|
11
|
+
Copyright 2014, Google Inc. All rights reserved.
|
12
|
+
|
13
|
+
Redistribution and use in source and binary forms, with or without
|
14
|
+
modification, are permitted provided that the following conditions are
|
15
|
+
met:
|
16
|
+
|
17
|
+
* Redistributions of source code must retain the above copyright
|
18
|
+
notice, this list of conditions and the following disclaimer.
|
19
|
+
* Redistributions in binary form must reproduce the above
|
20
|
+
copyright notice, this list of conditions and the following disclaimer
|
21
|
+
in the documentation and/or other materials provided with the
|
22
|
+
distribution.
|
23
|
+
* Neither the name of Google Inc. nor the names of its
|
24
|
+
contributors may be used to endorse or promote products derived from
|
25
|
+
this software without specific prior written permission.
|
26
|
+
|
27
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
28
|
+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
29
|
+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
30
|
+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
31
|
+
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
32
|
+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
33
|
+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
34
|
+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
35
|
+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
36
|
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
37
|
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
38
|
+
|
39
|
+
Code generated by the Protocol Buffer compiler is owned by the owner
|
40
|
+
of the input file used when generating it. This code is not
|
41
|
+
standalone and requires a support library to be linked with it. This
|
42
|
+
support library is itself covered by the above license.
|
43
|
+
|
metadata
ADDED
@@ -0,0 +1,118 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: protoc
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 2.5.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Ben Jansen
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2016-04-15 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.0'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '11.0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '11.0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rubygems-tasks
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0.2'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0.2'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: Platform
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0.4'
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0.4'
|
69
|
+
description: |-
|
70
|
+
This gem includes protoc, the protobuf compiler, binaries for Linux, Mac, and Windows. It installs a executable shim
|
71
|
+
called `protoc` that picks the right one to run on your platform. You can use this gem to ensure that you have a protoc
|
72
|
+
of the version you need. By using this gem, you will not need to manually install the right protoc on your hosts.
|
73
|
+
email:
|
74
|
+
executables:
|
75
|
+
- protoc
|
76
|
+
- protoc-2.5.0-linux-x86_32.exe
|
77
|
+
- protoc-2.5.0-linux-x86_64.exe
|
78
|
+
- protoc-2.5.0-osx-x86_32.exe
|
79
|
+
- protoc-2.5.0-osx-x86_64.exe
|
80
|
+
- protoc-2.5.0-windows-x86_32.exe
|
81
|
+
- protoc-2.5.0-windows-x86_64.exe
|
82
|
+
extensions: []
|
83
|
+
extra_rdoc_files: []
|
84
|
+
files:
|
85
|
+
- bin/protoc
|
86
|
+
- bin/protoc-2.5.0-linux-x86_32.exe
|
87
|
+
- bin/protoc-2.5.0-linux-x86_64.exe
|
88
|
+
- bin/protoc-2.5.0-osx-x86_32.exe
|
89
|
+
- bin/protoc-2.5.0-osx-x86_64.exe
|
90
|
+
- bin/protoc-2.5.0-windows-x86_32.exe
|
91
|
+
- bin/protoc-2.5.0-windows-x86_64.exe
|
92
|
+
- lib/protoc/protocol_buffers_license.txt
|
93
|
+
- lib/protoc/version.rb
|
94
|
+
homepage: https://github.com/Tripwire/protoc-gem
|
95
|
+
licenses:
|
96
|
+
- BSD
|
97
|
+
metadata: {}
|
98
|
+
post_install_message:
|
99
|
+
rdoc_options: []
|
100
|
+
require_paths:
|
101
|
+
- lib
|
102
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
103
|
+
requirements:
|
104
|
+
- - ">="
|
105
|
+
- !ruby/object:Gem::Version
|
106
|
+
version: '0'
|
107
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
108
|
+
requirements:
|
109
|
+
- - ">="
|
110
|
+
- !ruby/object:Gem::Version
|
111
|
+
version: '0'
|
112
|
+
requirements: []
|
113
|
+
rubyforge_project:
|
114
|
+
rubygems_version: 2.4.5
|
115
|
+
signing_key:
|
116
|
+
specification_version: 4
|
117
|
+
summary: Protoc binaries for Mac, Linux, and Windows
|
118
|
+
test_files: []
|