$LOAD_PATH.unshift(File.expand_path("../lib", __FILE__)) require "imap/backup/version" Gem::Specification.new do |gem| gem.name = "imap-backup" gem.description = "Backup GMail, or any other IMAP email service, to disk." gem.summary = "Backup GMail (or other IMAP) accounts to disk" gem.authors = ["Joe Yates"] gem.email = ["joe.g.yates@gmail.com"] gem.homepage = "https://github.com/joeyates/imap-backup" 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{^spec/}) gem.require_paths = ["lib"] gem.required_ruby_version = [">= 2.2.0"] gem.version = Imap::Backup::VERSION gem.post_install_message = <<-MESSAGE.gsub(/^\s{4}/m, "") When upgrading #{gem.name} from version 1.x to 2.x not that the metadata storage method has changed (from flat file to JSON). As a result, on the first run after an upgrade, old backup folders will be **deleted** and a full new backup created. MESSAGE gem.add_runtime_dependency "rake" gem.add_runtime_dependency "highline" gem.add_runtime_dependency "mail" gem.add_development_dependency "codeclimate-test-reporter", "~> 0.4.8" gem.add_development_dependency "pry-byebug" gem.add_development_dependency "rspec", ">= 3.0.0" gem.add_development_dependency "rubocop-rspec" gem.add_development_dependency "simplecov" end