Sha256: af6633bb12d39339c5b047730ac176e6004d66081b8e6a1245e456f4a28e9454

Contents?: true

Size: 1.05 KB

Versions: 3

Compression:

Stored size: 1.05 KB

Contents

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

Gem::Specification.new do |spec|
  spec.name          = 'consenter'
  spec.version       = Consenter::VERSION
  spec.authors       = ['Peter Vandenberk']
  spec.email         = ['pvandenberk@mac.com']

  spec.summary       = 'Idiomatic Enumerable extension to filter by consent'
  spec.description   = 'Ask for consent for each element in an Enumerable'
  spec.homepage      = 'https://github.com/pvdb/consenter'

  spec.files         = Dir.chdir(File.expand_path('..', __FILE__)) 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_development_dependency 'bundler', '~> 1.16'
  spec.add_development_dependency 'minitest', '~> 5.0'
  spec.add_development_dependency 'pry', '~> 0.11'
  spec.add_development_dependency 'rake', '~> 10.0'
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
consenter-1.0.3 consenter.gemspec
consenter-1.0.2 consenter.gemspec
consenter-1.0.1 consenter.gemspec