rubysl-digest.gemspec in rubysl-digest-0.0.1 vs rubysl-digest.gemspec in rubysl-digest-1.0.0

- old
+ new

@@ -1,22 +1,30 @@ -# -*- encoding: utf-8 -*- -require File.expand_path('../lib/rubysl-digest/version', __FILE__) +# coding: utf-8 +require './lib/rubysl/digest/version' -Gem::Specification.new do |gem| - gem.authors = ["Brian Shirai"] - gem.email = ["brixen@gmail.com"] - gem.description = %q{Ruby Standard Library - digest} - gem.summary = %q{Ruby Standard Library - digest} - gem.homepage = "" +Gem::Specification.new do |spec| + spec.name = "rubysl-digest" + spec.version = RubySL::Digest::VERSION + spec.authors = ["Brian Shirai"] + spec.email = ["brixen@gmail.com"] + spec.description = %q{Ruby standard library digest.} + spec.summary = %q{Ruby standard library digest.} + spec.homepage = "https://github.com/rubysl/rubysl-digest" + spec.license = "BSD" - 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.name = "rubysl-digest" - gem.require_paths = ["lib"] - gem.version = RubySL::Digest::VERSION + spec.files = `git ls-files`.split($/) + spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) } + spec.extensions = ["ext/rubysl/digest/extconf.rb", + "ext/rubysl/digest/bubblebabble/extconf.rb", + "ext/rubysl/digest/md5/extconf.rb", + "ext/rubysl/digest/rmd160/extconf.rb", + "ext/rubysl/digest/sha1/extconf.rb", + "ext/rubysl/digest/sha2/extconf.rb" ] + spec.test_files = spec.files.grep(%r{^(test|spec|features)/}) + spec.require_paths = ["lib"] - gem.add_runtime_dependency "redcard", "~> 1.0" + spec.add_runtime_dependency "redcard", "~> 1.0" - gem.add_development_dependency "rake", "~> 10.0" - gem.add_development_dependency "mspec", "~> 1.5" + spec.add_development_dependency "bundler", "~> 1.3" + spec.add_development_dependency "rake", "~> 10.0" + spec.add_development_dependency "mspec", "~> 1.5" end