multi_process.gemspec in multi_process-1.1.1 vs multi_process.gemspec in multi_process-1.2.0
- old
+ new
@@ -1,7 +1,8 @@
-# coding: utf-8
-lib = File.expand_path('../lib', __FILE__)
+# frozen_string_literal: true
+
+lib = File.expand_path('lib', __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'multi_process/version'
Gem::Specification.new do |spec|
spec.name = 'multi_process'
@@ -11,11 +12,14 @@
spec.summary = 'Handle multiple child processes.'
spec.description = 'Handle multiple child processes.'
spec.homepage = 'https://github.com/jgraichen/multi_process'
spec.license = 'GPLv3'
+ spec.metadata['rubygems_mfa_required'] = 'true'
+ spec.required_ruby_version = '>= 2.7'
+
spec.files = `git ls-files -z`.split("\x0")
- spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
+ spec.executables = spec.files.grep(%r{^bin/}) {|f| File.basename(f) }
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ['lib']
spec.add_runtime_dependency 'activesupport', '>= 3.1'
spec.add_runtime_dependency 'childprocess'