{"id":23213231,"url":"https://github.com/siman-man/shiritori","last_synced_at":"2026-03-18T00:04:17.794Z","repository":{"id":16824788,"uuid":"19584050","full_name":"siman-man/shiritori","owner":"siman-man","description":"try to create long method chain. ","archived":false,"fork":false,"pushed_at":"2017-03-18T19:29:23.000Z","size":111,"stargazers_count":12,"open_issues_count":0,"forks_count":1,"subscribers_count":5,"default_branch":"master","last_synced_at":"2026-03-12T19:34:07.656Z","etag":null,"topics":["gem","ruby"],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/siman-man.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-05-08T18:22:21.000Z","updated_at":"2023-11-07T12:37:40.000Z","dependencies_parsed_at":"2022-08-25T16:51:07.055Z","dependency_job_id":null,"html_url":"https://github.com/siman-man/shiritori","commit_stats":null,"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"purl":"pkg:github/siman-man/shiritori","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/siman-man%2Fshiritori","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/siman-man%2Fshiritori/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/siman-man%2Fshiritori/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/siman-man%2Fshiritori/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/siman-man","download_url":"https://codeload.github.com/siman-man/shiritori/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/siman-man%2Fshiritori/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30636705,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-17T23:56:54.546Z","status":"ssl_error","status_checked_at":"2026-03-17T23:56:28.952Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["gem","ruby"],"created_at":"2024-12-18T19:15:56.731Z","updated_at":"2026-03-18T00:04:17.776Z","avatar_url":"https://github.com/siman-man.png","language":"Ruby","readme":"[![Build Status](https://travis-ci.org/siman-man/shiritori.svg?branch=master)](https://travis-ci.org/siman-man/shiritori)\n[![Code Climate](https://codeclimate.com/github/siman-man/shiritori.png)](https://codeclimate.com/github/siman-man/shiritori)\n[![Coverage Status](https://coveralls.io/repos/siman-man/shiritori/badge.png)](https://coveralls.io/r/siman-man/shiritori)\n\n# Shiritori\n\nLet's try to create too long method chain!\n\n## Installation\n\ninstall it yourself as:\n\n    $ gem install shiritori\n\nLet's start creation long method chain.\n\n## Rule\n\n1. You set first object.\n\n2. Input the method that object can use.\n  * You can not use the method that has been used once.\n  * Don't override or define new method.\n\n3. It continue until the method can not be input.\n\n4. Let's enjoy shiritori!\n\n- block syntax can use only '{}', not use 'do - end' syntax.\n- if you want to pass arguments, please enclosed '()'. \n\nbad\n\n```\nPlease input next method \u003e +5\nExec command 3.+5\n```\n\ngood\n\n```\nPlease input next method \u003e +(5)\nExec command 3.+(5)\n```\n \n## Usage\n\n```\n% shiritori start                   \n\n+--------------------------------------------------+\n|                                                  |\n|            Welcome to the Shiritori!             |\n|                                                  |\n+--------------------------------------------------+\nPlease input first object \u003e \"Hello\"\n\n+----------------------+\n| Current method chain |\n+----------------------+\n|       \"Hello\"        |\n+----------------------+\n\n+---------------+-------------+----------------+\n| Current Class | Chain Count | Current Object |\n+---------------+-------------+----------------+\n|    String     |      0      |    \"Hello\"     |\n+---------------+-------------+----------------+\n\nPlease input next method \u003e chars\nExec command \"Hello\".chars\n\n+----------------------+\n| Current method chain |\n+----------------------+\n|    \"Hello\".chars     |\n+----------------------+\n\n+---------------+-------------+---------------------------+\n| Current Class | Chain Count |      Current Object       |\n+---------------+-------------+---------------------------+\n|     Array     |      1      | [\"H\", \"e\", \"l\", \"l\", \"o\"] |\n+---------------+-------------+---------------------------+\n\nSuccess!\n\nPlease input next method \u003e first\nExec command [\"H\", \"e\", \"l\", \"l\", \"o\"].first\n\n+----------------------+\n| Current method chain |\n+----------------------+\n| \"Hello\".chars.first  |\n+----------------------+\n\n+---------------+-------------+----------------+\n| Current Class | Chain Count | Current Object |\n+---------------+-------------+----------------+\n|    String     |      2      |      \"H\"       |\n+---------------+-------------+----------------+\n\nSuccess!\n\nPlease input next method \u003e\n```\n\n## Contributing\n\n1. Fork it ( https://github.com/siman-man/shiritori/fork )\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create a new Pull Request\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsiman-man%2Fshiritori","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsiman-man%2Fshiritori","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsiman-man%2Fshiritori/lists"}