Sha256: 24de09cccb44490243126f67b923c43a4420c7133d83ad79228aa7432e6e6c37

Contents?: true

Size: 1.67 KB

Versions: 5

Compression:

Stored size: 1.67 KB

Contents

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

Gem::Specification.new do |spec|
  spec.name          = 'ensurance'
  spec.version       = Ensurance::VERSION
  spec.authors       = ['Ben Sharpe']
  spec.email         = ['bsharpe@gmail.com']

  spec.summary       = 'Add ability to ensure ActiveRecord models'
  spec.description   = 'A handy shortcut for user = user.is_a?(User) ? user : User.find(user)'
  spec.homepage      = 'https://github.com/bsharpe/ensurance'
  spec.license       = 'MIT'

  # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
  # to allow pushing to a single host or delete this section to allow pushing to any host.
  # if spec.respond_to?(:metadata)
  #   spec.metadata["allowed_push_host"] = "TODO: Set to 'http://mygemserver.com'"
  # else
  #   raise "RubyGems 2.0 or newer is required to protect against " \
  #     "public gem pushes."
  # end

  spec.files         = `git ls-files -z`.split("\x0").reject do |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_runtime_dependency 'activesupport', '>= 3'

  spec.add_development_dependency 'activerecord', '>= 3'
  spec.add_development_dependency 'awesome_print', '>= 1.0', '< 2'
  spec.add_development_dependency 'bundler', '~> 1.16'
  spec.add_development_dependency 'globalid', '>= 0.3.6', '< 2'
  spec.add_development_dependency 'rake', '>= 10.0'
  spec.add_development_dependency 'rspec', '~> 3.0'
  spec.add_development_dependency 'sqlite3', '>= 1.3.0', '< 4'
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ensurance-0.1.27 ensurance.gemspec
ensurance-0.1.26 ensurance.gemspec
ensurance-0.1.25 ensurance.gemspec
ensurance-0.1.24 ensurance.gemspec
ensurance-0.1.23 ensurance.gemspec