-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathaccept_values_for.gemspec
More file actions
32 lines (24 loc) · 1.11 KB
/
accept_values_for.gemspec
File metadata and controls
32 lines (24 loc) · 1.11 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
# encoding: utf-8
require_relative 'lib/accept_values_for/version'
Gem::Specification.new do |spec|
spec.name = "accept_values_for"
spec.version = AcceptValuesFor::VERSION
spec.author = "Bogdan Gusiev"
spec.email = "agresso@gmail.com"
spec.homepage = "https://github.com/bogdan/accept_values_for"
spec.license = "MIT"
spec.summary = "Test complex Active Record validations with RSpec"
spec.description = <<-DESC.gsub(/(^\s+|\n)/, "")
Writing specs for complex validations is annoying. AcceptValuesFor makes it
easy to test your validations with real world values, asserting which values
should be accepted by your model and which should not.
DESC
spec.files = `git ls-files -z`.split("\x0")
spec.test_files = spec.files.grep(/^spec/)
spec.required_ruby_version = Gem::Requirement.new(">= 3.0.0")
spec.metadata["homepage_uri"] = spec.homepage
spec.metadata["source_code_uri"] = spec.homepage
spec.add_dependency "activemodel", ">= 7.1", "< 8.2"
spec.add_dependency "rspec", ">= 3.10", "< 4.0"
spec.add_development_dependency "rake", "~> 13.0"
end