Граф коммитов

20 Коммитов

Автор SHA1 Сообщение Дата
naruse 3e92b635fb Add frozen_string_literal: false for all files
When you change this to true, you may need to add more tests.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-16 05:07:31 +00:00
tadf 8cd604c6c7 * reverted 34739 for test/date.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34743 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-22 10:23:23 +00:00
nobu b67bc8d722 * test/date, test/rdoc: exclude tests dependent on unbundled libraries.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34739 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-22 09:34:59 +00:00
tadf 5aea2ad18c * ext/date/date_core.c: uses to_integer instead.
* test/date/test_switch_hitter.rb: added a test.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34082 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-20 12:03:42 +00:00
nobu f26ee7454f * test/date/test_date_base.rb (test_jd): tests for
[ruby-dev:45008].


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34076 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-20 02:49:15 +00:00
tadf 559c025a22 * ext/date/date_{core,parse}.c: moved nearly all core code from ext/date/lib.
* 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-21 12:25:03 +00:00
tadf 10c4a861eb * test/ruby/test_{complex2,complexrational}.rb: use skip.
* test/date/*.rb: ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31489 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-08 13:18:47 +00:00
tadf 6b8bc66e4d fixed
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31487 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-08 12:01:59 +00:00
tadf a4ecf14d58 * test/date/*.rb: NEVER SKIP.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31486 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-08 11:56:32 +00:00
tadf 5518dc64cf * test/date/*.rb: reverted 31432.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31485 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-08 11:38:25 +00:00
tadf dbe8aba7f9 * test/date/*.rb: reverted 31483.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31484 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-08 11:33:41 +00:00
naruse bf92aa8b16 Revert r31478.
In CRuby's test-all, skip is for something to be fixed.
When some external library is missing, it should silently return;
don't flood the test result with meaningless messages.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31483 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-08 11:15:23 +00:00
tadf 847b461452 * test/date/*.rb: use skip /w messages.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31478 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-08 08:18:10 +00:00
kosaki 674a33edf5 * test/date/test_date_base.rb: don't use no message skip().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31432 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-04 13:10:06 +00:00
tadf 9fe4a35e67 * ext/date/date_core.c: modified validation methods.
* 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 16:02:25 +00:00
naruse f2b3d51787 Fix test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31195 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-28 08:11:31 +00:00
naruse 09a4ae1bbc * ext/date/date_core.c (date_s_today): use int for year.
* ext/date/date_core.c (datetime_s_now): ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31194 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-28 02:41:31 +00:00
tadf 6e9ca64843 added some tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-22 22:28:53 +00:00
nobu 287a34ae0d * {ext,lib,test}/**/*.rb: removed trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-06 03:56:38 +00:00
tadf 0e395a6002 * test/date/*.rb: imported a date test suite ruby 1.9 limited ed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19609 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-28 10:06:13 +00:00