Skip to content
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

Fix failing specs caused by latest version of mail gem #135

Merged
merged 1 commit into from
Dec 13, 2022

Conversation

balvig
Copy link
Contributor

@balvig balvig commented Dec 13, 2022

What

Locks the mail dependency to ~> 2.7.0

Why

v 2.8.0 of the mail gem is causing tests to fail.

Currently investigating here mikel/mail#1539, but since it's just a development dependency we can lock the version to get CI back to green for now.

@balvig balvig force-pushed the jb/fix-failing-specs-caused-by-latest-version-of-mail- branch from c7c8381 to 0371aec Compare December 13, 2022 14:50
@balvig balvig requested review from pgraham3 and tomek-ac December 13, 2022 14:50
@balvig balvig force-pushed the jb/fix-failing-specs-caused-by-latest-version-of-mail- branch from 0371aec to 53090f1 Compare December 13, 2022 14:52
@balvig balvig marked this pull request as ready for review December 13, 2022 14:59
@balvig balvig merged commit 378773c into main Dec 13, 2022
@balvig balvig deleted the jb/fix-failing-specs-caused-by-latest-version-of-mail- branch December 13, 2022 14:59
@balvig balvig mentioned this pull request Oct 10, 2023
balvig added a commit that referenced this pull request Oct 10, 2023
## What

Fixes ree-1.8.7 failing with the following [error
message](https://app.circleci.com/pipelines/github/ActiveCampaign/postmark-gem/159/workflows/8b08b5e9-d14a-4b54-9424-17972724573c/jobs/1728):

```
mini_mime-1.1.5 requires ruby version >= 2.6.0, which is incompatible with the
current version, ruby 1.8.7p374
```

## How

Locks the `mini_mime` dependency of `mail` to a slightly older version.
Both of them are development dependencies. 
The issue in #135 is
still a blocker.
balvig added a commit that referenced this pull request Oct 11, 2023
## What

Alternate workaround to #135 and #143.

## Why

While there still seems to be an [issue with `add_mail` "clearing"
`body`,](mikel/mail#1539) instead of locking the
gem for all ruby version and making it difficult to test newer ones, we
can limit the version restrictions to legacy version and use this
workaround of flipping the order for Ruby 2.x.
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.

1 participant