-
Notifications
You must be signed in to change notification settings - Fork 0
/
activemodel-errors-tree.gemspec
31 lines (25 loc) · 1.37 KB
/
activemodel-errors-tree.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
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
Gem::Specification.new do |spec|
spec.name = "activemodel-errors-tree"
spec.version = "0.2.1" # for some reason Rails applications do not like it defined in activemodel/errors/tree/version
spec.authors = ["Oded Niv"]
spec.email = ["oded.niv@gmail.com"]
spec.summary = %q{ActiveModel errors format actually appropriate for APIs.}
spec.description = %q{Builds a tree of errors instead of the 1-dimension one generated by ActiveMode::Base#errors.messages.}
spec.homepage = "https://github.com/odedniv/activemodel-errors-tree"
spec.license = "Unlicense"
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
spec.bindir = "exe"
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]
spec.required_ruby_version = ">= 3.0"
spec.add_runtime_dependency "activesupport", "~> 6.1"
spec.add_runtime_dependency "activemodel", "~> 6.1"
spec.add_development_dependency "bundler", "~> 2.5"
spec.add_development_dependency "rake", "~> 13.2"
spec.add_development_dependency "rspec", "~> 3.13"
spec.add_development_dependency "sqlite3", "~> 1.4"
spec.add_development_dependency "activerecord", "~> 6.0"
end