{"id":22065988,"url":"https://github.com/iij/mruby-io","last_synced_at":"2025-05-13T01:54:07.928Z","repository":{"id":7659918,"uuid":"9021346","full_name":"iij/mruby-io","owner":"iij","description":"IO and File class for old versions (\u003c= 1.3.x) of mruby","archived":false,"fork":false,"pushed_at":"2018-12-16T11:43:26.000Z","size":208,"stargazers_count":44,"open_issues_count":6,"forks_count":58,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-05-13T01:54:02.967Z","etag":null,"topics":["mruby"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/iij.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-03-26T02:43:11.000Z","updated_at":"2025-05-05T17:16:00.000Z","dependencies_parsed_at":"2022-09-11T14:01:13.202Z","dependency_job_id":null,"html_url":"https://github.com/iij/mruby-io","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iij%2Fmruby-io","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iij%2Fmruby-io/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iij%2Fmruby-io/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iij%2Fmruby-io/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iij","download_url":"https://codeload.github.com/iij/mruby-io/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253856631,"owners_count":21974576,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["mruby"],"created_at":"2024-11-30T19:22:59.004Z","updated_at":"2025-05-13T01:54:07.907Z","avatar_url":"https://github.com/iij.png","language":"C","readme":"mruby-io\n========\n[![Build Status](https://travis-ci.org/iij/mruby-io.svg?branch=master)](https://travis-ci.org/iij/mruby-io)\n\n`IO` and `File` classes for mruby\n\n**Note: mruby-io is incorporated in mruby now.  If you use mruby 1.4.0 or later, build it with bundled mruby-io.\nThis repository supports mruby \u003c= 1.3.x only.**\n\n## Installation\nAdd the line below to your `build_config.rb`:\n\n```\n  conf.gem :github =\u003e 'iij/mruby-io'\n```\n\n## Implemented methods\n\n### IO\n - http://doc.ruby-lang.org/ja/1.9.3/class/IO.html\n\n| method                     | mruby-io | memo |\n| -------------------------  | -------- | ---- |\n| IO.binread                 |          |      |\n| IO.binwrite                |          |      |\n| IO.copy_stream             |          |      |\n| IO.new, IO.for_fd, IO.open |  o  |     |\n| IO.foreach                 |          |      |\n| IO.pipe                    |    o     |      |\n| IO.popen                   |    o     |      |\n| IO.read                    |    o     |      |\n| IO.readlines               |          |      |\n| IO.select                  |    o     |      |\n| IO.sysopen                 |    o     |      |\n| IO.try_convert             |          |      |\n| IO.write                   |          |      |\n| IO#\u003c\u003c                      |          |      |\n| IO#advise                  |          |      |\n| IO#autoclose=              |          |      |\n| IO#autoclose?              |          |      |\n| IO#binmode                 |          |      |\n| IO#binmode?                |          |      |\n| IO#bytes                   |          | obsolete |\n| IO#chars                   |          | obsolete |\n| IO#clone, IO#dup           |          |      |\n| IO#close                   |    o     |      |\n| IO#close_on_exec=          |    o     |      |\n| IO#close_on_exec?          |    o     |      |\n| IO#close_read              |          |      |\n| IO#close_write             |          |      |\n| IO#closed?                 |    o     |      |\n| IO#codepoints              |          | obsolete |\n| IO#each_byte               |    o     |      |\n| IO#each_char               |    o     |      |\n| IO#each_codepoint          |          |      |\n| IO#each_line               |    o     |      |\n| IO#eof, IO#eof?            |    o     |      |\n| IO#external_encoding       |          |      |\n| IO#fcntl                   |          |      |\n| IO#fdatasync               |          |      |\n| IO#fileno, IO#to_i         |    o     |      |\n| IO#flush                   |    o     |      |\n| IO#fsync                   |          |      |\n| IO#getbyte                 |          |      |\n| IO#getc                    |    o     |      |\n| IO#gets                    |    o     |      |\n| IO#internal_encoding       |          |      |\n| IO#ioctl                   |          |      |\n| IO#isatty, IO#tty?         |    o     |      |\n| IO#lineno                  |          |      |\n| IO#lineno=                 |          |      |\n| IO#lines                   |          | obsolete |\n| IO#pid                     |    o     |      |\n| IO#pos, IO#tell            |    o     |      |\n| IO#pos=                    |    o     |      |\n| IO#print                   |    o     |      |\n| IO#printf                  |    o     |      |\n| IO#putc                    |          |      |\n| IO#puts                    |    o     |      |\n| IO#read                    |    o     |      |\n| IO#read_nonblock           |          |      |\n| IO#readbyte                |          |      |\n| IO#readchar                |    o     |      |\n| IO#readline                |    o     |      |\n| IO#readlines               |    o     |      |\n| IO#readpartial             |          |      |\n| IO#reopen                  |          |      |\n| IO#rewind                  |          |      |\n| IO#seek                    |    o     |      |\n| IO#set_encoding            |          |      |\n| IO#stat                    |          |      |\n| IO#sync                    |    o     |      |\n| IO#sync=                   |    o     |      |\n| IO#sysread                 |    o     |      |\n| IO#sysseek                 |    o     |      |\n| IO#syswrite                |    o     |      |\n| IO#to_io                   |          |      |\n| IO#ungetbyte               |          |      |\n| IO#ungetc                  |    o     |      |\n| IO#write                   |    o     |      |\n| IO#write_nonblock          |          |      |\n\n### File\n - http://doc.ruby-lang.org/ja/1.9.3/class/File.html\n\n| method                      | mruby-io | memo |\n| --------------------------- | -------- | ---- |\n| File.absolute_path          |          |      |\n| File.atime                  |          |      |\n| File.basename               |   o      |      |\n| File.blockdev?              |          | FileTest |\n| File.chardev?               |          | FileTest |\n| File.chmod                  |   o      |      |\n| File.chown                  |          |      |\n| File.ctime                  |          |      |\n| File.delete, File.unlink    |   o      |      |\n| File.directory?             |   o      | FileTest |\n| File.dirname                |   o      |      |\n| File.executable?            |          | FileTest |\n| File.executable_real?       |          | FileTest |\n| File.exist?, exists?        |   o      | FileTest |\n| File.expand_path            |   o      |      |\n| File.extname                |   o      |      |\n| File.file?                  |   o      | FileTest |\n| File.fnmatch, File.fnmatch? |          |      |\n| File.ftype                  |          |      |\n| File.grpowned?              |          | FileTest |\n| File.identical?             |          | FileTest |\n| File.join                   |   o      |      |\n| File.lchmod                 |          |      |\n| File.lchown                 |          |      |\n| File.link                   |          |      |\n| File.lstat                  |          |      |\n| File.mtime                  |          |      |\n| File.new, File.open         |   o      |      |\n| File.owned?                 |          | FileTest |\n| File.path                   |          |      |\n| File.pipe?                  |   o      | FileTest |\n| File.readable?              |          | FileTest |\n| File.readable_real?         |          | FileTest |\n| File.readlink               |   o      |      |\n| File.realdirpath            |          |      |\n| File.realpath               |   o      |      |\n| File.rename                 |   o      |      |\n| File.setgid?                |          | FileTest |\n| File.setuid?                |          | FileTest |\n| File.size                   |   o      |      |\n| File.size?                  |   o      | FileTest |\n| File.socket?                |   o      | FileTest |\n| File.split                  |          |      |\n| File.stat                   |          |      |\n| File.sticky?                |          | FileTest |\n| File.symlink                |          |      |\n| File.symlink?               |   o      | FileTest |\n| File.truncate               |          |      |\n| File.umask                  |   o      |      |\n| File.utime                  |          |      |\n| File.world_readable?        |          |      |\n| File.world_writable?        |          |      |\n| File.writable?              |          | FileTest |\n| File.writable_real?         |          | FileTest |\n| File.zero?                  |   o      | FileTest |\n| File#atime                  |          |      |\n| File#chmod                  |          |      |\n| File#chown                  |          |      |\n| File#ctime                  |          |      |\n| File#flock                  |   o      |      |\n| File#lstat                  |          |      |\n| File#mtime                  |          |      |\n| File#path, File#to_path     |   o      |      |\n| File#size                   |          |      |\n| File#truncate               |          |      |\n\n\n## License\n\nCopyright (c) 2013 Internet Initiative Japan Inc.\n\nPermission is hereby granted, free of charge, to any person obtaining a \ncopy of this software and associated documentation files (the \"Software\"), \nto deal in the Software without restriction, including without limitation \nthe rights to use, copy, modify, merge, publish, distribute, sublicense, \nand/or sell copies of the Software, and to permit persons to whom the \nSoftware is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in \nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR \nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, \nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE \nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER \nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING \nFROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER \nDEALINGS IN THE SOFTWARE.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiij%2Fmruby-io","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiij%2Fmruby-io","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiij%2Fmruby-io/lists"}