-
Notifications
You must be signed in to change notification settings - Fork 19
/
pws.gemspec
34 lines (31 loc) Β· 1.52 KB
/
pws.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# -*- encoding: utf-8 -*-
name = 'pws'
require File.dirname(__FILE__) + "/lib/#{name}/version"
Gem::Specification.new do |s|
s.required_ruby_version = '>= 1.9.3'
s.name = name
s.version = PWS::VERSION
s.authors = ["Jan Lelis"]
s.email = ["[email protected]"]
s.homepage = 'https://github.com/janlelis/pws'
s.summary = "pws is a CLI password safe."
s.description = "pws is a command-line password safe. Please run `pws --help` for usage information."
s.files = Dir.glob(%w[{lib,test}/**/*.rb bin/* [A-Z]*.{txt,rdoc} ext/**/*.{rb,c} features/**/*]) + %w{Rakefile pws.gemspec}
s.extra_rdoc_files = ["README.md", "MIT-LICENSE.txt", "CHANGELOG.md"]
s.license = 'MIT'
s.executables = ['pws']
s.add_dependency 'clipboard', '~> 1.3'
s.add_dependency 'paint', '>= 0.8.7'
s.add_dependency 'pbkdf2-ruby'
s.add_development_dependency 'rake', '< 13'
s.add_development_dependency 'aruba', '~> 0.14'
s.add_development_dependency 'cucumber', '~> 3.1'
s.add_development_dependency 'rspec', '~> 3.8'
len = s.homepage.size
s.post_install_message = \
(" βββ " + "info ".ljust(len-2,'β') + "ββ\n" +
" J-_-L β " + s.homepage + " β\n" +
" βββ " + "usage ".ljust(len-2,'β') + "ββ€\n" +
" β " + "pws --help".ljust(len,' ') + " β\n" +
" ββ" + 'β'*len + "ββ")
end