-
Notifications
You must be signed in to change notification settings - Fork 20
/
accept_values_for.gemspec
33 lines (25 loc) · 1.19 KB
/
accept_values_for.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
32
33
# encoding: utf-8
Gem::Specification.new do |spec|
spec.name = "accept_values_for"
spec.version = "0.9.4"
spec.author = "Bogdan Gusiev"
spec.email = "[email protected]"
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["allowed_push_host"] = "https://rubygems.org, https://rubygems.pkg.github.com/bogdan"
spec.metadata["homepage_uri"] = spec.homepage
spec.metadata["source_code_uri"] = spec.homepage
spec.add_dependency "activemodel", ">= 6.1", "< 8.1"
spec.add_dependency "rspec", ">= 3.10", "< 4.0"
spec.add_development_dependency "bundler", "~> 2.2"
spec.add_development_dependency "rake", "~> 13.0"
end