From 1d90f8fcd61f3aff76e2da8d5870fc39fb710cdc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=A4fer?= Date: Thu, 11 Mar 2021 19:38:46 +0100 Subject: [PATCH] build!: drop support for ruby < 2.6.0 @thorsteneckel through try/error I found out that `net/http` gem has changed the argument errors in ruby v2.6 --- .travis.yml | 9 +++++---- threema.gemspec | 2 +- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 785f7ba..5b34de7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,10 +1,11 @@ sudo: false language: ruby rvm: - - 2.4.1 - - 2.3.1 - - 2.2.6 + - 2.6.6 + - 2.7.2 before_install: + - sudo apt-get update + - sudo apt-get install -y libsodium-dev - gem update --system - gem --version - - gem install bundler \ No newline at end of file + - gem install bundler diff --git a/threema.gemspec b/threema.gemspec index d4a107c..1977e35 100644 --- a/threema.gemspec +++ b/threema.gemspec @@ -15,7 +15,7 @@ Gem::Specification.new do |spec| spec.homepage = 'https://github.com/thorsteneckel/threema' spec.license = 'MIT' - spec.required_ruby_version = '>= 2.4' + spec.required_ruby_version = '>= 2.6.0' spec.files = Dir['{lib}/**/*'] spec.require_paths = ['lib']