attr_default.gemspec in attr_default-0.8.0.pre.6 vs attr_default.gemspec in attr_default-0.8.0.pre.7
- old
+ new
@@ -1,22 +1,27 @@
-require File.expand_path('../lib/attr_default/version', __FILE__)
+# frozen_string_literal: true
+require_relative 'lib/attr_default/version'
+
Gem::Specification.new do |gem|
- gem.authors = ['Invoca development']
- gem.email = ['development@invoca.com']
+ gem.name = "attr_default"
+ gem.require_paths = ["lib"]
+ gem.version = AttrDefault::VERSION
+ 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.homepage = "https://github.com/Invoca/attr_default"
+ gem.metadata = {
+ "allowed_push_host" => "https://rubygems.org"
+ }
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 'hobofields', '~> 0.9'
+ gem.add_dependency 'rails', '~> 4.2'
end