forked from lawitschka/rails-api-validation-errors
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrails_api_validation_errors.gemspec
28 lines (23 loc) · 1.29 KB
/
rails_api_validation_errors.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
$:.push File.expand_path("../lib", __FILE__)
# Maintain your gem's version:
require "rails_api_validation_errors/version"
# Describe your gem and declare its dependencies:
Gem::Specification.new do |s|
s.name = "rails_api_validation_errors"
s.version = RailsApiValidationErrors::VERSION
s.licenses = ['MIT']
s.authors = ["Moritz Lawitschka"]
s.email = ["[email protected]"]
s.homepage = "https://github.com/lawitschka/rails-api-validation-errors"
s.summary = "Untranslated validation errors with all meta data for APIs behind Javascript frontends"
s.description = "Instead of Rails translating validation errors automatically to current locale, validation errors are returned as error meta hashes easily embedded in API error responses and translated in the frontend."
s.files = Dir["{app,config,db,lib}/**/*", "MIT-LICENSE", "Rakefile", "README.md"]
s.add_dependency "rails", "~> 5.0"
s.add_development_dependency "sqlite3", "~> 1.3.9"
s.add_development_dependency "rspec-rails", "~> 3.8.0"
s.add_development_dependency "rspec-mocks", "~> 3.8.0"
s.add_development_dependency "rr", "~> 1.2.0"
s.add_development_dependency "simplecov", "~> 0"
s.add_development_dependency "coveralls", "~> 0"
s.add_development_dependency "pry"
end