-
Notifications
You must be signed in to change notification settings - Fork 183
/
bootsnap.gemspec
42 lines (32 loc) · 1.26 KB
/
bootsnap.gemspec
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 = ["[email protected]"]
spec.license = "MIT"
spec.summary = "Boot large ruby/rails apps faster"
spec.description = spec.summary
spec.homepage = "https://github.com/Shopify/bootsnap"
spec.metadata = {
"bug_tracker_uri" => "https://github.com/Shopify/bootsnap/issues",
"changelog_uri" => "https://github.com/Shopify/bootsnap/blob/main/CHANGELOG.md",
"source_code_uri" => "https://github.com/Shopify/bootsnap",
"allowed_push_host" => "https://rubygems.org",
}
spec.files = `git ls-files -z ext lib`.split("\x0") + %w(CHANGELOG.md LICENSE.txt README.md)
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