Files
openfoodnetwork/engines/web/web.gemspec
Maikel Linke a01aa8849c Add Ruby version to engines for Rubocop
> This ensures that RuboCop is using the same Ruby version as the gem.

https://www.rubydoc.info/gems/rubocop/RuboCop/Cop/Gemspec/RequiredRubyVersion
2023-07-21 14:13:26 +10:00

18 lines
514 B
Ruby

# frozen_string_literal: true
$LOAD_PATH.push File.expand_path('lib', __dir__)
require "web/version"
Gem::Specification.new do |s|
s.name = "web"
s.version = Web::VERSION
s.authors = ["developers@ofn"]
s.summary = "Web domain of the OFN solution."
s.required_ruby_version = File.read(File.expand_path("../../.ruby-version", __dir__)).chomp
s.files = Dir["{app,config,db,lib}/**/*"] + ["LICENSE.txt", "Rakefile", "README.rdoc"]
s.metadata['rubygems_mfa_required'] = 'true'
end