-
Notifications
You must be signed in to change notification settings - Fork 0
/
activerecord-null.gemspec
29 lines (23 loc) · 1.08 KB
/
activerecord-null.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
# frozen_string_literal: true
require_relative "lib/activerecord/null/version"
Gem::Specification.new do |spec|
spec.name = "activerecord-null"
spec.version = ActiveRecord::Null::VERSION
spec.authors = ["Jim Gay"]
spec.email = ["[email protected]"]
spec.summary = "Null Objects for ActiveRecord"
spec.description = "Create Null Objects for ActiveRecord models with automatic support for empty associations."
spec.homepage = "https://github.com/SOFware/activerecord-null"
spec.required_ruby_version = ">= 3.0.0"
spec.metadata["homepage_uri"] = spec.homepage
spec.metadata["source_code_uri"] = spec.homepage
spec.metadata["changelog_uri"] = "#{spec.homepage}/blob/main/CHANGELOG.md"
# Specify which files should be added to the gem when it is released.
spec.files = Dir.chdir(File.expand_path(__dir__)) do
Dir["{lib,test}/**/*", "Rakefile", "README.md", "LICENSE.txt", "CHANGELOG.md"]
end
spec.bindir = "exe"
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]
spec.add_dependency "activerecord", ">= 7.0"
end