/
redtape.gemspec
22 lines (18 loc) · 1.29 KB
/
redtape.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# -*- encoding: utf-8 -*-
require File.expand_path('../lib/redtape/version', __FILE__)
Gem::Specification.new do |gem|
gem.authors = ["Evan Light"]
gem.email = ["evan.light@tripledogdare.net"]
gem.description = %q{A handy dandy way to avoid using #accepts_nested_attributes_for}
gem.summary = %q{ Redtape provides an alternative to [ActiveRecord::NestedAttributes#accepts\_nested\_attributes\_for](http://api.rubyonrails.org/classes/ActiveRecord/NestedAttributes/ClassMethods.html#method-i-accepts_nested_attributes_for) in the form of, well, a Form! The initial implementation was heavily inspired by ["7 Ways to Decompose Fat Activerecord Models"](http://blog.codeclimate.com/blog/2012/10/17/7-ways-to-decompose-fat-activerecord-models/) by [Bryan Helmkamp](https://github.com/brynary).}
gem.homepage = "http://github.com/ClearFit/redtape"
gem.files = Array(Dir.glob("lib/**/*.rb"))
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
gem.name = "redtape"
gem.require_paths = ["lib"]
gem.version = Redtape::VERSION
# See Gemfile for development dependencies.
gem.add_runtime_dependency "activemodel"
gem.add_runtime_dependency "activesupport"
end