protoc 2.6.1.1-universal-mingw32 → 2.6.1.2-universal-mingw32

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3f7cef3da396a310d1d8352280f70bd9b4cb08ef
4
- data.tar.gz: b000e83dbba8fe83ff90bbffdb57e50031d598a0
3
+ metadata.gz: 273870c8a9e62e1976f778d2bbca8dc803d3e853
4
+ data.tar.gz: da141f91093fb21438e9fd488e47616b98c2b330
5
5
  SHA512:
6
- metadata.gz: c424d40c972716a761e3817f3940a5fb805af058200e9fe6c07bc83c41f66258e91047bd52a07779b74b6b3115375273985937f4aebe8f664029b84915940c55
7
- data.tar.gz: 5a0e4bd9a56ffc3c28676ba905fe8b957f2b99e22893258982082467967c13c12d562320b5b213a2370a90dcd4f0d0615393c116c7bbca6de47b776a95e580b2
6
+ metadata.gz: 960cee214301ad92a85ce962707d034b3d67bf4eabc51ae861a421e70f2039015d4835eb15143d97b6a88ae1987f4d5bf7cb7a370fc9be0ea487b148e922afe5
7
+ data.tar.gz: a1b6424f6919aa205619a8b36abd4dc570ff6ee7fde7d7b0b8ef75ffc57944f97ea0dc0b2ee17a7db102322f86fdba5d8ee85a03f0f878dd2d0baf7d018dccbb
@@ -2,5 +2,5 @@ module Protoc
2
2
  # The version of the protobuf library from which these protoc binaries were built
3
3
  PROTOBUF_VERSION = '2.6.1'
4
4
  # This gem's version
5
- VERSION = PROTOBUF_VERSION + '.1'
5
+ VERSION = PROTOBUF_VERSION + '.2'
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: protoc
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.6.1.1
4
+ version: 2.6.1.2
5
5
  platform: universal-mingw32
6
6
  authors:
7
7
  - Ben Jansen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-02-13 00:00:00.000000000 Z
11
+ date: 2017-02-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -66,10 +66,13 @@ dependencies:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0.4'
69
- description: |-
69
+ description: |
70
70
  This gem includes protoc, the protobuf compiler, binaries for Linux, Mac, and Windows. It installs a executable shim
71
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
72
  of the version you need. By using this gem, you will not need to manually install the right protoc on your hosts.
73
+
74
+ The pre-built linux protoc binaries are not compatible with all systems. For this reason the protobuf source code is
75
+ included in this gem, and a new protoc binary is built upon gem installation when the pre-built one does not function.
73
76
  email:
74
77
  executables:
75
78
  - protoc
@@ -89,9 +92,6 @@ files:
89
92
  - bin/protoc-2.6.1-osx-x86_64.exe
90
93
  - bin/protoc-2.6.1-windows-x86_32.exe
91
94
  - bin/protoc-2.6.1-windows-x86_64.exe
92
- - ext/protoc/Makefile
93
- - ext/protoc/Makefile.in
94
- - ext/protoc/extconf.rb
95
95
  - lib/protoc/protocol_buffers_license.txt
96
96
  - lib/protoc/version.rb
97
97
  homepage: https://github.com/Tripwire/protoc-gem
data/ext/protoc/Makefile DELETED
@@ -1,8 +0,0 @@
1
- # This is a dummy makefile that will get used to build this "extension" when
2
- # the pre-built protoc will work on the system
3
- # This file will get overwritten by extconf.rb if it needs to build protoc
4
- # from source
5
-
6
- build:
7
-
8
- install:
@@ -1,24 +0,0 @@
1
- PROTOBUF_VERSION = @PROTOBUF_VERSION@
2
- PROTOC_BINARY_PATH = @PROTOC_BINARY_PATH@
3
-
4
- build: stage/bin/protoc
5
-
6
- protobuf-$(PROTOBUF_VERSION):
7
- curl -L https://github.com/google/protobuf/archive/v$(PROTOBUF_VERSION).tar.gz | tar xz
8
-
9
- protobuf-$(PROTOBUF_VERSION)/configure: | protobuf-$(PROTOBUF_VERSION)
10
- cd protobuf-$(PROTOBUF_VERSION) && \
11
- autoreconf -f -i -Wall,no-obsolete && \
12
- rm -rf autom4te.cache config.h.in~
13
-
14
- protobuf-$(PROTOBUF_VERSION)/Makefile: protobuf-$(PROTOBUF_VERSION)/configure
15
- cd protobuf-$(PROTOBUF_VERSION) && \
16
- ./configure --prefix=$(shell pwd)/stage --disable-shared
17
-
18
- stage/bin/protoc: protobuf-$(PROTOBUF_VERSION)/Makefile
19
- cd protobuf-$(PROTOBUF_VERSION) && \
20
- $(MAKE) install
21
-
22
- install: stage/bin/protoc
23
- mv -f stage/bin/protoc $(PROTOC_BINARY_PATH)
24
- rm -rf protobuf-$(PROTOBUF_VERSION) stage
@@ -1,45 +0,0 @@
1
- require 'platform'
2
- require_relative '../../lib/protoc/version'
3
-
4
- PLATFORM_TO_PROTOC_ARCH = {:x86 => :x86_32, :x86_64 => :x86_64}
5
-
6
- # Work around for lack of x86_64 support in Platform 0.4.0, which is the
7
- # latest in rubygems.org. https://github.com/mmower/platform/issues/3
8
- def platform_arch
9
- if Platform::ARCH == :unknown && RUBY_PLATFORM =~ /x86_64/
10
- :x86_64
11
- else
12
- Platform::ARCH
13
- end
14
- end
15
-
16
- OS = case Platform::OS
17
- when :win32
18
- 'windows'
19
- when :unix
20
- case Platform::IMPL
21
- when :macosx
22
- 'osx'
23
- when :linux
24
- 'linux'
25
- else
26
- Platform::IMPL.to_s
27
- end
28
- else
29
- Platform::OS.to_s
30
- end
31
-
32
- HERE = File.expand_path(File.dirname(__FILE__))
33
- binpath = File.expand_path(File.join(HERE, '..', '..', 'bin'))
34
- protoc_path = File.join(
35
- binpath, "protoc-#{Protoc::PROTOBUF_VERSION}-#{OS}-#{PLATFORM_TO_PROTOC_ARCH[platform_arch]}.exe"
36
- )
37
- `#{protoc_path} --version`
38
- if $? != 0 && OS != 'windows'
39
- Dir.chdir(HERE) do
40
- template = File.read(File.join(HERE, 'Makefile.in'))
41
- template.gsub!('@PROTOBUF_VERSION@', Protoc::PROTOBUF_VERSION)
42
- template.gsub!('@PROTOC_BINARY_PATH@', protoc_path)
43
- File.write(File.join(HERE, 'Makefile'), template)
44
- end
45
- end