1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
Commit graph

6 commits

Author SHA1 Message Date
nobu
f20f84d60a vcs.rb: make Time with proper offset
* tool/vcs.rb (get_revisions): use Time.new instead of Time.mktime
  which does not accept UTC offset, and offset manually for older
  versions than 1.9.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48559 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-25 06:26:26 +00:00
nobu
f024d46f11 tool/vcs.rb: no time.rb
* common.mk (Doxyfile): revert r43888, not to require preinstalled
  ruby.  [ruby-core:64488] [Bug #10161]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47248 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-22 06:36:46 +00:00
nobu
68e6d3f1d5 tool/vcs.rb: discard error messages
* tool/vcs.rb (VCS#get_revisions): discard error messages for all
  VCS not only SVN.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45203 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-02-28 01:23:31 +00:00
nobu
e72ca2e044 rbinstall.rb: fix for non-working directory
* tool/rbinstall.rb (Gem::Specification.last_date): skip if failed to
  get info from VCS, for example, in the case circumstance sharing working
  directory with another machine and run vcs tools cannot work.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43624 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-11-09 16:37:46 +00:00
nobu
1ce82d510c rbinstall.rb: spec date from VCS
* tool/rbinstall.rb (Gem::Specification.load): obtain spec date from
  VCS for the case using git, RUBY_RELEASE_DATE is the last resort.
  probably fixes [Bug #9085].

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43617 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-11-09 13:35:39 +00:00
nobu
ae6f7929bd vcs.rb: split
* tool/vcs.rb: split from file2lastrev.rb.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43609 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-11-09 06:20:57 +00:00