-
Notifications
You must be signed in to change notification settings - Fork 6
[DIST-20437] Version change for muffin_man #99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
[DIST-20437] Version change for muffin_man #99
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR corrects the query parameter name from PostedBefore to postedBefore for the Finances API endpoints. Key changes include:
- Updating the stub method in spec/support/finances/stub_finances.rb to conditionally append the postedBefore parameter.
- Updating tests in spec/muffin_man/finances/v20240619_spec.rb to pass the additional posted_before argument.
- Bumping the version and updating documentation in README.md and CHANGELOG.md.
Reviewed Changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.
Show a summary per file
File | Description |
---|---|
spec/support/finances/stub_finances.rb | Modified stub definition to include posted_before in the URL when provided. |
spec/muffin_man/finances/v20240619_spec.rb | Updated test cases to supply posted_before to match the modified stub. |
lib/muffin_man/version.rb | Bumped version to 2.4.14 reflecting the new changes. |
README.md | Documented the addition of Finances API v2024-06-19 support. |
CHANGELOG.md | Logged changes for version 2.4.14, including the query parameter fix. |
def stub_list_financial_transactions(posted_after:) | ||
stub_request(:get, "https://#{hostname}/finances/2024-06-19/transactions?postedAfter=#{posted_after}") | ||
def stub_list_financial_transactions(posted_after:, posted_before: nil) | ||
# stub_request(:get, "https://#{hostname}/finances/2024-06-19/transactions?postedAfter=#{posted_after}") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✂️
f819533
to
490465c
Compare
Version change for muffin_man
updating documentation in README.md and CHANGELOG.md
Ticket:
https://app.clickup.com/t/2323726/DIST-20437
Changes also done through the below pr:
#98