forked from shayonj/pg-osc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pg_online_schema_change.gemspec
56 lines (49 loc) · 2.14 KB
/
pg_online_schema_change.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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# frozen_string_literal: true
require_relative "lib/pg_online_schema_change/version"
Gem::Specification.new do |spec|
spec.name = "pg_online_schema_change"
spec.version = PgOnlineSchemaChange::VERSION
spec.authors = ["Shayon Mukherjee"]
spec.email = ["[email protected]"]
spec.description =
"Easy CLI tool for making non-blocking zero downtime schema changes in PostgreSQL"
spec.summary = spec.description
spec.homepage = "https://github.com/shayonj/pg-osc"
spec.license = "MIT"
spec.required_ruby_version = ">= 2.7.0"
spec.metadata["homepage_uri"] = spec.homepage
spec.metadata["source_code_uri"] = spec.homepage
spec.metadata[
"changelog_uri"
] = "https://github.com/shayonj/pg_online_schema_change/blob/main/CODE_OF_CONDUCT.md"
# Specify which files should be added to the gem when it is released.
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
spec.files =
Dir.chdir(File.expand_path(__dir__)) do
`git ls-files -z`.split("\x0")
.reject do |f|
(f == __FILE__) ||
f.match(%r{\A(?:(?:test|spec|features)/|\.(?:git|travis|circleci)|appveyor)})
end
end
spec.bindir = "bin"
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]
spec.metadata = { "rubygems_mfa_required" => "true" }
spec.add_runtime_dependency("ougai", "~> 2.0.0")
spec.add_runtime_dependency("pg", ">= 1.3.2", "< 1.6.0")
spec.add_runtime_dependency("pg_query", ">= 2.1.3", "< 4.3.0")
spec.add_runtime_dependency("thor", "~> 1.2.1")
spec.add_development_dependency("prettier_print")
spec.add_development_dependency("pry")
spec.add_development_dependency("rake")
spec.add_development_dependency("rspec")
spec.add_development_dependency("rubocop")
spec.add_development_dependency("rubocop-packaging")
spec.add_development_dependency("rubocop-performance")
spec.add_development_dependency("rubocop-rake")
spec.add_development_dependency("rubocop-rspec")
spec.add_development_dependency("syntax_tree")
spec.add_development_dependency("syntax_tree-haml")
spec.add_development_dependency("syntax_tree-rbs")
end