ruby-changes:46423
From: hsbt <ko1@a...>
Date: Mon, 1 May 2017 19:20:40 +0900 (JST)
Subject: [ruby-changes:46423] hsbt:r58529 (trunk): Merge gemspec from ruby/webrick.
hsbt 2017-05-01 19:20:35 +0900 (Mon, 01 May 2017) New Revision: 58529 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=58529 Log: Merge gemspec from ruby/webrick. * Bump version to 1.4.0.beta1. Because https://rubygems.org/gems/webrick is already reserved old version of webrick. Modified files: trunk/lib/webrick/version.rb trunk/lib/webrick/webrick.gemspec Index: lib/webrick/version.rb =================================================================== --- lib/webrick/version.rb (revision 58528) +++ lib/webrick/version.rb (revision 58529) @@ -14,5 +14,5 @@ module WEBrick https://github.com/ruby/ruby/blob/trunk/lib/webrick/version.rb#L14 ## # The WEBrick version - VERSION = "1.3.1" + VERSION = "1.4.0.beta1" end Index: lib/webrick/webrick.gemspec =================================================================== --- lib/webrick/webrick.gemspec (revision 58528) +++ lib/webrick/webrick.gemspec (revision 58529) @@ -1,7 +1,10 @@ https://github.com/ruby/ruby/blob/trunk/lib/webrick/webrick.gemspec#L1 +$LOAD_PATH.unshift File.expand_path('../lib', __FILE__) +require 'webrick/version' + Gem::Specification.new do |s| s.name = "webrick" - s.version = '0.0.1' - s.date = '2017-01-30' + s.version = WEBrick::VERSION + s.date = '2017-05-01' s.summary = "HTTP server toolkit" s.description = "WEBrick is an HTTP server toolkit that can be configured as an HTTPS server, a proxy server, and a virtual-host server." -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/