Sha256: 4abcb844e5a103f9792d89ab6f39d67e4ed9dee936f7421dc3a85c3b0a322d99
Contents?: true
Size: 1.3 KB
Versions: 5
Compression:
Stored size: 1.3 KB
Contents
# coding: utf-8 lib = File.expand_path('../lib', __FILE__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'uri' require 'typesafe_enum/module_info' Gem::Specification.new do |spec| spec.name = TypesafeEnum::NAME spec.version = TypesafeEnum::VERSION spec.authors = ['David Moles'] spec.email = ['david.moles@ucop.edu'] spec.summary = 'Typesafe enum pattern for Ruby' spec.description = 'A gem that implements the typesafe enum pattern in Ruby' spec.license = 'MIT' origin_uri = URI(`git config --get remote.origin.url`.chomp) spec.homepage = URI::HTTP.build(host: origin_uri.host, path: origin_uri.path.chomp('.git')).to_s spec.files = `git ls-files -z`.split("\x0") 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.7' spec.add_development_dependency 'rake', '~> 10.4' spec.add_development_dependency 'rspec', '~> 3.2' spec.add_development_dependency 'simplecov', '~> 0.9.2' spec.add_development_dependency 'simplecov-console', '~> 0.2.0' spec.add_development_dependency 'rubocop', '~> 0.32.1' spec.add_development_dependency 'yard', '~> 0.8' end
Version data entries
5 entries across 5 versions & 1 rubygems