-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjson_validator.gemspec
30 lines (25 loc) · 1.04 KB
/
json_validator.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
# coding: utf-8
lib = File.expand_path("../lib", __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "json_validator_meta"
Gem::Specification.new do |spec|
spec.name = "json_validator"
spec.version = JsonValidatorMeta::VERSION
spec.authors = ["Iain Beeston"]
spec.email = ["[email protected]"]
spec.summary = %q{ActiveModel that validates hash fields using JSON schema}
spec.homepage = ""
spec.license = "MIT"
spec.files = `git ls-files -z`.split("\x0")
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.test_files = spec.files.grep(%r{^spec/})
spec.require_paths = ["lib"]
spec.required_ruby_version = ">= 1.9.3"
spec.add_dependency "activesupport", ">= 3.2"
spec.add_dependency "activemodel", ">= 3.2"
spec.add_dependency "json-schema"
spec.add_dependency "json"
spec.add_development_dependency "bundler", "~> 1.6"
spec.add_development_dependency "rake"
spec.add_development_dependency "rspec", ">= 3.0"
end