-
Notifications
You must be signed in to change notification settings - Fork 3
/
immutability_validator.gemspec
29 lines (24 loc) · 1.15 KB
/
immutability_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
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
Gem::Specification.new do |spec|
spec.name = 'immutability_validator'
spec.version = '1.1.1'
spec.authors = ['Kiril Dokh']
spec.email = ['dsounded@gmail.com']
spec.summary = 'Immutability validation'
spec.description = 'This gem provides immutability validation. This is different from `readonly: true` stuff' \
' because it sets the error.'
spec.homepage = 'https://github.com/dsounded/immutability_validator'
spec.license = 'MIT'
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
spec.bindir = 'exe'
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ['lib']
spec.add_dependency('activemodel', '>= 0')
spec.add_dependency('i18n', '>= 0.1.0')
spec.add_development_dependency 'bundler', '~> 1.11'
spec.add_development_dependency 'rake', '~> 10.0'
spec.add_development_dependency 'rspec', '~> 3.0'
spec.add_development_dependency 'pry', '~> 0.10.4'
end