Sha256: d0efd0ba413474a41358ad511c6754fec1ed8120249637e8d9d3401b64e8f1b8

Contents?: true

Size: 1.12 KB

Versions: 2

Compression:

Stored size: 1.12 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'

  # 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

2 entries across 2 versions & 1 rubygems

Version Path
has_defaults-1.1.0 has_defaults.gemspec
has_defaults-1.0.0 has_defaults.gemspec