summaryrefslogtreecommitdiff
path: root/ext/date/lib
AgeCommit message (Collapse)Author
2021-11-18[ruby/date] Bump version to 3.2.2Hiroshi SHIBATA
https://github.com/ruby/date/commit/21d91c5f4f
2021-11-18[ruby/date] Expose Date::VERSIONJean Boussier
An almost universal convention for gems is to expose `Namespace::VERSION` which makes it mcuh easier when debugging etc. Many gems extracted from ruby don't do this, even though it would be even more useful because they ship with ruby, so it's less clear which version it is. https://github.com/ruby/date/commit/fef7ec18d8
2021-07-11[ruby/date] Fix comparison with Float::INFINITYJeremy Evans
Fixes [Bug #17945] https://github.com/ruby/date/commit/953d907238
2020-11-12[ruby/date] Numeric already includes ComparableAkira Matsuda
https://github.com/ruby/date/commit/f6140df0ad
2019-10-24[ruby/date] Support -Float::INFINITY...date rangesJeremy Evans
Fixes Ruby Bug 12961 https://github.com/ruby/date/commit/7f533c2552
2017-01-27{ext,test}/date: Specify frozen_string_literal: true.kazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57432 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-11-29parse.y: ambiguous parenthesesnobu
* parse.y (parser_yylex): warn ambiguous parentheses after a space in method definitions. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56927 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-16handle ext/ as r53141naruse
g -L frozen_string_literal ext/**/*.rb|xargs ruby -Ka -e'ARGV.each{|fn|puts fn;open(fn,"r+"){|f|s=f.read.sub(/\A(#!.*\n)?(#.*coding.*\n)?/,"\\&# frozen_string_literal: false\n");f.rewind;f.write s}}' git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53143 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-13* ext/date/lib/date.rb: fix indent [ci skip]zzak
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47909 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-07-01* ext/date/lib/date/format.rb: removed empty file by @vipulnsward.hsbt
* ext/date/lib/date.rb: removed needless require. [fix GH-647] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46633 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-21 * ext/date/date_{core,parse}.c: moved nearly all core code from ext/date/lib.tadf
* ext/date/lib/{date,date/format}.rb: removed nearly all code. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31668 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-20 * ext/date/lib/date/format.rb: Document date formats. Patch bydrbrain
Clinton Nixon. [Ruby 1.9 - Bug #4743] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31650 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-08 * ext/date/lib/date/format.rb (_httpdate): omitted to call zone_to_diff.tadf
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31477 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-26 * ext/date/date_core.c: modified validation methods.tadf
* ext/date/lib/date.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31358 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-26 * ext/date/lib/date/format.rb (_iso8601): allowed day only civiltadf
date. disallowed separatorless day only ordinal date. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31348 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-24 * lib/time.rb: require 'date'.tadf
* ext/date/lib/date/format.rb: removed require line. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31339 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-24 * ext/date/lib/date/format.rb: require 'date'.tadf
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31338 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-24 * ext/date/lib/date/format.rb (_iso8601): added a pattern.tadf
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31337 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-24* ext/date/lib/date/format.rb: require 'date_core.so'.naruse
date/format needs methods which are now in date_core.so. This breaks make rdoc which uses Date._parse from time.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31336 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-24 * ext/date/lib/date/format.rb: fixed a bug of regex.tadf
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31335 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-24 * ext/date/lib/date/format.rb: an adjustment of regex.tadf
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31334 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-24 * ext/date/lib/date/format.rb: omitted to call _parse.tadf
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31333 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-23 * ext/date/date_core.c: replacement of implementation oftadf
_parse. [experimental] * ext/date/date_parse.c: new. * ext/date/lib/date/format.rb: removed ruby version of _parse. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31322 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-16 * ext/date/date_core.c: replacement of implementation oftadf
_strptime. [experimental] * ext/date/date_strptime.c: new. * ext/date/lib/date/format.rb: removed ruby version of _strptime. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31295 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-25* ext/date/lib/date/format.rb (DateTime#strftime): removed becausenaruse
date_core defines it. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31183 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-20 * ext/date/date_core.c: replacement of implementation oftadf
strftime. It has some limitations that is same as Time's one. [experimental] * ext/date/date_strftime.c: new. * ext/date/lib/date/format.c: removed ruby version of strftime. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-11 * ext/date/date_core.c: changed some directives.tadf
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31098 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-11 * ext/date/date_core.c, ext/date/lib/*: moved rdoc descriptions.tadf
- この行以下は無視されます -- M ChangeLog M ext/date/date_core.c M ext/date/lib/date.rb M ext/date/lib/date/format.rb git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31097 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-11 * ext/date/lib: moved from lib.tadf
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31095 b2dd03c8-39d4-4d8f-98ff-823fe69b080e