{"id":24755252,"url":"https://github.com/katzer/mruby-planet-matcher","last_synced_at":"2025-03-23T06:14:01.351Z","repository":{"id":138108992,"uuid":"199684359","full_name":"katzer/mruby-planet-matcher","owner":"katzer","description":"Planet matcher mgem for Orbit","archived":false,"fork":false,"pushed_at":"2024-08-25T15:19:40.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-01-28T12:41:27.441Z","etag":null,"topics":["mruby-gem","orbit"],"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/katzer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-07-30T15:59:53.000Z","updated_at":"2024-08-25T15:19:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"a35e0e00-9a40-4424-a6eb-7b88ff3117a9","html_url":"https://github.com/katzer/mruby-planet-matcher","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/katzer%2Fmruby-planet-matcher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/katzer%2Fmruby-planet-matcher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/katzer%2Fmruby-planet-matcher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/katzer%2Fmruby-planet-matcher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/katzer","download_url":"https://codeload.github.com/katzer/mruby-planet-matcher/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245061376,"owners_count":20554563,"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-gem","orbit"],"created_at":"2025-01-28T12:37:58.164Z","updated_at":"2025-03-23T06:14:01.312Z","avatar_url":"https://github.com/katzer.png","language":"Ruby","readme":"# Planet matcher mgem for Orbit \u003cbr\u003e [![Build Status](https://travis-ci.com/katzer/mruby-planet-matcher.svg?branch=master)](https://travis-ci.com/katzer/mruby-planet-matcher) [![Maintainability](https://api.codeclimate.com/v1/badges/0b865e700cc7ae2a5863/maintainability)](https://codeclimate.com/github/katzer/mruby-planet-matcher/maintainability)\n\nSelect matching planets by a kind of flexible query syntax.\n\n```ruby\nPlanetMatcher.new('location:leipzig').match? 'location' =\u003e ['leipzig', 'halle']\n\n# =\u003e true\n```\n\nMatches the planet with exact same id:\n\n    id=mars\n\nMatches the planet with exact same id but ignores case-sensitive:\n\n    id:^(?i)mars$\n\nMatches any productive planet in Germany:\n\n    location:germany@env=prod\n\nMatches any productive planet out of Germany:\n\n    %location:germany@env=prod\n\n## Installation\n\nAdd the line below to your `build_config.rb`:\n\n```ruby\nMRuby::Build.new do |conf|\n  # ... (snip) ...\n  conf.gem 'mruby-planet-matcher', github: 'katzer/mruby-planet-matcher'\nend\n```\n\nOr add this line to your aplication's `mrbgem.rake`:\n\n```ruby\nMRuby::Gem::Specification.new('your-mrbgem') do |spec|\n  # ... (snip) ...\n  spec.add_dependency 'mruby-planet-matcher', github: 'katzer/mruby-planet-matcher'\nend\n```\n\n## Development\n\nClone the repo:\n    \n    $ git clone https://github.com/katzer/mruby-planet-matcher.git \u0026\u0026 cd mruby-planet-matcher/\n\nCompile the source:\n\n    $ rake compile\n\nRun the tests:\n\n    $ rake test\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/katzer/mruby-planet-matcher.\n\n1. Fork it\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 new Pull Request\n\n## License\n\nThe mgem is available as open source under the terms of the [MIT License][license].\n\nMade with :heart: in Leipzig\n\n© 2019 Sebastián Katzer\n\n[mruby]: https://github.com/mruby/mruby\n[license]: http://opensource.org/licenses/MIT\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkatzer%2Fmruby-planet-matcher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkatzer%2Fmruby-planet-matcher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkatzer%2Fmruby-planet-matcher/lists"}