瀏覽代碼

Support ruby2.5

Jisi Liu 7 年之前
父節點
當前提交
d9f0f0bfac
共有 2 個文件被更改,包括 3 次插入3 次删除
  1. 2 2
      ruby/Rakefile
  2. 1 1
      ruby/google-protobuf.gemspec

+ 2 - 2
ruby/Rakefile

@@ -64,13 +64,13 @@ else
 
 
   task 'gem:windows' do
   task 'gem:windows' do
     require 'rake_compiler_dock'
     require 'rake_compiler_dock'
-    RakeCompilerDock.sh "bundle && IN_DOCKER=true rake cross native gem RUBY_CC_VERSION=2.4.0:2.3.0:2.2.2:2.1.5:2.0.0"
+    RakeCompilerDock.sh "bundle && IN_DOCKER=true rake cross native gem RUBY_CC_VERSION=2.5.0:2.4.0:2.3.0:2.2.2:2.1.5:2.0.0"
   end
   end
 
 
   if RUBY_PLATFORM =~ /darwin/
   if RUBY_PLATFORM =~ /darwin/
     task 'gem:native' do
     task 'gem:native' do
       system "rake genproto"
       system "rake genproto"
-      system "rake cross native gem RUBY_CC_VERSION=2.4.0:2.3.0:2.2.2:2.1.5:2.0.0"
+      system "rake cross native gem RUBY_CC_VERSION=2.5.0:2.4.0:2.3.0:2.2.2:2.1.5:2.0.0"
     end
     end
   else
   else
     task 'gem:native' => [:genproto, 'gem:windows']
     task 'gem:native' => [:genproto, 'gem:windows']

+ 1 - 1
ruby/google-protobuf.gemspec

@@ -1,6 +1,6 @@
 Gem::Specification.new do |s|
 Gem::Specification.new do |s|
   s.name        = "google-protobuf"
   s.name        = "google-protobuf"
-  s.version     = "3.5.1"
+  s.version     = "3.5.1.1"
   s.licenses    = ["BSD-3-Clause"]
   s.licenses    = ["BSD-3-Clause"]
   s.summary     = "Protocol Buffers"
   s.summary     = "Protocol Buffers"
   s.description = "Protocol Buffers are Google's data interchange format."
   s.description = "Protocol Buffers are Google's data interchange format."