cybernetlab/ensure_it

View on GitHub
ensure_it.gemspec

Summary

Maintainability
Test Coverage
# coding: utf-8
lib = File.expand_path(File.join('..', 'lib'), __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require File.join %w(ensure_it version)

Gem::Specification.new do |spec|
  spec.required_ruby_version = '>= 2.0.0'

  spec.name          = 'ensure_it'
  spec.version       = EnsureIt::VERSION
  spec.authors       = ['Alexey Ovchinnikov']
  spec.email         = ['alexiss@cybernetlab.ru', 'alexey.ovchinnikov@yandex.ru']
  spec.summary       = %q{Provides variables and arguments parsing}
  spec.description   = %q{Main goal of project is to provide fastest way to
                          every-method arguments and variables checks with
                          minimal coding requirements}
  spec.summary       = <<-EOL.gsub(/^\s+\|/, '')
    |This library provides way to check and converts local variables for
    |every-method usage, like arguments checking.
    |The main goal of EnsureIt is to provide as fast executed code as it
    |possible with simple and usable syntax.
  EOL
  spec.homepage      = 'http://github.com/cybernetlab/ensure_it'
  spec.license       = 'MIT'
  spec.metadata      = {
    'issue_tracker' => 'https://github.com/cybernetlab/ensure_it/issues'
  }

  spec.files         = `git ls-files`.split($/)
  spec.executables   = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
  spec.test_files    = spec.files.grep(%r{^(test|spec|features)/})
  spec.require_paths = ['lib']

  spec.add_development_dependency 'bundler',    '~> 1.5'
  spec.add_development_dependency 'rake',       '~> 10.1'
  spec.add_development_dependency 'redcarpet',  '~> 3.1'
  spec.add_development_dependency 'yard',       '~> 0.8'
  spec.add_development_dependency 'rspec',      '~> 2.14'
  spec.add_development_dependency 'coveralls',  '~> 0.7'
  spec.add_development_dependency 'thor',       '~> 0.18'
  spec.add_development_dependency 'ruby-prof',  '~> 0.14'
end