{"id":15599941,"url":"https://github.com/tanvir002700/nth_permutation","last_synced_at":"2026-04-28T20:03:35.249Z","repository":{"id":56885854,"uuid":"120946601","full_name":"tanvir002700/nth_permutation","owner":"tanvir002700","description":"A Ruby Library for finding nth permutation of a string.","archived":false,"fork":false,"pushed_at":"2018-02-22T13:04:42.000Z","size":525,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-04-23T21:35:48.376Z","etag":null,"topics":["c","c-extension","gem","nth-permutation","permutation","ruby"],"latest_commit_sha":null,"homepage":"","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/tanvir002700.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-02-09T19:28:12.000Z","updated_at":"2018-02-26T18:12:31.000Z","dependencies_parsed_at":"2022-08-21T00:20:59.106Z","dependency_job_id":null,"html_url":"https://github.com/tanvir002700/nth_permutation","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tanvir002700%2Fnth_permutation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tanvir002700%2Fnth_permutation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tanvir002700%2Fnth_permutation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tanvir002700%2Fnth_permutation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tanvir002700","download_url":"https://codeload.github.com/tanvir002700/nth_permutation/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246181501,"owners_count":20736570,"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":["c","c-extension","gem","nth-permutation","permutation","ruby"],"created_at":"2024-10-03T02:01:07.867Z","updated_at":"2026-04-28T20:03:35.075Z","avatar_url":"https://github.com/tanvir002700.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NthPermutation\n[![Build Status](https://travis-ci.org/tanvir002700/nth_permutation.svg?branch=master)](https://travis-ci.org/tanvir002700/nth_permutation)\n[![Maintainability](https://api.codeclimate.com/v1/badges/69f40101eeb294c05163/maintainability)](https://codeclimate.com/github/tanvir002700/nth_permutation/maintainability)\n[![Coverage Status](https://coveralls.io/repos/github/tanvir002700/nth_permutation/badge.svg?branch=master)](https://coveralls.io/github/tanvir002700/nth_permutation?branch=master)\n[![Gem Version](https://badge.fury.io/rb/nth_permutation.svg)](https://badge.fury.io/rb/nth_permutation)\n[![Downloads](https://img.shields.io/gem/dt/nth_permutation.svg)](https://rubygems.org/gems/nth_permutation)\n[![GitHub last commit (branch)](https://img.shields.io/github/last-commit/tanvir002700/nth_permutation/master.svg)](https://github.com/tanvir002700/nth_permutation)\n[![license](https://img.shields.io/github/license/tanvir002700/nth_permutation.svg)](https://github.com/tanvir002700/nth_permutation/blob/master/LICENSE)\n\nThis gem is NthPermutation implemanted with c Extension. A super first permutation finding library in ruby.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'nth_permutation'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install nth_permutation\n\n## Usage\n\n``` ruby\nrequire 'nth_permutation'\np = NthPermutation::String.new 'abc'\np.permutation 2 #=\u003e 'acb'\np.possible_permutation #=\u003e 6\n```\n## Limitation\n\nCan't handle more than 20 character longer string.\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.\n\nTo install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/tanvir002700/nth-permutation. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n\n## Code of Conduct\n\nEveryone interacting in the Nth::Permutation project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/tanvir002700/nth-permutation/blob/master/CODE_OF_CONDUCT.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftanvir002700%2Fnth_permutation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftanvir002700%2Fnth_permutation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftanvir002700%2Fnth_permutation/lists"}