{"id":14969808,"url":"https://github.com/epergo/spree_promotion_codes","last_synced_at":"2026-01-22T02:03:38.682Z","repository":{"id":59156093,"uuid":"72185630","full_name":"epergo/spree_promotion_codes","owner":"epergo","description":"Allow your spree ecommerce to have multiple codes per promotion","archived":false,"fork":false,"pushed_at":"2023-02-19T16:45:23.000Z","size":49,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-11-30T03:37:24.496Z","etag":null,"topics":["extension","promotions","rails","solidus","spree","spree-extension"],"latest_commit_sha":null,"homepage":"https://rubygems.org/gems/spree_promotion_codes","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/epergo.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":"2016-10-28T07:45:08.000Z","updated_at":"2025-07-30T08:03:52.000Z","dependencies_parsed_at":"2024-09-23T05:41:14.804Z","dependency_job_id":null,"html_url":"https://github.com/epergo/spree_promotion_codes","commit_stats":{"total_commits":50,"total_committers":2,"mean_commits":25.0,"dds":"0.33999999999999997","last_synced_commit":"7431eef41ab45274dad8919fe4996153a3fb56cb"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/epergo/spree_promotion_codes","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epergo%2Fspree_promotion_codes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epergo%2Fspree_promotion_codes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epergo%2Fspree_promotion_codes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epergo%2Fspree_promotion_codes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/epergo","download_url":"https://codeload.github.com/epergo/spree_promotion_codes/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epergo%2Fspree_promotion_codes/sbom","scorecard":{"id":378884,"data":{"date":"2025-08-11","repo":{"name":"github.com/epergo/spree_promotion_codes","commit":"7431eef41ab45274dad8919fe4996153a3fb56cb"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"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":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"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":"Code-Review","score":0,"reason":"Found 0/29 approved changesets -- score normalized to 0","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":"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":"Dangerous-Workflow","score":-1,"reason":"no workflows found","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":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"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":"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":"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":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"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":"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":"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":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"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 2 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-18T14:56:15.532Z","repository_id":59156093,"created_at":"2025-08-18T14:56:15.532Z","updated_at":"2025-08-18T14:56:15.532Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28650605,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-22T01:17:37.254Z","status":"online","status_checked_at":"2026-01-22T02:00:07.137Z","response_time":144,"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":["extension","promotions","rails","solidus","spree","spree-extension"],"created_at":"2024-09-24T13:42:25.459Z","updated_at":"2026-01-22T02:03:38.666Z","avatar_url":"https://github.com/epergo.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"SpreePromotionCodes\n===================\n\u003ca href=\"https://codeclimate.com/github/epergo/spree_promotion_codes\"\u003e\u003cimg src=\"https://codeclimate.com/github/epergo/spree_promotion_codes/badges/gpa.svg\"\n/\u003e\u003c/a\u003e\n\u003ca\nhref=\"https://codeclimate.com/github/epergo/spree_promotion_codes/coverage\"\u003e\u003cimg\nsrc=\"https://codeclimate.com/github/epergo/spree_promotion_codes/badges/coverage.svg\"\n/\u003e\u003c/a\u003e\n\u003ca href=\"https://travis-ci.org/epergo/spree_promotion_codes\"\u003e\u003cimg\nsrc=\"https://travis-ci.org/epergo/spree_promotion_codes.svg?branch=master\"/\u003e\u003c/a\u003e\n\nSpree extension to allow promotions to be reedemed with more than 1 code\n\n## Installation\n\n1. Add this extension to your Gemfile with this line:\n  ```ruby\n  gem 'spree_promotion_codes', github: 'epergo/spree_promotion_codes', branch: '3-0-stable'\n  ```\n2. Install the gem using Bundler:\n  ```ruby\n  bundle install\n  ```\n\n3. Copy \u0026 run migrations\n  ```ruby\n  bundle exec rails g spree_promotion_codes:install\n  ```\n\n4. Restart your server\n\n  If your server was running, restart it so that it can find the assets properly.\n\n## Testing\n\nFirst bundle your dependencies, then run `rake`. `rake` will default to building the dummy app if it does not exist, then it will run specs. The dummy app can be regenerated by using `rake test_app`.\n\n```shell\nbundle\nbundle exec rake\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fepergo%2Fspree_promotion_codes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fepergo%2Fspree_promotion_codes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fepergo%2Fspree_promotion_codes/lists"}