write_down.gemspec in write_down-0.0.5 vs write_down.gemspec in write_down-0.2.0

- old
+ new

@@ -4,23 +4,34 @@ require 'write_down/version' Gem::Specification.new do |spec| spec.name = "write_down" spec.version = WriteDown::VERSION - spec.authors = ["Ma Lucheng"] - spec.email = ["mlc880926@gmail.com"] - spec.description = %q{yet another static blog generator} - spec.summary = %q{yet another static blog generator} - spec.homepage = "" + spec.authors = ["马陆骋"] + spec.email = ["malucheng@boohee.com"] + + spec.summary = %q{Static Site render helper} + spec.description = %q{Static Site render helper} + spec.homepage = "http://javaer.me" spec.license = "MIT" - spec.files = `git ls-files`.split($/) - spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) } - spec.test_files = spec.files.grep(%r{^(test|spec|features)/}) + # Prevent pushing this gem to RubyGems.org by setting 'allowed_push_host', or + # delete this section to allow pushing this gem to any host. + 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 = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) } + spec.bindir = "exe" + spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } spec.require_paths = ["lib"] - spec.add_development_dependency "bundler", "~> 1.3" + spec.add_development_dependency "bundler" spec.add_development_dependency "rake" - spec.add_runtime_dependency "minidown" - spec.add_runtime_dependency "mustache" - spec.add_runtime_dependency 'nokogiri' + spec.add_development_dependency "minitest" + + spec.add_dependency "pandoc-ruby" + spec.add_dependency "front_matter_parser" + spec.add_dependency "qiniu" end