-
Notifications
You must be signed in to change notification settings - Fork 0
/
seed_builder.gemspec
42 lines (34 loc) · 1.6 KB
/
seed_builder.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
Gem::Specification.new do |gem|
gem.name = "seed_builder"
gem.version = File.read(File.expand_path("../lib/seed_builder.rb", __FILE__)).match(/VERSION\s*=\s*"(.*?)"/)[1]
repository_url = "https://github.com/amkisko/seed_builder.rb"
root_files = %w[CHANGELOG.md LICENSE.md README.md]
root_files << "#{gem.name}.gemspec"
gem.license = "MIT"
gem.platform = Gem::Platform::RUBY
gem.authors = ["Andrei Makarov"]
gem.email = ["[email protected]"]
gem.homepage = repository_url
gem.summary = "Seed builder with loader and generator"
gem.description = "Extension for ActiveRecord to organize seeds in a directory and generate them as migrations"
gem.metadata = {
"homepage" => repository_url,
"source_code_uri" => repository_url,
"bug_tracker_uri" => "#{repository_url}/issues",
"changelog_uri" => "#{repository_url}/blob/main/CHANGELOG.md",
"rubygems_mfa_required" => "true"
}
gem.files = `git ls-files`.split("\n")
gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
gem.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }
gem.required_ruby_version = ">= 3"
gem.require_paths = ["lib"]
gem.add_dependency "rails", ">= 6", "< 8.1"
gem.add_dependency "activerecord", ">= 6", "< 8.1"
gem.add_development_dependency "bundler", "~> 2"
gem.add_development_dependency "rspec", "~> 3"
gem.add_development_dependency "rspec_junit_formatter", "~> 0.6"
gem.add_development_dependency "simplecov", "~> 0.21"
gem.add_development_dependency "simplecov-cobertura", "~> 2"
gem.add_development_dependency "sqlite3", "~> 2.4"
end