-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathattr_default.gemspec
More file actions
26 lines (20 loc) · 1.07 KB
/
attr_default.gemspec
File metadata and controls
26 lines (20 loc) · 1.07 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
# frozen_string_literal: true
require_relative 'lib/attr_default/version'
Gem::Specification.new do |gem|
gem.name = "attr_default"
gem.require_paths = ["lib"]
gem.version = AttrDefault::VERSION
gem.authors = ["Invoca Development"]
gem.email = ["development@invoca.com"]
gem.description = %q{Dynamic Ruby defaults for ActiveRecord attributes}
gem.summary = %q{Dynamic Ruby defaults for ActiveRecord attributes. These are lazy evaluated just in time: when first accessed, or just before validation or save. This allows dynamic defaults to depend on attributes that are assigned after initialization, or on other dynamic defaults.}
gem.homepage = "https://github.com/Invoca/attr_default"
gem.metadata = {
'allowed_push_host' => 'https://rubygems.org'
}
gem.files = `git ls-files`.split($\)
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
gem.test_files = gem.files.grep(%r{^(test|spec|features)/.*\.rb})
gem.required_ruby_version = '>= 3.1'
gem.add_dependency 'rails', '>= 6.0'
end