sup.gemspec in sup-1.0 vs sup.gemspec in sup-1.1

- old
+ new

@@ -2,11 +2,11 @@ require 'sup/version' Gem::Specification.new do |s| s.name = "sup" - s.version = ENV["REL"] || (::Redwood::VERSION == "git" ? "999" : ::Redwood::VERSION) + s.version = ENV["REL"] || (/-git-/ =~ ::Redwood::VERSION ? "999" : ::Redwood::VERSION) s.date = Time.now.strftime "%Y-%m-%d" s.authors = ["William Morgan", "Gaute Hope", "Hamish Downer", "Matthieu Rakotojaona"] s.email = "supmua@googlegroups.com" s.summary = "A console-based email client with the best features of GMail, mutt and Emacs" s.homepage = "https://sup-heliotrope.github.io/" @@ -30,11 +30,11 @@ If your operating system is OpenBSD you have some additional, manual steps to do before Sup will work, see: https://github.com/sup-heliotrope/sup/wiki/Installation%3A-OpenBSD. EOF - s.files = `git ls-files -z`.split("\x0") + s.files = File.read("Manifest.txt").split s.executables = s.files.grep(%r{^bin/}) { |f| File.basename(f) } s.test_files = s.files.grep(%r{^(test|spec|features)/}) s.require_paths = ["lib"] s.extra_rdoc_files = Dir.glob("man/*") @@ -49,23 +49,25 @@ ## remember to update the xapian dependency in ## ext/mkrf_conf_xapian.rb and Gemfile. s.add_runtime_dependency "ncursesw", "~> 1.4.0" - s.add_runtime_dependency "rmail", "~> 1.1" + s.add_runtime_dependency "rmail", ">= 1.1.2", "< 2" s.add_runtime_dependency "highline" s.add_runtime_dependency "optimist" s.add_runtime_dependency "lockfile" s.add_runtime_dependency "mime-types", "> 2.0" s.add_runtime_dependency "locale", "~> 2.0" s.add_runtime_dependency "chronic" s.add_runtime_dependency "unicode", "~> 0.4.4" s.add_runtime_dependency "unicode-display_width" + s.add_runtime_dependency "string-scrub" if /^2\.0\./ =~ RUBY_VERSION s.add_development_dependency "bundler", ">= 1.3", "< 3" s.add_development_dependency "rake" - s.add_development_dependency 'minitest', '~> 5.5.1' + s.add_development_dependency 'minitest', '~> 5.5' s.add_development_dependency "rr", "~> 1.1" s.add_development_dependency "gpgme", ">= 2.0.2" s.add_development_dependency "pry" + s.add_development_dependency "rubocop-packaging" unless /^2\.[012]\./ =~ RUBY_VERSION end