mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-25 20:46:48 +00:00
> This ensures that RuboCop is using the same Ruby version as the gem. https://www.rubydoc.info/gems/rubocop/RuboCop/Cop/Gemspec/RequiredRubyVersion
18 lines
514 B
Ruby
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
|