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

120 Коммитов

Автор SHA1 Сообщение Дата
akr dc2676a8a0 * ext/pathname/pathname.c (path_mtime): Pathname#mtime translated from
pathname.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28879 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-05 20:53:56 +00:00
akr 9bf69293e7 * ext/pathname/pathname.c (path_ctime): Pathname#ctime translated from
pathname.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-05 13:09:53 +00:00
akr 88e78ac59b * ext/pathname/pathname.c (path_atime): Pathname#atime translated from
pathname.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28848 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-03 21:25:43 +00:00
akr 88431b74fc * ext/pathname/pathname.c (path_realdirpath): Pathname#realdirpath
translated from pathname.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28831 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-01 20:35:33 +00:00
akr c29b801afa * ext/pathname/pathname.c (path_realpath): Pathname#realpath translated
from pathname.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-01 11:57:58 +00:00
akr caa05197d3 * ext/pathname/pathname.c (path_sub_ext): Pathname#sub_ext translated
from pathname.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28817 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-01 05:59:49 +00:00
akr 572b8b3749 * ext/pathname/pathname.c (path_sub): Pathname#sub translated
from pathname.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28812 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-01 00:22:18 +00:00
akr b6ebd0622c * ext/pathname/pathname.c (path_inspect): Pathname#inspect translated
from pathname.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28808 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-31 14:16:10 +00:00
akr 9006bd2015 * ext/pathname/pathname.c (Init_pathname): The alias,
Pathname#to_path, is translated from pathname.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28807 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-31 07:21:42 +00:00
akr c57e8f7ddc * ext/pathname/pathname.c (path_to_s): Pathname#to_s translated
from pathname.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28805 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-31 00:13:10 +00:00
akr be2f3c58e6 * ext/pathname/pathname.c (path_hash): Pathname#hash translated
from pathname.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28802 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-30 12:44:41 +00:00
akr 8db76b2135 class description document moved.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28789 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-29 21:13:34 +00:00
akr 3608baa990 * ext/pathname/pathname.c (path_cmp): Pathname#<=> translated
from pathname.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28783 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-29 13:29:20 +00:00
akr 7996581a82 * ext/pathname/pathname.c (path_eq): Pathname#{==,===,eql?} translated
from pathname.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28776 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-28 13:24:55 +00:00
akr 0cb17010c4 * ext/pathname/pathname.c (path_taint): use rb_obj_taint.
(path_untaint): Pathname#untaint translated from
  pathname.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28767 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-27 14:14:14 +00:00
akr aa4f1d8e81 * ext/pathname/pathname.c (path_taint): Pathname#taint translated from
pathname.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28760 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-26 13:35:18 +00:00
akr a0d5258df0 * ext/pathname/pathname.c (get_strpath): check the type.
(path_initialize): bypass to_path call for T_STRING.
  (path_freeze): implemented.

* ext/pathname/lib/pathname.rb (Pathname#freeze): removed.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28683 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-19 09:35:31 +00:00
akr 17749e5168 * ext/pathname/pathname.c (path_initialize): return a value.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28672 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-17 16:10:19 +00:00
akr 03bb750d56 * ext/pathname/lib/pathname.rb (Pathname#initialize): removed.
* ext/pathname/pathname.c (path_initialize): implemented.
  (get_strpath): new function.
  (set_strpath): ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28670 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-17 15:03:31 +00:00
akr 4bf3cb5ba9 * ext/pathname/lib/pathname.rb: moved from lib/pathname.rb.
require pathname.so.

* ext/pathname/pathname.c: new file to define empty Pathname class.

* ext/pathname/extconf.rb: new file.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28663 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-17 04:50:19 +00:00