Skip to content

Fix default assignment to use env variables#2

Merged
f19ps merged 2 commits intomainfrom
fix/default-env-use
Apr 14, 2025
Merged

Fix default assignment to use env variables#2
f19ps merged 2 commits intomainfrom
fix/default-env-use

Conversation

@micaelalorenzo
Copy link
Contributor

Description

The default values for mailcat_api_key and mailcat_url were returning nil because the env variables hadn’t been loaded yet. I changed the default to a proc so they’re only evaluated when needed, ensuring the env variables are accessible by that time.


Notes

N/A

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

Copy link
Contributor

@nerlichman nerlichman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we increase the patch version number and push a new version of the gem?

@f19ps f19ps merged commit 6a438df into main Apr 14, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants