Verified Commit 138d20fb authored by paz's avatar paz

Fix using schleuder 3.x with ruby 2.7.

parent 516ccac3
Pipeline #33548 passed with stages
in 16 minutes and 37 seconds
......@@ -19,6 +19,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
* Ensure ASCII-8BIT as external encoding, this should ensure that plain text emails in different charsets can be parsed (#409)
* Handle incoming mails encrypted to an absent key, using symmetric encryption or containing PGP-garbage in a more graceful manner: Don't throw an exception, don't notify (and annoy) the admins, instead inform the sender of the mail how to do better. (#337)
* Add missing List-Id header to notification mails sent to admins. This should help with filtering such messages, which is currently not easy to do in a reliable way.
* Fix running Schleuder with ruby 2.7.
## [3.4.1] / 2019-09-16
......
......@@ -29,6 +29,11 @@ Gem::Specification.new do |s|
"mailing_list_uri" => "https://lists.nadir.org/mailman/listinfo/schleuder-announce/",
}
s.required_ruby_version = ">= 2.1.0"
# Explicitly depend on BigDecimal 1.4, because later versions are
# incompatible with activesupport 4.2, which is a dependency of activerecord 4.2.
if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new('2.7.0')
s.add_runtime_dependency 'bigdecimal', '~> 1.4'
end
s.add_runtime_dependency 'gpgme', '~> 2.0', '>= 2.0.19' # Explicitly include to force a version.
s.add_runtime_dependency 'mail', '~> 2.7.1'
s.add_runtime_dependency 'mail-gpg', '~> 0.3', '>= 0.3.3'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment