-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy pathliquid-c.gemspec
executable file
·33 lines (26 loc) · 1.27 KB
/
liquid-c.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
# coding: utf-8
# frozen_string_literal: true
lib = File.expand_path("../lib", __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "liquid/c/version"
Gem::Specification.new do |spec|
spec.name = "liquid-c"
spec.version = Liquid::C::VERSION
spec.authors = ["Justin Li", "Dylan Thacker-Smith"]
spec.email = ["[email protected]"]
spec.summary = "Liquid performance extension in C"
spec.homepage = "https://github.com/shopify/liquid-c"
spec.license = "MIT"
spec.extensions = ["ext/liquid_c/extconf.rb"]
spec.files = %x(git ls-files -z).split("\x0")
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]
spec.required_ruby_version = ">= 3.0.0"
spec.metadata["allowed_push_host"] = "https://rubygems.org"
spec.add_dependency("liquid", ">= 5.0.1")
spec.add_development_dependency("bundler", ">= 1.5") # has bugfix for segfaulting deploys
spec.add_development_dependency("minitest")
spec.add_development_dependency("rake")
spec.add_development_dependency("rake-compiler")
spec.add_development_dependency("stackprof") if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new("2.1.0") # rubocop:disable Gemspec/RubyVersionGlobalsUsage
end