-
Notifications
You must be signed in to change notification settings - Fork 0
/
typed_params.gemspec
38 lines (31 loc) · 1.47 KB
/
typed_params.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
34
35
36
37
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'typed_params/version'
Gem::Specification.new do |spec|
spec.name = "typed_params"
spec.version = TypedParams::VERSION
spec.authors = ["mecampbellsoup"]
spec.email = ["[email protected]"]
spec.summary = %q{Enforce strong typing for API endpoints' parameters.}
spec.description = %q{Declare a rules format on a per-endpoint basis, and assert request documents adhere to them.}
spec.homepage = "https://github.com/zipmark/typed_params"
spec.license = "MIT"
spec.files = Dir.glob("{bin,lib}/**/*") + %w(LICENSE.txt README.md)
spec.bindir = "exe"
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]
# Runtime deps
spec.add_runtime_dependency "activesupport", "~> 5"
spec.add_runtime_dependency "activemodel", "~> 5"
# Debugging and develoment
spec.add_development_dependency "bundler", "~> 1.13"
spec.add_development_dependency "rake", "~> 10.0"
spec.add_development_dependency "rspec", "~> 3.0"
spec.add_development_dependency 'awesome_print'
spec.add_development_dependency 'pry'
# Test this gem with a rails app (integration specs)
# https://codingdaily.wordpress.com/2011/01/14/test-a-gem-with-the-rails-3-stack/
spec.add_development_dependency 'rails'
spec.add_development_dependency 'rspec-rails'
end