{"id":26999874,"url":"https://github.com/mergentlabs/mergent-ruby","last_synced_at":"2025-04-04T03:18:18.855Z","repository":{"id":38273279,"uuid":"430494872","full_name":"mergentlabs/mergent-ruby","owner":"mergentlabs","description":"Ruby library for the Mergent API.","archived":false,"fork":false,"pushed_at":"2023-09-12T16:30:15.000Z","size":53,"stargazers_count":1,"open_issues_count":2,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-03-02T11:19:06.335Z","etag":null,"topics":["mergent","ruby"],"latest_commit_sha":null,"homepage":"https://mergent.co","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/mergentlabs.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-11-21T22:24:17.000Z","updated_at":"2023-07-21T23:08:28.000Z","dependencies_parsed_at":"2023-02-14T13:30:48.697Z","dependency_job_id":null,"html_url":"https://github.com/mergentlabs/mergent-ruby","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mergentlabs%2Fmergent-ruby","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mergentlabs%2Fmergent-ruby/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mergentlabs%2Fmergent-ruby/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mergentlabs%2Fmergent-ruby/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mergentlabs","download_url":"https://codeload.github.com/mergentlabs/mergent-ruby/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246847054,"owners_count":20843438,"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":["mergent","ruby"],"created_at":"2025-04-04T03:18:18.196Z","updated_at":"2025-04-04T03:18:18.832Z","avatar_url":"https://github.com/mergentlabs.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Mergent Ruby Library\n\n[![Gem Version](https://badge.fury.io/rb/mergent.svg)](https://badge.fury.io/rb/mergent)\n[![CI](https://github.com/mergentlabs/mergent-ruby/actions/workflows/ci.yml/badge.svg)](https://github.com/mergentlabs/mergent-ruby/actions/workflows/ci.yml)\n\nThe Mergent Ruby library provides convenient access to the Mergent API from\napplications written in the Ruby language.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem \"mergent\"\n```\n\nAnd then execute:\n\n    $ bundle install\n\nOr install it yourself as:\n\n    $ gem install mergent\n\n## Usage\n\nThe library needs to be configured with your project's API key. Set\n`Mergent.api_key` to its value:\n\n```ruby\n# set the Mergent API key\nMergent.api_key = \"...\"\n\n# create a Task\ntask = Mergent::Task.create({ request: { url: \"https://example.com\" } })\n\n# get the newly created Task's ID\ntask.id\n\n# create a Schedule\nschedule = Mergent::Schedule.create({ cron: \"0 8 * * *\", request: { url: \"https://example.com\" } })\n\n# get the newly created Schedule's cron schedule\nschedule.cron\n```\n\nSee the [Mergent Ruby docs](https://docs.mergent.co/libraries/ruby) for more\ndetails.\n\n## Development\n\nAfter checking out the repo, run `bundle` to install dependencies. Then, run\n`rake spec` to run the tests.\n\nTo install this gem onto your local machine, run `bundle exec rake install`.\n\nTo release a new version, update the changelog, bump the version number in\n`version.rb`, commit that change, and then run `bundle exec rake release`, which\nwill create a git tag for the version, push git commits and the created tag, and\npush the `.gem` file to [rubygems.org](https://rubygems.org).\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at\nhttps://github.com/mergentlabs/mergent-ruby.\n\n## Distributing\n\n1. Update the changelog in `CHANGELOG.md`\n1. Update the version in `lib/mergent/version.rb`\n1. Commit the version bump and tag using `git tag $VERSION`\n1. Push with `git push --tags`\n1. Build \u0026 publish with `rake release`\n\n## License\n\nThe gem is available as open source under the terms of the\n[MIT License](https://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmergentlabs%2Fmergent-ruby","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmergentlabs%2Fmergent-ruby","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmergentlabs%2Fmergent-ruby/lists"}