Thanks for helping improve ruby_api_pack_active_campaign. This gem is
maintained by PHCDevworks as a Ruby client for ActiveCampaign API helpers.
- Clone the repository.
- Install dependencies with
bundle install. - Configure test credentials with non-production values when needed:
export AC_API_URL="https://youraccountname.api-us1.com/api/3"
export AC_API_TOKEN="test-token"- Run
bundle exec rspec. - Run
bundle exec rubocop. - Build the gem with
gem build ruby_api_pack_active_campaign.gemspecwhen preparing a release or changing packaging metadata.
lib/ruby_api_pack_active_campaign.rb: public gem entry pointlib/ruby_api_pack_active_campaign/configuration.rb: API URL and token configurationlib/ruby_api_pack_active_campaign/connection/: HTTParty connection wrapperlib/ruby_api_pack_active_campaign/api/: ActiveCampaign API helper methodslib/ruby_api_pack_active_campaign/version.rb: gem versionspec/: RSpec coverage for configuration, connection, and API helpers
- Keep public helper names stable unless the change is intentionally breaking.
- Add or update focused specs for any endpoint path, HTTP verb, request body, or response behavior change.
- Keep ActiveCampaign SDK or HTTP access centralized in the connection layer.
- Pass payloads through in shapes that match ActiveCampaign's documented API.
- Update
README.mdwhen public usage changes.
- Keep token and base URL handling behind
RubyApiPackActiveCampaign.configure. - Do not log API tokens, request payloads with sensitive contact data, or full ActiveCampaign responses by default.
- Keep response parsing and error behavior covered by specs.
- Preserve backward compatibility unless the changelog and PR clearly classify a breaking change.
- Follow the repo's RuboCop configuration.
- Prefer small, pattern-aligned changes.
- Keep comments brief and only add them when they explain a non-obvious reason.
- Preserve unrelated local changes.
- Do not create commits, tags, releases, or publish gems unless explicitly asked by a maintainer.
Use this checklist when touching any public behavior surface:
lib/ruby_api_pack_active_campaign.rblib/ruby_api_pack_active_campaign/configuration.rblib/ruby_api_pack_active_campaign/connection/lib/ruby_api_pack_active_campaign/api/README.md
Before merge:
- Update or add focused specs.
- Run
bundle exec rspec. - Run
bundle exec rubocop. - Build with
gem build ruby_api_pack_active_campaign.gemspecwhen packaging metadata changed. - Update
README.mdif installation, configuration, endpoint, or usage guidance changed. - Update
CHANGELOG.mdunder[Unreleased]. - Classify the change as additive, behavior change, breaking, or docs/config only in the pull request.
- Confirm no ActiveCampaign API tokens, production account URLs, contact data, or other sensitive identifiers appear in logs, fixtures, docs, or examples.
- Keep the change focused.
- Fill out every section of
.github/pull_request_template.md. - Link an issue or write
N/A. - Include a concise summary and reviewer notes.
- Leave blocked checklist items unchecked with a short note.
For maintainers, a release should keep these records aligned:
- Update
lib/ruby_api_pack_active_campaign/version.rb. - Move relevant
CHANGELOG.md[Unreleased]notes into a dated version entry. - Run
bundle exec rspec. - Run
bundle exec rubocop. - Build the gem from the matching source state.
- Publish release notes from the matching changelog entry.
Open an issue if you need direction before making a larger change.
By participating in this project, you agree to follow the Code of Conduct.
By contributing, you agree that your contributions will be licensed under the MIT License.