require File.expand_path('../lib/attr_default/version', __FILE__) Gem::Specification.new do |gem| gem.authors = ['Invoca development'] gem.email = ['development@invoca.com'] gem.description = %q{Dynamic Ruby defaults for ActiveRecord attributes} gem.summary = %q{Dynamic Ruby defaults for ActiveRecord attributes. These are lazy evaluated just in time: when first accessed, or just before validation or save. This allows dynamic defaults to depend on attributes that are assigned after initialization, or on other dynamic defaults.} gem.homepage = "https://github.com/RingRevenue/attr_default" gem.metadata = { 'allowed_push_host' => 'https://rubygems.org' } gem.files = `git ls-files`.split($\) gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) } gem.test_files = gem.files.grep(%r{^(test|spec|features)/.*\.rb}) gem.name = "attr_default" gem.require_paths = ["lib"] gem.version = AttrDefault::VERSION gem.add_dependency 'rails', '~> 4.2' end