{"id":24755248,"url":"https://github.com/katzer/mruby-file-fnmatch","last_synced_at":"2025-03-23T06:13:59.617Z","repository":{"id":42198533,"uuid":"135170288","full_name":"katzer/mruby-file-fnmatch","owner":"katzer","description":"Path matching similar to shell filename globbing","archived":false,"fork":false,"pushed_at":"2024-08-28T18:25:01.000Z","size":24,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-01-28T12:41:25.051Z","etag":null,"topics":["fnmatcher","glob-pattern","mruby-gem"],"latest_commit_sha":null,"homepage":null,"language":"C","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":"2018-05-28T14:16:16.000Z","updated_at":"2024-08-28T18:25:04.000Z","dependencies_parsed_at":"2025-01-28T12:37:58.828Z","dependency_job_id":"d637054d-fb18-484c-af3c-4d876a150c09","html_url":"https://github.com/katzer/mruby-file-fnmatch","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-file-fnmatch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/katzer%2Fmruby-file-fnmatch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/katzer%2Fmruby-file-fnmatch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/katzer%2Fmruby-file-fnmatch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/katzer","download_url":"https://codeload.github.com/katzer/mruby-file-fnmatch/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245061378,"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":["fnmatcher","glob-pattern","mruby-gem"],"created_at":"2025-01-28T12:37:56.053Z","updated_at":"2025-03-23T06:13:59.582Z","avatar_url":"https://github.com/katzer.png","language":"C","readme":"# mruby-file-fnmatch \u003cbr\u003e [![Build Status](https://travis-ci.com/katzer/mruby-file-fnmatch.svg?branch=master)](https://travis-ci.com/katzer/mruby-file-fnmatch) [![Build status](https://ci.appveyor.com/api/projects/status/8ek1sfuw1jw4igpb/branch/master?svg=true)](https://ci.appveyor.com/project/katzer/mruby-file-fnmatch/branch/master)\n\nPath matching against patterns for [mruby][mruby] similar to shell filename globbing.\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-file-fnmatch'\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-file-fnmatch'\nend\n```\n\n## Usage\n\nThe pattern is not a regular expression; instead it follows rules similar to shell filename globbing.\n\n```ruby\nFile.fnmatch('**.rb', 'lib/song.rb')                 #=\u003e true\nFile.fnmatch('c{at,ub}s', 'cats', File::FNM_EXTGLOB) #=\u003e true\n```\n\nSee the [ruby doc][ruby_doc_fnmatch] for more info.\n\n## Development\n\nClone the repo:\n    \n    $ git clone https://github.com/katzer/mruby-file-fnmatch.git \u0026\u0026 cd mruby-file-fnmatch/\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-file-fnmatch.\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 :yum: in Leipzig\n\n© 2018 Sebastián Katzer\n\n[mruby]: https://github.com/mruby/mruby\n[ruby_doc_fnmatch]: https://ruby-doc.org/core-2.5.1/File.html#method-c-fnmatch\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-file-fnmatch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkatzer%2Fmruby-file-fnmatch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkatzer%2Fmruby-file-fnmatch/lists"}