{"id":18410922,"url":"https://github.com/packsaddle/ruby-parse_gemspec-cli","last_synced_at":"2025-07-24T14:34:44.448Z","repository":{"id":43366673,"uuid":"42853537","full_name":"packsaddle/ruby-parse_gemspec-cli","owner":"packsaddle","description":"CLI for parsing *.gemspec file. Convert to JSON format.","archived":false,"fork":false,"pushed_at":"2022-03-05T11:42:02.000Z","size":54,"stargazers_count":2,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-22T16:52:49.810Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://packsaddle.org/  ","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/packsaddle.png","metadata":{"files":{"readme":"README.md","changelog":"changelog.md","contributing":null,"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":"2015-09-21T08:26:44.000Z","updated_at":"2023-06-04T09:40:54.000Z","dependencies_parsed_at":"2022-08-20T16:00:13.459Z","dependency_job_id":null,"html_url":"https://github.com/packsaddle/ruby-parse_gemspec-cli","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/packsaddle%2Fruby-parse_gemspec-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/packsaddle%2Fruby-parse_gemspec-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/packsaddle%2Fruby-parse_gemspec-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/packsaddle%2Fruby-parse_gemspec-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/packsaddle","download_url":"https://codeload.github.com/packsaddle/ruby-parse_gemspec-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247637351,"owners_count":20971108,"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":[],"created_at":"2024-11-06T03:34:22.444Z","updated_at":"2025-04-07T10:32:33.736Z","avatar_url":"https://github.com/packsaddle.png","language":"Ruby","readme":"# ParseGemspec::Cli\n\n[![Gem version][gem-image]][gem-url] [![CI Status][ci-image]][ci-url]\n\n\u003e CLI for parsing *.gemspec file. Convert to JSON format.\n\nSee [parse_gemspec](https://rubygems.org/gems/parse_gemspec) ([repo](https://github.com/packsaddle/ruby-parse_gemspec)) for the programmatic API.\n\n\n## Usage\n\n```bash\n$ parse-gemspec-cli\nCommands:\n  parse-gemspec-cli help [COMMAND]      # Describe available commands or one specific command\n  parse-gemspec-cli [parse] GEMSPEC_PATH  # Parse *.gemspec\n  parse-gemspec-cli version             # Show the ParseGemspec::Cli version\n```\n\n\n## Example\n\n### Pretty print\n\n```bash\n$ parse-gemspec-cli checkstyle_filter-git.gemspec | jq .\n{\n  \"name\": \"checkstyle_filter-git\",\n  \"version\": \"1.0.3.pre.beta\",\n  \"homepage\": \"https://github.com/packsaddle/ruby-checkstyle_filter-git\"\n}\n```\n\n\n### Use from another language\n\n```js\n// javascript\n'use strict';\nvar execSync = require('child_process').execSync;\nvar gemspec = JSON.parse(execSync('bundle exec parse-gemspec-cli parse_gemspec-cli.gemspec'));\n\nmodule.exports = {\n  version: gemspec.version\n};\n```\n\nActual example [.conventional-changelog.context.js](./.conventional-changelog.context.js).\n\n## Changelog\n\n[changelog.md](./changelog.md).\n\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'parse_gemspec-cli'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install parse_gemspec-cli\n\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` 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\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/packsaddle/ruby-parse_gemspec-cli. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](contributor-covenant.org) code of conduct.\n\n\n## License\n\n© [sanemat](http://sane.jp)\n\nThe gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).\n\n[ci-url]: https://circleci.com/gh/packsaddle/ruby-parse_gemspec-cli\n[ci-image]: https://img.shields.io/circleci/build/github/packsaddle/ruby-parse_gemspec-cli?style=flat-square\n[gem-url]: https://rubygems.org/gems/parse_gemspec-cli\n[gem-image]: http://img.shields.io/gem/v/parse_gemspec-cli.svg?style=flat-square\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpacksaddle%2Fruby-parse_gemspec-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpacksaddle%2Fruby-parse_gemspec-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpacksaddle%2Fruby-parse_gemspec-cli/lists"}