-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathforminate.gemspec
34 lines (30 loc) · 1.36 KB
/
forminate.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
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'forminate/version'
Gem::Specification.new do |spec|
spec.name = 'forminate'
spec.version = Forminate::VERSION
spec.authors = ['Mo Lawson']
spec.email = ['[email protected]']
spec.description = 'Form objects for Rails applications'
spec.summary = 'Create form objects from multiple Active Record and/or ActiveAttr models.'
spec.homepage = 'https://github.com/molawson/forminate'
spec.license = 'MIT'
spec.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR)
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ['lib']
spec.add_dependency 'active_attr', '~> 0.8'
spec.add_dependency 'activesupport', '>= 3.0.2', '< 4.1'
spec.add_dependency 'client_side_validations', '~> 3.2'
spec.add_development_dependency 'bundler', '~> 1.3'
spec.add_development_dependency 'rake', '~> 10.1'
spec.add_development_dependency 'rspec', '~> 2.11'
spec.add_development_dependency 'activerecord', '~> 3.2'
if defined?(JRUBY_VERSION)
spec.add_development_dependency 'activerecord-jdbcsqlite3-adapter', '~> 1.3'
else
spec.add_development_dependency 'sqlite3', '~> 1.3'
end
end