-
Notifications
You must be signed in to change notification settings - Fork 58
/
babosa.gemspec
35 lines (29 loc) · 1.21 KB
/
babosa.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
# frozen_string_literal: true
require_relative "lib/babosa/version"
Gem::Specification.new do |s|
s.name = "babosa"
s.version = Babosa::Version::STRING
s.author = "Norman Clarke"
s.email = "norman@njclarke.com"
s.homepage = "http://github.com/norman/babosa"
s.required_ruby_version = ">= 2.5.0"
s.license = "MIT"
s.summary = "A library for creating slugs."
s.description = <<-TEXT
A library for creating slugs. Babosa an extraction and improvement of the
string code from FriendlyId, intended to help developers create similar
libraries or plugins.
TEXT
s.test_files = Dir.glob "test/**/*_test.rb"
s.files = Dir["lib/**/*.rb", "lib/**/*.rake", "*.md", "MIT-LICENSE",
"Rakefile", "init.rb", "generators/**/*.*", "spec/**/*.*", ".gemtest"]
s.add_development_dependency "rake"
s.add_development_dependency "rspec", ">= 3.7.0"
s.add_development_dependency "standard", ">= 1.1.7"
s.add_development_dependency "simplecov"
s.required_ruby_version = ">= 2.6.0"
s.cert_chain = [File.expand_path("certs/parndt.pem", __dir__)]
if $PROGRAM_NAME.end_with?("gem") && ARGV.include?("build") && ARGV.include?(__FILE__)
s.signing_key = File.expand_path("~/.ssh/gem-private_key.pem")
end
end