Skip to content

Commit

Permalink
Fixes minor rubocop offense
Browse files Browse the repository at this point in the history
  • Loading branch information
athityakumar committed Oct 20, 2017
1 parent 24406ea commit b2fa5f1
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 14 deletions.
27 changes: 14 additions & 13 deletions colorls.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,24 @@ lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
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|
spec.name = 'colorls'
spec.version = ColorLS::VERSION
spec.authors = ['Athitya Kumar']
spec.email = ['[email protected]']

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'
Expand All @@ -19,18 +31,7 @@ Gem::Specification.new do |spec|
spec.executables = 'colorls'
spec.require_paths = ['lib']

spec.post_install_message = <<-EOF
*************************************************************************
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.post_install_message = ColorLS::POST_INSTALL_MESSAGE

spec.add_runtime_dependency 'colorize'
spec.add_runtime_dependency 'facets'
Expand Down
2 changes: 1 addition & 1 deletion lib/colorls/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module ColorLS
VERSION = '1.0.0'.freeze
VERSION = '1.0.1'.freeze
end

0 comments on commit b2fa5f1

Please sign in to comment.