Skip to content

Commit

Permalink
Fix failing legacy tests (#155)
Browse files Browse the repository at this point in the history
## What

Addresses
[error](https://app.circleci.com/pipelines/github/ActiveCampaign/postmark-gem/197/workflows/a222aad0-e4e7-41a1-a9ea-f17d7100d2fd/jobs/2173)
seen in old ruby versions since #151 :

```
[!] There was an error parsing `Gemfile.legacy`: 
[!] There was an error while loading `postmark.gemspec`: undefined method `metadata' for #<Gem::Specification:0x2e5d6c8>. Bundler cannot continue.
```
  • Loading branch information
balvig authored Jun 19, 2024
1 parent 037247e commit 05e56f7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion postmark.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ Gem::Specification.new do |s|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
s.require_paths = ["lib"]

s.metadata["changelog_uri"] = "https://github.com/ActiveCampaign/postmark-gem/blob/main/CHANGELOG.rdoc"
if s.respond_to?(:metadata) # not supported in Bundler/Ruby 1.x
s.metadata["changelog_uri"] = "https://github.com/ActiveCampaign/postmark-gem/blob/main/CHANGELOG.rdoc"
end

s.post_install_message = %q{
==================
Expand Down

0 comments on commit 05e56f7

Please sign in to comment.