{"id":23249568,"url":"https://github.com/wizardone/recurr","last_synced_at":"2025-04-06T01:24:21.828Z","repository":{"id":68987458,"uuid":"109375577","full_name":"wizardone/recurr","owner":"wizardone","description":"Recurring events for...Rails?","archived":false,"fork":false,"pushed_at":"2018-03-02T12:41:41.000Z","size":66,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-12T07:29:41.693Z","etag":null,"topics":["events","recurring","ruby"],"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/wizardone.png","metadata":{"files":{"readme":"README.md","changelog":null,"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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-11-03T09:12:56.000Z","updated_at":"2023-03-09T04:20:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"18ffa4e1-edae-4978-a6f4-6fd952b55985","html_url":"https://github.com/wizardone/recurr","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/wizardone%2Frecurr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wizardone%2Frecurr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wizardone%2Frecurr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wizardone%2Frecurr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wizardone","download_url":"https://codeload.github.com/wizardone/recurr/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247422050,"owners_count":20936408,"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":["events","recurring","ruby"],"created_at":"2024-12-19T08:19:58.021Z","updated_at":"2025-04-06T01:24:21.791Z","avatar_url":"https://github.com/wizardone.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Recurr\n[![Build Status](https://travis-ci.org/wizardone/recurr.svg?branch=master)](https://travis-ci.org/wizardone/recurr)\n\nRecurr allows you to manage recurring events in a Rails application\n(ouch!)\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'recurr'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install recurr\n\n## Usage\n1. First run the generator to copy the necessary migration.\n\n2. Run the migration with `rake db:migrate`.\n\n3. You can configure the behavior of Raterr:\n```ruby\n  Raterr.configure do |config|\n    config.adapter = :activerecord\n    config.event_table_name = 'recurring_events'\n  end\n```\n\n3. Let's say you have a `PaymentEvent` job and you want it to be recurring.\n\n```ruby\nclass PaymentEvent \u003c ApplicationJob\n  include Recurr::Adapters::ActiveRecord\n\n  recurr :daily\n  # Perform event every day at 18 o'clock\n  recurr :daily, at: 18\n  #Perform every week on tuesday(day 2) at 13 o'clock\n  recurr :weekly, on: 2, at: 13\n  # Perform event every month on the 10th at 14 o'clock\n  recurr :monthly, on: 10, at: 14\n  # Perform event every new year at midnight\n  recurr :monthly, on: 31, if: -\u003e { month.is_a?('December') }\n\n  def perform(*args)\n    # Perform something stupid...\n  end\nend\n```\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/wizardonee/recurr. 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\n## License\n\nThe gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwizardone%2Frecurr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwizardone%2Frecurr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwizardone%2Frecurr/lists"}