-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathannotato.gemspec
More file actions
34 lines (26 loc) · 1.26 KB
/
annotato.gemspec
File metadata and controls
34 lines (26 loc) · 1.26 KB
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
require_relative "lib/annotato/version"
Gem::Specification.new do |spec|
spec.name = "annotato"
spec.version = Annotato::VERSION
spec.authors = ["Serhii Bodnaruk"]
spec.email = ["sergiwez@gmail.com"]
spec.summary = "Rails model annotator"
spec.description = "Annotato automatically adds or updates comments at the end of your Rails models to show schema details like columns, indexes, and PostgreSQL triggers."
spec.homepage = "https://github.com/boserh/annotato"
spec.license = "MIT"
spec.required_ruby_version = ">= 3.1.0"
spec.metadata["allowed_push_host"] = "https://rubygems.org"
spec.metadata["homepage_uri"] = spec.homepage
spec.metadata["source_code_uri"] = "https://github.com/boserh/annotato"
spec.metadata["changelog_uri"] = "https://github.com/boserh/annotato/blob/main/CHANGELOG.md"
spec.files = Dir.chdir(File.expand_path(__dir__)) do
`git ls-files -z`.split("\x0").reject do |f|
f.match(%r{^(test|spec|features)/}) || f.start_with?(".github")
end
end
spec.bindir = "exe"
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]
spec.add_dependency "rails", ">= 6.0"
end