lib = File.expand_path('../lib', __FILE__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'yaml_converter/version' Gem::Specification.new do |spec| spec.name = 'yaml_converter' spec.version = YamlConverter::VERSION spec.authors = ['alexgonor'] spec.email = ['gonor.alexandr@gmail.com'] spec.summary = 'Convert name and surname to yaml file' spec.description = 'Convert name and surname to yaml file' spec.homepage = "https://github.com/alexgonor/ruby-rails-course-2017/tree/master/homeworks/alexandr.gonor_alexgonor/homework_8/yaml_converter" spec.license = 'MIT' # if spec.respond_to?(:metadata) # spec.metadata['allowed_push_host'] = "http://rubygems.org" # 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_development_dependency 'bundler', '~> 1.16.a' spec.add_development_dependency 'rake', '~> 10.0' spec.add_development_dependency 'rspec', '~> 3.0' end