# frozen_string_literal: true lib = File.expand_path('lib', __dir__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'simple_math/version' Gem::Specification.new do |spec| spec.name = 'simple_math' spec.version = SimpleMath::VERSION spec.authors = ['victorhazbun'] spec.email = ['victorhazbun87@gmail.com'] spec.summary = 'Simple math tools' spec.description = 'A simple math gem which provides a set of tools for math operations.' spec.homepage = 'https://github.com/victorhazbun/simple_math' spec.license = 'MIT' if spec.respond_to?(:metadata) spec.metadata['allowed_push_host'] = "https://rubygems.org/" else raise 'RubyGems 2.0 or newer is required to protect against ' \ 'public gem pushes.' end spec.files = Dir.chdir(File.expand_path(__dir__)) do `git ls-files -z`.split("\x0").reject do |f| f.match(%r{^(test|spec|features)/}) end 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 'rake', '~> 10.0' spec.add_development_dependency 'byebug', '~> 10.0' spec.add_development_dependency 'rspec', '~> 3.0' spec.add_development_dependency 'rubocop', '~> 0.58.2' spec.add_development_dependency 'rspec_junit_formatter', '~> 0.4.1' spec.add_development_dependency 'coveralls', '~> 0.8.22' end