From f26fc030ab9e11c3ed010698e1fbce20a1e1a92c Mon Sep 17 00:00:00 2001 From: Mattia Roccoberton Date: Sat, 26 Mar 2022 18:02:07 +0100 Subject: [PATCH] Set minimum Ruby version to 2.6.0 and enable MFA --- .github/workflows/specs.yml | 2 +- activeadmin_quill_editor.gemspec | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/specs.yml b/.github/workflows/specs.yml index b240719..0c75011 100644 --- a/.github/workflows/specs.yml +++ b/.github/workflows/specs.yml @@ -13,7 +13,7 @@ jobs: strategy: matrix: - ruby: ['2.5', '2.6', '2.7'] + ruby: ['2.6', '2.7'] steps: - name: Checkout diff --git a/activeadmin_quill_editor.gemspec b/activeadmin_quill_editor.gemspec index 86adfe2..6099078 100644 --- a/activeadmin_quill_editor.gemspec +++ b/activeadmin_quill_editor.gemspec @@ -14,6 +14,12 @@ Gem::Specification.new do |spec| spec.email = 'mat@blocknot.es' spec.homepage = 'https://github.com/blocknotes/activeadmin_quill_editor' + spec.required_ruby_version = '>= 2.6.0' + + spec.metadata['homepage_uri'] = spec.homepage + spec.metadata['source_code_uri'] = spec.homepage + spec.metadata['rubygems_mfa_required'] = 'true' + spec.files = Dir['{app,lib}/**/*', 'LICENSE.txt', 'Rakefile', 'README.md'] spec.require_paths = ['lib']