1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
|
# frozen_string_literal: true
lib = File.expand_path("lib", __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "bootsnap/version"
Gem::Specification.new do |spec|
spec.name = "bootsnap"
spec.version = Bootsnap::VERSION
spec.authors = ["Burke Libbey"]
spec.email = ["burke.libbey@shopify.com"]
spec.license = "MIT"
spec.summary = "Boot large ruby/rails apps faster"
spec.description = spec.summary
spec.homepage = "https://github.com/rails/bootsnap"
spec.metadata = {
"bug_tracker_uri" => "https://github.com/rails/bootsnap/issues",
"changelog_uri" => "https://github.com/rails/bootsnap/blob/main/CHANGELOG.md",
"source_code_uri" => "https://github.com/rails/bootsnap",
"allowed_push_host" => "https://rubygems.org",
}
spec.files = Dir.glob('lib/**') + Dir.glob('ext/**')
spec.require_paths = %w(lib)
spec.bindir = "exe"
spec.executables = %w(bootsnap)
spec.required_ruby_version = ">= 2.6.0"
if RUBY_PLATFORM =~ /java/
spec.platform = "java"
else
spec.platform = Gem::Platform::RUBY
spec.extensions = ["ext/bootsnap/extconf.rb"]
end
spec.add_runtime_dependency("msgpack", "~> 1.2")
end
|