2018-03-27 20:01:33 +02:00
|
|
|
lib = File.expand_path('lib', __dir__)
|
2017-07-05 16:23:11 +02:00
|
|
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
|
|
require 'colorls/version'
|
|
|
|
|
2017-10-20 23:28:18 +02:00
|
|
|
ColorLS::POST_INSTALL_MESSAGE = %(
|
|
|
|
*******************************************************************
|
|
|
|
Changes introduced in colorls
|
|
|
|
|
|
|
|
Sort by dirs : -sd flag has been renamed to --sd
|
|
|
|
Sort by files : -sf flag has been renamed to --sf
|
|
|
|
Git status : -gs flag has been renamed to --gs
|
|
|
|
|
|
|
|
Clubbed flags : `colorls -ald` works
|
|
|
|
Help menu : `colorls -h` provides all possible flag options
|
2017-10-22 20:22:30 +02:00
|
|
|
|
|
|
|
Tab completion enabled for flags
|
2017-10-27 12:26:54 +02:00
|
|
|
|
|
|
|
-t flag : Previously short for --tree, has been re-allocated to sort results by time
|
2017-10-27 12:53:04 +02:00
|
|
|
-r flag : Previously short for --report, has been re-allocated to reverse sort results
|
2017-10-27 12:26:54 +02:00
|
|
|
|
2017-11-15 22:24:17 +01:00
|
|
|
Man pages have been added. Checkout `man colorls`.
|
|
|
|
|
2017-10-20 23:28:18 +02:00
|
|
|
*******************************************************************
|
|
|
|
).freeze
|
|
|
|
|
2017-11-10 20:25:21 +01:00
|
|
|
# rubocop:disable Metrics/BlockLength
|
2017-07-05 16:23:11 +02:00
|
|
|
Gem::Specification.new do |spec|
|
|
|
|
spec.name = 'colorls'
|
|
|
|
spec.version = ColorLS::VERSION
|
2017-07-07 16:49:46 +02:00
|
|
|
spec.authors = ['Athitya Kumar']
|
2017-07-05 16:23:11 +02:00
|
|
|
spec.email = ['athityakumar@gmail.com']
|
|
|
|
spec.summary = "A Ruby CLI gem that beautifies the terminal's ls command, with color and font-awesome icons."
|
|
|
|
spec.homepage = 'https://github.com/athityakumar/colorls'
|
|
|
|
spec.license = 'MIT'
|
|
|
|
|
|
|
|
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
2017-11-15 22:19:20 +01:00
|
|
|
f.match(%r{^(test|spec|features)/})
|
2017-07-05 16:23:11 +02:00
|
|
|
end
|
2017-11-15 22:19:20 +01:00
|
|
|
|
2017-07-05 16:23:11 +02:00
|
|
|
spec.bindir = 'exe'
|
2017-07-07 16:49:46 +02:00
|
|
|
spec.executables = 'colorls'
|
2017-07-05 16:23:11 +02:00
|
|
|
spec.require_paths = ['lib']
|
|
|
|
|
2017-10-20 23:28:18 +02:00
|
|
|
spec.post_install_message = ColorLS::POST_INSTALL_MESSAGE
|
2017-10-20 23:17:32 +02:00
|
|
|
|
2017-11-30 01:01:57 +01:00
|
|
|
spec.add_runtime_dependency 'clocale'
|
2017-07-10 13:39:14 +02:00
|
|
|
spec.add_runtime_dependency 'filesize'
|
2017-11-10 20:26:20 +01:00
|
|
|
spec.add_runtime_dependency 'manpages'
|
2017-10-28 14:51:01 +02:00
|
|
|
spec.add_runtime_dependency 'rainbow'
|
2017-07-05 16:23:11 +02:00
|
|
|
|
|
|
|
spec.add_development_dependency 'bundler', '~> 1.15'
|
2017-10-20 20:57:17 +02:00
|
|
|
spec.add_development_dependency 'diffy'
|
2017-11-09 21:49:49 +01:00
|
|
|
spec.add_development_dependency 'rake'
|
2017-11-10 20:25:21 +01:00
|
|
|
spec.add_development_dependency 'ronn'
|
2017-07-05 16:23:11 +02:00
|
|
|
spec.add_development_dependency 'rspec'
|
2017-10-22 15:41:00 +02:00
|
|
|
spec.add_development_dependency 'rspec-its'
|
2017-07-05 16:23:11 +02:00
|
|
|
spec.add_development_dependency 'rubocop'
|
2017-10-31 02:31:59 +01:00
|
|
|
spec.add_development_dependency 'rubocop-rspec'
|
2017-10-20 22:44:26 +02:00
|
|
|
spec.add_development_dependency 'rubygems-tasks'
|
2018-01-11 11:10:12 +01:00
|
|
|
spec.add_development_dependency 'simplecov'
|
2017-07-05 16:23:11 +02:00
|
|
|
end
|
2018-01-02 10:31:32 +01:00
|
|
|
# rubocop:enable Metrics/BlockLength
|