-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathactivemodel_extras.gemspec
More file actions
38 lines (30 loc) · 1.53 KB
/
activemodel_extras.gemspec
File metadata and controls
38 lines (30 loc) · 1.53 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
35
36
37
38
# frozen_string_literal: true
require_relative "lib/active_model_extras/version"
Gem::Specification.new do |spec|
spec.name = "activemodel_extra"
spec.version = ActiveModelExtras::VERSION
spec.authors = ["Aha! (www.aha.io)"]
spec.email = ["support@aha.io"]
spec.summary = %q{Extensions for ActiveModel providing array types, nested models, and array validation}
spec.description = %q{A collection of useful extensions to ActiveModel including array types, nested model support, and array validation}
spec.homepage = "https://github.com/aha-app/active_model_extras"
spec.license = "MIT"
spec.required_ruby_version = Gem::Requirement.new(">= 2.7.0")
spec.metadata["homepage_uri"] = spec.homepage
spec.metadata["source_code_uri"] = "https://github.com/aha-app/active_model_extras"
spec.metadata["changelog_uri"] = "https://github.com/aha-app/active_model_extras/blob/main/CHANGELOG.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.glob("lib/**/*") + [
"LICENSE",
"README.md",
"CHANGELOG.md",
]
spec.require_paths = ["lib"]
spec.add_dependency "activemodel", ">= 7.0"
spec.add_dependency "activesupport", ">= 7.0"
spec.add_development_dependency "appraisal", "~> 2.0"
spec.add_development_dependency "rake", "~> 13.0"
spec.add_development_dependency "rspec", "~> 3.0"
spec.add_development_dependency "rubocop", "~> 1.0"
end