-
Notifications
You must be signed in to change notification settings - Fork 2
/
alterity.gemspec
34 lines (26 loc) · 1.15 KB
/
alterity.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
# frozen_string_literal: true
lib = File.expand_path("lib", __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "alterity/version"
Gem::Specification.new do |spec|
spec.name = "alterity"
spec.version = Alterity::VERSION
spec.authors = ["Chris Maximin"]
spec.email = ["[email protected]"]
spec.licenses = ["MIT"]
spec.summary = "Execute your ActiveRecord migrations with Percona's pt-online-schema-change."
spec.description = spec.summary
spec.homepage = "https://github.com/gumroad/alterity"
spec.metadata["homepage_uri"] = spec.homepage
spec.metadata["source_code_uri"] = "https://github.com/gumroad/alterity"
spec.metadata["changelog_uri"] = "https://github.com/gumroad/alterity/blob/master/CHANGELOG.md"
spec.platform = Gem::Platform::RUBY
spec.required_ruby_version = ">= 2.7"
spec.files = Dir.chdir(File.expand_path(__dir__)) do
`git ls-files -z`.split("\x0").select { |f| f.match(%r{^(lib)/}) }
end
spec.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
spec.require_paths = ["lib"]
spec.add_runtime_dependency "mysql2", ">= 0.3"
spec.add_runtime_dependency "rails", ">= 6.1"
end