{"id":13879433,"url":"https://github.com/aaronmallen/activeinteractor","last_synced_at":"2025-09-05T06:31:38.517Z","repository":{"id":34345189,"uuid":"177323044","full_name":"aaronmallen/activeinteractor","owner":"aaronmallen","description":"An implementation of the command pattern for Ruby with ActiveModel::Validations inspired by the interactor gem. Rich support for attributes, callbacks, and validations, and thread safe performance methods.","archived":true,"fork":false,"pushed_at":"2024-12-29T23:21:41.000Z","size":482,"stargazers_count":173,"open_issues_count":3,"forks_count":11,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-03T10:51:29.680Z","etag":null,"topics":["command-pattern","interactor-rails","rails","ruby","ruby-interactors","rubygem","rubyonrails"],"latest_commit_sha":null,"homepage":"","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/aaronmallen.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":"FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["aaronmallen"]}},"created_at":"2019-03-23T18:02:38.000Z","updated_at":"2025-06-10T09:24:56.000Z","dependencies_parsed_at":"2024-12-31T21:04:16.596Z","dependency_job_id":"f22682b4-7fac-46b4-8f9a-bece3fb2248c","html_url":"https://github.com/aaronmallen/activeinteractor","commit_stats":{"total_commits":235,"total_committers":11,"mean_commits":"21.363636363636363","dds":0.5234042553191489,"last_synced_commit":"9460cfa5becae6a042337362da5371b20fa42d5b"},"previous_names":[],"tags_count":32,"template":false,"template_full_name":null,"purl":"pkg:github/aaronmallen/activeinteractor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aaronmallen%2Factiveinteractor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aaronmallen%2Factiveinteractor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aaronmallen%2Factiveinteractor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aaronmallen%2Factiveinteractor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aaronmallen","download_url":"https://codeload.github.com/aaronmallen/activeinteractor/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aaronmallen%2Factiveinteractor/sbom","scorecard":{"id":159331,"data":{"date":"2025-08-11","repo":{"name":"github.com/aaronmallen/activeinteractor","commit":"5f23132c2dcf8e8bbed098b8f243a0bd8375e55d"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.7,"checks":[{"name":"Code-Review","score":2,"reason":"Found 4/15 approved changesets -- score normalized to 2","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"project is archived","details":["Warn: Repository is archived."],"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy file detected: SECURITY.md:1","Info: Found linked content: SECURITY.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: SECURITY.md:1","Info: Found text in security policy: SECURITY.md:1"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/build_gem.yml:1","Warn: no topLevel permission defined: .github/workflows/ci.yml:1","Warn: no topLevel permission defined: .github/workflows/deploy.yml:1","Warn: no topLevel permission defined: .github/workflows/lint.yml:1","Warn: no topLevel permission defined: .github/workflows/test.yml:1","Warn: no topLevel permission defined: .github/workflows/upload_sarif.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build_gem.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/aaronmallen/activeinteractor/build_gem.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build_gem.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/aaronmallen/activeinteractor/build_gem.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/aaronmallen/activeinteractor/ci.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/aaronmallen/activeinteractor/ci.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:27: update your workflow using https://app.stepsecurity.io/secureworkflow/aaronmallen/activeinteractor/ci.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/deploy.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/aaronmallen/activeinteractor/deploy.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/deploy.yml:30: update your workflow using https://app.stepsecurity.io/secureworkflow/aaronmallen/activeinteractor/deploy.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/deploy.yml:31: update your workflow using https://app.stepsecurity.io/secureworkflow/aaronmallen/activeinteractor/deploy.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/deploy.yml:10: update your workflow using https://app.stepsecurity.io/secureworkflow/aaronmallen/activeinteractor/deploy.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/deploy.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/aaronmallen/activeinteractor/deploy.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/lint.yml:11: update your workflow using https://app.stepsecurity.io/secureworkflow/aaronmallen/activeinteractor/lint.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/lint.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/aaronmallen/activeinteractor/lint.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/aaronmallen/activeinteractor/test.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/test.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/aaronmallen/activeinteractor/test.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/upload_sarif.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/aaronmallen/activeinteractor/upload_sarif.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/upload_sarif.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/aaronmallen/activeinteractor/upload_sarif.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/upload_sarif.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/aaronmallen/activeinteractor/upload_sarif.yml/main?enable=pin","Warn: downloadThenRun not pinned by hash: .github/workflows/test.yml:39","Warn: downloadThenRun not pinned by hash: .github/workflows/test.yml:50","Warn: downloadThenRun not pinned by hash: .github/workflows/test.yml:51","Warn: downloadThenRun not pinned by hash: .github/workflows/test.yml:52","Warn: downloadThenRun not pinned by hash: .github/workflows/test.yml:53","Info:   0 out of   6 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of  11 third-party GitHubAction dependencies pinned","Info:   0 out of   5 downloadThenRun dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 28 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-16T12:53:49.522Z","repository_id":34345189,"created_at":"2025-08-16T12:53:49.522Z","updated_at":"2025-08-16T12:53:49.522Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273555462,"owners_count":25126316,"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","status":"online","status_checked_at":"2025-09-04T02:00:08.968Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["command-pattern","interactor-rails","rails","ruby","ruby-interactors","rubygem","rubyonrails"],"created_at":"2024-08-06T08:02:20.982Z","updated_at":"2025-09-05T06:31:38.011Z","avatar_url":"https://github.com/aaronmallen.png","language":"Ruby","readme":"# ActiveInteractor\n\n\u003e[!WARNING]\n\u003e This gem is no longer maintained. Please consider using\n\u003e [domainic-command](https://github.com/domainic/domainic/tree/main/domainic-command) as an alternative.\n\n[![Version](https://img.shields.io/gem/v/activeinteractor.svg?logo=ruby)](https://rubygems.org/gems/activeinteractor)\n[![Build Status](https://github.com/aaronmallen/activeinteractor/workflows/Build/badge.svg)](https://github.com/aaronmallen/activeinteractor/actions)\n[![Maintainability](https://api.codeclimate.com/v1/badges/2f1cb318f681a1eebb27/maintainability)](https://codeclimate.com/github/aaronmallen/activeinteractor/maintainability)\n[![Test Coverage](https://api.codeclimate.com/v1/badges/2f1cb318f681a1eebb27/test_coverage)](https://codeclimate.com/github/aaronmallen/activeinteractor/test_coverage)\n[![Yard Docs](http://img.shields.io/badge/yard-docs-blue.svg)](https://www.rubydoc.info/gems/activeinteractor)\n[![Inline docs](http://inch-ci.org/github/aaronmallen/activeinteractor.svg?branch=main)](http://inch-ci.org/github/aaronmallen/activeinteractor)\n[![License](https://img.shields.io/github/license/aaronmallen/activeinteractor.svg?maxAge=300)](https://github.com/aaronmallen/activeinteractor/blob/main/LICENSE)\n\nAn implementation of the [command pattern] for Ruby with [ActiveModel::Validations] inspired by the\n[interactor][collective_idea_interactors] gem. Rich support for attributes, callbacks, and validations,\nand thread safe performance methods.\n\nReduce controller bloat with procedural service objects. Checkout this [Medium article] for a crash\ncourse on how to use ActiveInteractors. Read the [wiki] for detailed usage information.\n\n## Features\n\n* [Context validation][wiki_context_validation]\n* [Callbacks][wiki_callbacks]\n* Thread safe performance calls\n* Organize multiple interactors [conditionally][wiki_organizers_conditionally] or in [parallel][wiki_organizers_parallel]\n\n## Documentation\n\nBe sure to read the [wiki] for detailed information on how to use ActiveInteractor.\n\nFor technical documentation please see the gem's [ruby docs].\n\n## Install\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'activeinteractor', require: 'active_interactor'\n```\n\nOr install it yourself as:\n\n```sh\ngem install activeinteractor\n```\n\n## Contributing\n\nRead our guidelines for [Contributing](CONTRIBUTING.md).\n\n## Acknowledgements\n\nActiveInteractor is made possible by wonderful [humans].\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License][mit_license].\n\n[ActiveModel::Validations]: https://api.rubyonrails.org/classes/ActiveModel/Validations.html\n[business_logic_wikipedia]: https://en.wikipedia.org/wiki/Business_logic\n[collective_idea_interactors]: https://github.com/collectiveidea/interactor\n[command pattern]: https://en.wikipedia.org/wiki/Command_pattern\n[humans]: https://github.com/aaronmallen/activeinteractor/tree/main/HUMANS.md\n[Medium article]: https://medium.com/@aaronmallen/activeinteractor-8557c0dc78db\n[mit_license]: https://opensource.org/licenses/MIT\n[ruby docs]: https://www.rubydoc.info/gems/activeinteractor\n[wiki]: https://github.com/aaronmallen/activeinteractor/wiki\n[wiki_callbacks]: https://github.com/aaronmallen/activeinteractor/wiki/Callbacks\n[wiki_context_validation]: https://github.com/aaronmallen/activeinteractor/wiki/Context#validating-the-context\n[wiki_organizers_conditionally]: https://github.com/aaronmallen/activeinteractor/wiki/Interactors#organizing-interactors-conditionally\n[wiki_organizers_parallel]: https://github.com/aaronmallen/activeinteractor/wiki/Interactors#running-interactors-in-parallel\n","funding_links":["https://github.com/sponsors/aaronmallen"],"categories":["Ruby"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faaronmallen%2Factiveinteractor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faaronmallen%2Factiveinteractor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faaronmallen%2Factiveinteractor/lists"}