From 06ba232de7a7445db228b3b32ae0d54bed69f1e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=A4fer?= Date: Thu, 23 May 2024 15:59:59 +0530 Subject: [PATCH] build: remove version constraint on active-support Motivation ---------- This will require the Active Support Core extensions when needed. https://guides.rubyonrails.org/active_support_core_extensions.html I think it's fine to lift the version constraint altogether. How to test ----------- 1. `bundle install` 2. `bundle exec rake` 3. Tests pass (on my machine one test fails, but that's unrelated) --- lib/threema/send.rb | 2 ++ threema.gemspec | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/threema/send.rb b/lib/threema/send.rb index 954632f..7d8d31e 100644 --- a/lib/threema/send.rb +++ b/lib/threema/send.rb @@ -1,4 +1,6 @@ # frozen_string_literal: true +require 'active_support' +require "active_support/core_ext" require 'threema/exceptions' require 'threema/send/simple' diff --git a/threema.gemspec b/threema.gemspec index 464d48d..8fe5b21 100644 --- a/threema.gemspec +++ b/threema.gemspec @@ -21,7 +21,7 @@ Gem::Specification.new do |spec| spec.files = Dir['{lib}/**/*'] spec.require_paths = ['lib'] - spec.add_runtime_dependency 'activesupport', '<= 7.0.8' + spec.add_runtime_dependency 'activesupport' spec.add_runtime_dependency 'dotenv' spec.add_runtime_dependency 'mimemagic' spec.add_runtime_dependency 'mime-types'