enumeration.gemspec in enumeration-1.3.1 vs enumeration.gemspec in enumeration-1.3.2

- old
+ new

@@ -1,22 +1,23 @@ # -*- encoding: utf-8 -*- -$:.push File.expand_path("../lib", __FILE__) +lib = File.expand_path('../lib', __FILE__) +$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require "enumeration/version" -Gem::Specification.new do |s| - s.name = "enumeration" - s.version = Enumeration::VERSION - s.platform = Gem::Platform::RUBY - s.authors = ["Kelly D. Redding"] - s.email = ["kelly@kelredd.com"] - s.homepage = "http://github.com/kelredd/enumeration" - s.summary = %q{add enumerated value attributes to your ruby classes} - s.description = %q{add enumerated value attributes to your ruby classes} +Gem::Specification.new do |gem| + gem.name = "enumeration" + gem.version = Enumeration::VERSION + gem.authors = ["Kelly Redding", "Collin Redding"] + gem.email = ["kelly@kellyredding.com", "collin.redding@me.com"] + gem.description = %q{Add enumerated value attributes to your ruby classes.} + gem.summary = %q{Add enumerated value attributes to your ruby classes.} + gem.homepage = "http://github.com/redding/enumeration" + gem.license = 'MIT' - s.files = `git ls-files`.split("\n") - s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n") - s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) } - s.require_paths = ["lib"] + gem.files = `git ls-files`.split($/) + gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) } + gem.test_files = gem.files.grep(%r{^(test|spec|features)/}) + gem.require_paths = ["lib"] - s.add_development_dependency("bundler", ["~> 1.0"]) - s.add_development_dependency("assert", ["~> 0.7"]) + gem.add_development_dependency("assert", ["~> 2.13"]) + end