summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2017-04-24Make backquote work with the latest mruby. Fixed #75Yuji Yamano
2017-02-28Merge pull request #74 from iij/run-test-outside-source-treeTomoyuki Sahara
run mrbtest outside of source tree.
2017-02-28run mrbtest outside of source tree.Tomoyuki Sahara
2017-02-17Add a travis-ci badge.Tomoyuki Sahara
2017-02-10File class does not have to include Enumerable.Tomoyuki Sahara
Because IO class, which is the superclass of File class, includes it.
2017-02-08define IO#hash to override Enumerable#hash. fixes #73.Tomoyuki Sahara
Current implementation of Enumerable#hash calls #each to collect hash values of enumerated objects (then calculates the hash value of the Enumerable object). But IO#each is a method to read lines. It is not expected that IO#hash reads all lines from the IO object. Or even worse, program waits for the IO object to be readable if it is a socket or something cannot be read immediately.
2016-12-26Merge pull request #72 from masahino/add_pointer_castingTomoyuki Sahara
Add pointer casting
2016-12-24Add pointer castingmasahino
2016-12-19Merge pull request #71 from eagletmt/readlinkTomoyuki Sahara
Add File.readlink
2016-12-17Fix memory leak in error caseKohei Suzuki
2016-12-17Add File.readlinkKohei Suzuki
2016-12-16Merge pull request #70 from eagletmt/chmodTomoyuki Sahara
Add File.chmod
2016-12-16Add File.chmodKohei Suzuki
2016-11-27Merge pull request #69 from eagletmt/explicit-castTomoyuki Sahara
Add explicit cast from void* to struct mrb_io*
2016-11-26Add explicit cast from void* to struct mrb_io*Kohei Suzuki
For compatibility with C++.
2016-10-13raise an exception when we cannot close "fd" but can close "fd2".Tomoyuki Sahara
2016-09-30eof? should raise an IOError if it is not opened for reading.Tomoyuki Sahara
2016-09-30reimplement #eof. fixes #66.Tomoyuki Sahara
2016-09-13Merge pull request #65 from ksss/joinTomoyuki Sahara
Support Array argument
2016-09-11Support Array argumentksss
2016-09-11Show value of expect and actual each assertionksss
2016-08-10Merge pull request #64 from asfluido/masterTomoyuki Sahara
Apparently, in mruby-process gem, Process is now a Module, not a Class
2016-08-09Apparently, in mruby-process gem, Process is now a Module, not a ClassCarlo - PERI
2016-08-08Merge pull request #63 from ksss/optTomoyuki Sahara
Enable option :in, :out, :err to IO.popen
2016-08-08Merge pull request #62 from ksss/globalTomoyuki Sahara
Should use global variable
2016-08-07Enable Fixnum optionksss
2016-08-07Enable option :in, :out, :errksss
2016-08-06Should use global variableksss
2016-06-22update $? when IO object is closed. closes #58.Tomoyuki Sahara
2016-06-21Merge pull request #60 from drbrain/test_io_setup_failureTomoyuki Sahara
Test io setup failure
2016-06-21add IO#isatty and IO#tty?Tomoyuki Sahara
2016-05-12Create socket in /tmp for securityEric Hodel
Some systems do not allow UNIX sockets from arbitrary directories. Instead of trying to `#define SOCKET_PATH` correctly I assume the /tmp/ directory is accessible and use it.
2016-05-12Include reason in test failure messageEric Hodel
I am seeing this test fail in some environments but can't determine why. The extra information will help me determine the reason bind(2) is failing.
2016-01-21Merge pull request #57 from MaximAbramchuck/patch-1Tomoyuki Sahara
Add installation instructions
2016-01-20Add installation instructionsMaxim Abramchuk
2015-12-08File::ALT_SEPARATOR is always defined (some string or nil).Tomoyuki Sahara
2015-12-08Merge pull request #56 from takahashim/fix-flockTomoyuki Sahara
Fix for windows(mingw)
2015-12-08Fix for windows(mingw)takahashim
* File.expand_path: support drive letter and ALT_SEPARATOR * File.dirname: support ALT_SEPARATOR * File.basename: ditto. * IO.popen: raise NotImplementedError * IO.pipe: ditto. * `cmd`: ditto. * File#flock: ditto. * FileTest.pipe?: ditto. * FileTest.symlink?: ditto. * FileTest.socket?: ditto.
2015-12-07Merge pull request #55 from takahashim/separatorTomoyuki Sahara
fix file separator
2015-12-04fix file separatortakahashim
* File::SEPARATOR should be "/" * File::ALT_SEPARATOR should be "\\" or nil.
2015-12-03Merge pull request #54 from takahashim/win-crlfTomoyuki Sahara
fix tests for Win: use binary mode
2015-12-02fix tests for Win: use binary modetakahashim
2015-12-02Merge pull request #53 from takahashim/build-win32Tomoyuki Sahara
build on Win32
2015-12-02build on Win32takahashim
2015-11-24symlink(2) returns -1 when it fails.Tomoyuki Sahara
2015-11-24assert_nothing_raised is not available on mruby 1.0.0.Tomoyuki Sahara
2015-11-24Merge pull request #51 from ksss/io-pipeTomoyuki Sahara
Implement IO.pipe
2015-11-24Implement IO.pipeksss
2015-11-24arguments can be shared strings.Tomoyuki Sahara
2015-11-24Merge pull request #50 from takahashim/file-symlinkTomoyuki Sahara
add File.symlink