summaryrefslogtreecommitdiff
path: root/nickserver.gemspec
diff options
context:
space:
mode:
Diffstat (limited to 'nickserver.gemspec')
-rw-r--r--nickserver.gemspec25
1 files changed, 16 insertions, 9 deletions
diff --git a/nickserver.gemspec b/nickserver.gemspec
index af1ef97..aa4b3b8 100644
--- a/nickserver.gemspec
+++ b/nickserver.gemspec
@@ -1,21 +1,28 @@
# -*- encoding: utf-8 -*-
+
+require 'English'
+
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'nickserver/version'
Gem::Specification.new do |gem|
- gem.name = "nickserver"
+ gem.name = 'nickserver'
gem.version = Nickserver::VERSION
- gem.authors = ["elijah"]
- gem.email = ["elijah@riseup.net"]
- gem.description = %q{Provides a directory service to map uid to public key.}
- gem.summary = %q{Nickserver provides the ability to map a uid (user@domain.org) to a public key. This is the opposite of a key server, whose job it is to map public key to uid. Nickserver is lightweight and asynchronous.}
- gem.homepage = "https://leap.se"
+ gem.authors = ['elijah']
+ gem.email = ['elijah@riseup.net']
+ gem.description = 'Provides a directory service to map uid to public key.'
+ gem.homepage = 'https://leap.se'
+ gem.summary = <<-EOSUM
+Nickserver provides the ability to map a uid (user@domain.org) to a public key.
+This is the opposite of a key server, whose job it is to map public key to uid.
+Nickserver is lightweight and asynchronous.
+ EOSUM
- gem.files = `git ls-files`.split($/)
- gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
+ gem.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR)
+ 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"]
+ gem.require_paths = ['lib']
gem.required_ruby_version = '~> 2.1'
gem.add_development_dependency 'rake'