Sha256: 4fc86c5c17ec322d0ef351cdf91ebe11f31298a6ac390ad493af1c4e03f708d1

Contents?: true

Size: 1.17 KB

Versions: 3

Compression:

Stored size: 1.17 KB

Contents

lib = File.expand_path('lib', __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "has_defaults/version"

Gem::Specification.new do |spec|
  spec.name = 'has_defaults'
  spec.version = HasDefaults::VERSION
  spec.required_ruby_version = '>= 2.3.0'
  spec.authors = ['Henning Koch']
  spec.email = ['henning.koch@makandra.de']

  spec.summary = 'Default values for ActiveRecord models'
  spec.description = 'Default values for ActiveRecord models'
  spec.homepage = 'https://github.com/makandra/has_defaults'
  spec.license = 'MIT'
  spec.metadata = { 'rubygems_mfa_required' => 'true' }

  # Specify which files should be added to the gem when it is released.
  # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
  spec.files = Dir.chdir(File.expand_path(__dir__)) do
    `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
  end
  spec.bindir = 'exe'
  spec.executables = spec.files.grep(%r(^exe/)) { |f| File.basename(f) }
  spec.require_paths = ['lib']

  spec.add_dependency('activerecord')

  # Development dependencies are defined in the Gemfile (therefore no `spec.add_development_dependency` directives)
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
has_defaults-1.2.1 has_defaults.gemspec
has_defaults-1.2.0 has_defaults.gemspec
has_defaults-1.1.1 has_defaults.gemspec