Fixes minor rubocop offense

This commit is contained in:
Athitya 2017-10-21 02:58:18 +05:30
parent 24406eaa67
commit b2fa5f18d7
2 changed files with 15 additions and 14 deletions

View file

@ -2,12 +2,24 @@ lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'colorls/version' require 'colorls/version'
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
*******************************************************************
).freeze
Gem::Specification.new do |spec| Gem::Specification.new do |spec|
spec.name = 'colorls' spec.name = 'colorls'
spec.version = ColorLS::VERSION spec.version = ColorLS::VERSION
spec.authors = ['Athitya Kumar'] spec.authors = ['Athitya Kumar']
spec.email = ['athityakumar@gmail.com'] 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.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.homepage = 'https://github.com/athityakumar/colorls'
spec.license = 'MIT' spec.license = 'MIT'
@ -19,18 +31,7 @@ Gem::Specification.new do |spec|
spec.executables = 'colorls' spec.executables = 'colorls'
spec.require_paths = ['lib'] spec.require_paths = ['lib']
spec.post_install_message = <<-EOF spec.post_install_message = ColorLS::POST_INSTALL_MESSAGE
*************************************************************************
Changes introduced in colorls-v1.0.0
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
*************************************************************************
EOF
spec.add_runtime_dependency 'colorize' spec.add_runtime_dependency 'colorize'
spec.add_runtime_dependency 'facets' spec.add_runtime_dependency 'facets'

View file

@ -1,3 +1,3 @@
module ColorLS module ColorLS
VERSION = '1.0.0'.freeze VERSION = '1.0.1'.freeze
end end