colorls 1.4.7.pre.120 → 1.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +3 -0
- data/README.md +5 -0
- data/colorls.gemspec +6 -8
- data/lib/colorls/core.rb +54 -12
- data/lib/colorls/fileinfo.rb +23 -9
- data/lib/colorls/flags.rb +30 -10
- data/lib/colorls/git.rb +1 -1
- data/lib/colorls/version.rb +1 -1
- data/lib/yaml/file_aliases.yaml +1 -0
- data/lib/yaml/files.yaml +2 -0
- data/man/colorls.1 +13 -1
- data/zsh/_colorls +3 -0
- metadata +20 -20
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0e67c80f0f7dbc910811f38d1d9253e51bc53d811e22b86a979ecbc0d23f11be
|
4
|
+
data.tar.gz: b53e2a6878499522c938334d2698a0d77c817fae92265121052f439e32be1b1e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 68af6daf21bedeb04cc09955eedf8c7469ac2efe78b100245e996c25ec8017c6f4fb8d93bc22a2e64063547495f91200c15d9f8c8ea9298ab27a9c0d162d139e
|
7
|
+
data.tar.gz: 3006b1acc16c0a61155b969591e054ee2d849e802548845e1f1c9efa55806f5e7c010c814728e0b9a8b122bab6f491fcda7dd8e16a902dc77a1ba61ec6413832
|
data/.rubocop.yml
CHANGED
data/README.md
CHANGED
@@ -113,6 +113,11 @@ Man pages have been added. Checkout `man colorls`.
|
|
113
113
|
|
114
114
|
![image](https://user-images.githubusercontent.com/17109060/32149084-9eb2a416-bd25-11e7-8fb7-a9d336c6e038.png)
|
115
115
|
|
116
|
+
- Using `--non-human-readable` with `-l` :
|
117
|
+
- This will print the file sizes in bytes (non-human readable format)
|
118
|
+
|
119
|
+
![image](https://user-images.githubusercontent.com/19269206/234581461-1e1fdd90-a362-4cea-ab82-5ca360746be8.png)
|
120
|
+
|
116
121
|
# Installation
|
117
122
|
|
118
123
|
[(Back to top)](#table-of-contents)
|
data/colorls.gemspec
CHANGED
@@ -25,11 +25,10 @@ POST_INSTALL_MESSAGE = %(
|
|
25
25
|
*******************************************************************
|
26
26
|
)
|
27
27
|
|
28
|
-
# rubocop:disable Metrics/BlockLength
|
29
28
|
Gem::Specification.new do |spec|
|
30
29
|
is_tagged = ENV['GITHUB_REF'] == "refs/tags/v#{ColorLS::VERSION}"
|
31
30
|
is_origin = ENV['GITHUB_REPOSITORY_OWNER'] == 'athityakumar'
|
32
|
-
build_number = ENV
|
31
|
+
build_number = ENV.fetch('GITHUB_RUN_NUMBER', nil)
|
33
32
|
|
34
33
|
spec.name = 'colorls'
|
35
34
|
spec.version = if build_number && is_origin && !is_tagged
|
@@ -70,17 +69,16 @@ Gem::Specification.new do |spec|
|
|
70
69
|
|
71
70
|
spec.add_development_dependency 'bundler', '~> 2.0'
|
72
71
|
spec.add_development_dependency 'codecov', '~> 0.1'
|
73
|
-
spec.add_development_dependency 'diffy', '
|
72
|
+
spec.add_development_dependency 'diffy', '3.4.2'
|
74
73
|
spec.add_development_dependency 'rake', '~> 13'
|
75
74
|
spec.add_development_dependency 'rdoc', '~> 6.1'
|
76
75
|
spec.add_development_dependency 'ronn', '~> 0'
|
77
76
|
spec.add_development_dependency 'rspec', '~> 3.7'
|
78
77
|
spec.add_development_dependency 'rspec-its', '~> 1.2'
|
79
|
-
spec.add_development_dependency 'rubocop', '~> 1.
|
80
|
-
spec.add_development_dependency 'rubocop-performance', '~> 1.
|
78
|
+
spec.add_development_dependency 'rubocop', '~> 1.50.1'
|
79
|
+
spec.add_development_dependency 'rubocop-performance', '~> 1.17.1'
|
81
80
|
spec.add_development_dependency 'rubocop-rake', '~> 0.5'
|
82
|
-
spec.add_development_dependency 'rubocop-rspec', '~> 2.
|
81
|
+
spec.add_development_dependency 'rubocop-rspec', '~> 2.20.0'
|
83
82
|
spec.add_development_dependency 'rubygems-tasks', '~> 0'
|
84
|
-
spec.add_development_dependency 'simplecov', '~> 0.
|
83
|
+
spec.add_development_dependency 'simplecov', '~> 0.22.0'
|
85
84
|
end
|
86
|
-
# rubocop:enable Metrics/BlockLength
|
data/lib/colorls/core.rb
CHANGED
@@ -24,11 +24,13 @@ module ColorLS
|
|
24
24
|
@screen_width
|
25
25
|
end
|
26
26
|
|
27
|
-
class Core
|
27
|
+
class Core # rubocop:disable Metrics/ClassLength
|
28
|
+
MIN_SIZE_CHARS = 4
|
29
|
+
|
28
30
|
def initialize(all: false, sort: false, show: false,
|
29
31
|
mode: nil, show_git: false, almost_all: false, colors: [], group: nil,
|
30
32
|
reverse: false, hyperlink: false, tree_depth: nil, show_inode: false,
|
31
|
-
indicator_style: 'slash', long_style_options: {})
|
33
|
+
indicator_style: 'slash', long_style_options: {}, icons: true)
|
32
34
|
@count = {folders: 0, recognized_files: 0, unrecognized_files: 0}
|
33
35
|
@all = all
|
34
36
|
@almost_all = almost_all
|
@@ -46,14 +48,16 @@ module ColorLS
|
|
46
48
|
@time_style = long_style_options.key?(:time_style) ? long_style_options[:time_style] : ''
|
47
49
|
@indicator_style = indicator_style
|
48
50
|
@hard_links_count = long_style_options.key?(:hard_links_count) ? long_style_options[:hard_links_count] : true
|
49
|
-
|
50
|
-
@additional_chars_per_item = 12 + (@show_git ? 4 : 0) + (@show_inode ? 10 : 0)
|
51
|
+
@icons = icons
|
51
52
|
|
52
53
|
init_colors colors
|
53
|
-
|
54
54
|
init_icons
|
55
55
|
end
|
56
56
|
|
57
|
+
def additional_chars_per_item
|
58
|
+
12 + (@show_git ? 4 : 0) + (@show_inode ? 10 : 0)
|
59
|
+
end
|
60
|
+
|
57
61
|
def ls_dir(info)
|
58
62
|
if @tree[:mode]
|
59
63
|
print "\n"
|
@@ -118,6 +122,7 @@ module ColorLS
|
|
118
122
|
layout.each_line do |line, widths|
|
119
123
|
ls_line(line, widths)
|
120
124
|
end
|
125
|
+
clear_chars_for_size
|
121
126
|
end
|
122
127
|
|
123
128
|
def init_colors(colors)
|
@@ -137,6 +142,9 @@ module ColorLS
|
|
137
142
|
@long = mode == :long
|
138
143
|
@show_group = long_style_options.key?(:show_group) ? long_style_options[:show_group] : true
|
139
144
|
@show_user = long_style_options.key?(:show_user) ? long_style_options[:show_user] : true
|
145
|
+
@show_symbol_dest = long_style_options.key?(:show_symbol_dest) ? long_style_options[:show_symbol_dest] : false
|
146
|
+
@show_human_readable_size =
|
147
|
+
long_style_options.key?(:human_readable_size) ? long_style_options[:human_readable_size] : true
|
140
148
|
end
|
141
149
|
|
142
150
|
def init_git_status(show_git)
|
@@ -155,7 +163,7 @@ module ColorLS
|
|
155
163
|
end
|
156
164
|
|
157
165
|
def item_widths
|
158
|
-
@contents.map { |item| Unicode::DisplayWidth.of(item.show) +
|
166
|
+
@contents.map { |item| Unicode::DisplayWidth.of(item.show) + additional_chars_per_item }
|
159
167
|
end
|
160
168
|
|
161
169
|
def filter_hidden_contents
|
@@ -251,14 +259,36 @@ module ColorLS
|
|
251
259
|
end
|
252
260
|
|
253
261
|
def size_info(filesize)
|
254
|
-
|
255
|
-
size =
|
262
|
+
filesize = Filesize.new(filesize)
|
263
|
+
size = @show_human_readable_size ? filesize.pretty : filesize.to_s
|
264
|
+
size = size.split
|
265
|
+
size = justify_size_info(size)
|
256
266
|
return size.colorize(@colors[:file_large]) if filesize >= 512 * (1024 ** 2)
|
257
267
|
return size.colorize(@colors[:file_medium]) if filesize >= 128 * (1024 ** 2)
|
258
268
|
|
259
269
|
size.colorize(@colors[:file_small])
|
260
270
|
end
|
261
271
|
|
272
|
+
def chars_for_size
|
273
|
+
@chars_for_size ||= if @show_human_readable_size
|
274
|
+
MIN_SIZE_CHARS
|
275
|
+
else
|
276
|
+
max_size = @contents.max_by(&:size).size
|
277
|
+
reqd_chars = max_size.to_s.length
|
278
|
+
[reqd_chars, MIN_SIZE_CHARS].max
|
279
|
+
end
|
280
|
+
end
|
281
|
+
|
282
|
+
def justify_size_info(size)
|
283
|
+
size_num = size[0][0..-4].rjust(chars_for_size, ' ')
|
284
|
+
size_unit = @show_human_readable_size ? size[1].ljust(3, ' ') : size[1]
|
285
|
+
"#{size_num} #{size_unit}"
|
286
|
+
end
|
287
|
+
|
288
|
+
def clear_chars_for_size
|
289
|
+
@chars_for_size = nil
|
290
|
+
end
|
291
|
+
|
262
292
|
def mtime_info(file_mtime)
|
263
293
|
mtime = @time_style.start_with?('+') ? file_mtime.strftime(@time_style.delete_prefix('+')) : file_mtime.asctime
|
264
294
|
now = Time.now
|
@@ -315,7 +345,7 @@ module ColorLS
|
|
315
345
|
line_array.push links if @hard_links_count
|
316
346
|
line_array.push user_info(content) if @show_user
|
317
347
|
line_array.push group_info(content.group) if @show_group
|
318
|
-
line_array.
|
348
|
+
line_array.push(size_info(content.size), mtime_info(content.mtime))
|
319
349
|
line_array.join(' ')
|
320
350
|
end
|
321
351
|
|
@@ -331,6 +361,15 @@ module ColorLS
|
|
331
361
|
end
|
332
362
|
end
|
333
363
|
|
364
|
+
def update_content_if_show_symbol_dest(content, show_symbol_dest_flag)
|
365
|
+
return content unless show_symbol_dest_flag
|
366
|
+
return content unless content.symlink?
|
367
|
+
return content if content.link_target.nil?
|
368
|
+
return content if content.dead?
|
369
|
+
|
370
|
+
FileInfo.info(content.link_target)
|
371
|
+
end
|
372
|
+
|
334
373
|
def out_encode(str)
|
335
374
|
str.encode(Encoding.default_external, undef: :replace, replace: '')
|
336
375
|
end
|
@@ -341,10 +380,13 @@ module ColorLS
|
|
341
380
|
logo = value.gsub(/\\u[\da-f]{4}/i) { |m| [m[-4..].to_i(16)].pack('U') }
|
342
381
|
name = @hyperlink ? make_link(content) : content.show
|
343
382
|
name += content.directory? && @indicator_style != 'none' ? '/' : ' '
|
344
|
-
entry = "#{out_encode(logo)} #{out_encode(name)}"
|
383
|
+
entry = @icons ? "#{out_encode(logo)} #{out_encode(name)}" : out_encode(name).to_s
|
345
384
|
entry = entry.bright if !content.directory? && content.executable?
|
346
385
|
|
347
|
-
|
386
|
+
symlink_info_string = symlink_info(content)
|
387
|
+
content = update_content_if_show_symbol_dest(content,@show_symbol_dest)
|
388
|
+
|
389
|
+
"#{inode(content)} #{long_info(content)} #{git_info(content)} #{entry.colorize(color)}#{symlink_info_string}"
|
348
390
|
end
|
349
391
|
|
350
392
|
def ls_line(chunk, widths)
|
@@ -354,7 +396,7 @@ module ColorLS
|
|
354
396
|
entry = fetch_string(content, *options(content))
|
355
397
|
line << (' ' * padding)
|
356
398
|
line << ' ' << entry.encode(Encoding.default_external, undef: :replace)
|
357
|
-
padding = widths[i] - Unicode::DisplayWidth.of(content.show) -
|
399
|
+
padding = widths[i] - Unicode::DisplayWidth.of(content.show) - additional_chars_per_item
|
358
400
|
end
|
359
401
|
print line << "\n"
|
360
402
|
end
|
data/lib/colorls/fileinfo.rb
CHANGED
@@ -11,20 +11,21 @@ module ColorLS
|
|
11
11
|
|
12
12
|
attr_reader :stats, :name, :path, :parent
|
13
13
|
|
14
|
-
def initialize(name:, parent:, path: nil, link_info: true)
|
14
|
+
def initialize(name:, parent:, path: nil, link_info: true, show_filepath: false)
|
15
15
|
@name = name
|
16
16
|
@parent = parent
|
17
17
|
@path = path.nil? ? File.join(parent, name) : +path
|
18
18
|
@stats = File.lstat(@path)
|
19
|
-
@show_name = nil
|
20
19
|
|
21
20
|
@path.force_encoding(ColorLS.file_encoding)
|
22
21
|
|
23
22
|
handle_symlink(@path) if link_info && @stats.symlink?
|
23
|
+
set_show_name(use_path: show_filepath)
|
24
24
|
end
|
25
25
|
|
26
|
-
def self.info(path, link_info: true)
|
27
|
-
FileInfo.new(name: File.basename(path), parent: File.dirname(path), path: path, link_info: link_info
|
26
|
+
def self.info(path, link_info: true, show_filepath: false)
|
27
|
+
FileInfo.new(name: File.basename(path), parent: File.dirname(path), path: path, link_info: link_info,
|
28
|
+
show_filepath: show_filepath)
|
28
29
|
end
|
29
30
|
|
30
31
|
def self.dir_entry(dir, child, link_info: true)
|
@@ -32,10 +33,7 @@ module ColorLS
|
|
32
33
|
end
|
33
34
|
|
34
35
|
def show
|
35
|
-
|
36
|
-
|
37
|
-
@show_name = @name.encode(Encoding.find('filesystem'), Encoding.default_external,
|
38
|
-
invalid: :replace, undef: :replace)
|
36
|
+
@show_name
|
39
37
|
end
|
40
38
|
|
41
39
|
def dead?
|
@@ -69,7 +67,7 @@ module ColorLS
|
|
69
67
|
name
|
70
68
|
end
|
71
69
|
|
72
|
-
def_delegators :@stats, :directory?, :socket?, :chardev?, :symlink?, :blockdev?, :mtime, :nlink, :size, :owned
|
70
|
+
def_delegators :@stats, :directory?, :socket?, :chardev?, :symlink?, :blockdev?, :mtime, :nlink, :size, :owned?,
|
73
71
|
:executable?
|
74
72
|
|
75
73
|
private
|
@@ -80,5 +78,21 @@ module ColorLS
|
|
80
78
|
rescue SystemCallError => e
|
81
79
|
$stderr.puts "cannot read symbolic link: #{e}"
|
82
80
|
end
|
81
|
+
|
82
|
+
def show_basename
|
83
|
+
@name.encode(Encoding.find('filesystem'), Encoding.default_external,
|
84
|
+
invalid: :replace, undef: :replace)
|
85
|
+
end
|
86
|
+
|
87
|
+
def show_relative_path
|
88
|
+
@path.encode(Encoding.find('filesystem'), Encoding.default_external,
|
89
|
+
invalid: :replace, undef: :replace)
|
90
|
+
end
|
91
|
+
|
92
|
+
def set_show_name(use_path: false)
|
93
|
+
@show_name = show_basename unless use_path
|
94
|
+
@show_name = show_basename if directory?
|
95
|
+
@show_name = show_relative_path if use_path
|
96
|
+
end
|
83
97
|
end
|
84
98
|
end
|
data/lib/colorls/flags.rb
CHANGED
@@ -2,7 +2,6 @@
|
|
2
2
|
|
3
3
|
require 'optparse'
|
4
4
|
require 'colorls/version'
|
5
|
-
require 'ostruct'
|
6
5
|
|
7
6
|
module ColorLS
|
8
7
|
class Flags
|
@@ -31,6 +30,8 @@ module ColorLS
|
|
31
30
|
process_args
|
32
31
|
end
|
33
32
|
|
33
|
+
Option = Struct.new(:flags, :desc)
|
34
|
+
|
34
35
|
def options
|
35
36
|
list = @parser.top.list + @parser.base.list
|
36
37
|
|
@@ -40,7 +41,7 @@ module ColorLS
|
|
40
41
|
flags = o.short + o.long
|
41
42
|
next if flags.empty?
|
42
43
|
|
43
|
-
|
44
|
+
Option.new(flags, o.desc)
|
44
45
|
end
|
45
46
|
|
46
47
|
result.compact
|
@@ -57,7 +58,7 @@ module ColorLS
|
|
57
58
|
|
58
59
|
def group_files_and_directories
|
59
60
|
infos = @args.flat_map do |arg|
|
60
|
-
FileInfo.info(arg)
|
61
|
+
FileInfo.info(arg, show_filepath: true)
|
61
62
|
rescue Errno::ENOENT
|
62
63
|
$stderr.puts "colorls: Specified path '#{arg}' doesn't exist.".colorize(:red)
|
63
64
|
@exit_status_code = 2
|
@@ -174,6 +175,7 @@ module ColorLS
|
|
174
175
|
end
|
175
176
|
options.on('-x', 'list entries by lines instead of by columns') { @opts[:mode] = :horizontal }
|
176
177
|
options.on('-C', 'list entries by columns instead of by lines') { @opts[:mode] = :vertical }
|
178
|
+
options.on('--without-icons', 'list entries without icons') { @opts[:icons] = false }
|
177
179
|
end
|
178
180
|
|
179
181
|
def default_long_style_options
|
@@ -181,13 +183,30 @@ module ColorLS
|
|
181
183
|
show_group: true,
|
182
184
|
show_user: true,
|
183
185
|
time_style: '',
|
184
|
-
hard_links_count: true
|
186
|
+
hard_links_count: true,
|
187
|
+
show_symbol_dest: false,
|
188
|
+
human_readable_size: true
|
185
189
|
}
|
186
190
|
end
|
187
191
|
|
188
192
|
def add_long_style_options(options)
|
189
193
|
long_style_options = default_long_style_options
|
190
194
|
options.on('-l', '--long', 'use a long listing format') { @opts[:mode] = :long }
|
195
|
+
long_style_options = set_long_style_user_and_group_options(options, long_style_options)
|
196
|
+
options.on('--time-style=FORMAT', String, 'use time display format') do |time_style|
|
197
|
+
long_style_options[:time_style] = time_style
|
198
|
+
end
|
199
|
+
options.on('--no-hardlinks', 'show no hard links count in a long listing') do
|
200
|
+
long_style_options[:hard_links_count] = false
|
201
|
+
end
|
202
|
+
long_style_options = get_long_style_symlink_options(options, long_style_options)
|
203
|
+
options.on('--non-human-readable', 'show file sizes in bytes only') do
|
204
|
+
long_style_options[:human_readable_size] = false
|
205
|
+
end
|
206
|
+
@opts[:long_style_options] = long_style_options
|
207
|
+
end
|
208
|
+
|
209
|
+
def set_long_style_user_and_group_options(options, long_style_options)
|
191
210
|
options.on('-o', 'use a long listing format without group information') do
|
192
211
|
@opts[:mode] = :long
|
193
212
|
long_style_options[:show_group] = false
|
@@ -199,13 +218,14 @@ module ColorLS
|
|
199
218
|
options.on('-G', '--no-group', 'show no group information in a long listing') do
|
200
219
|
long_style_options[:show_group] = false
|
201
220
|
end
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
221
|
+
long_style_options
|
222
|
+
end
|
223
|
+
|
224
|
+
def get_long_style_symlink_options(options, long_style_options)
|
225
|
+
options.on('-L', 'show information on the destination of symbolic links') do
|
226
|
+
long_style_options[:show_symbol_dest] = true
|
207
227
|
end
|
208
|
-
|
228
|
+
long_style_options
|
209
229
|
end
|
210
230
|
|
211
231
|
def add_general_options(options)
|
data/lib/colorls/git.rb
CHANGED
@@ -52,7 +52,7 @@ module ColorLS
|
|
52
52
|
|
53
53
|
def git_prefix(repo_path)
|
54
54
|
[
|
55
|
-
IO.popen(['git', '-C', repo_path, 'rev-parse', '--show-prefix'], err:
|
55
|
+
IO.popen(['git', '-C', repo_path, 'rev-parse', '--show-prefix'], err: File::NULL, &:gets)&.chomp,
|
56
56
|
$CHILD_STATUS.success?
|
57
57
|
]
|
58
58
|
rescue Errno::ENOENT
|
data/lib/colorls/version.rb
CHANGED
data/lib/yaml/file_aliases.yaml
CHANGED
data/lib/yaml/files.yaml
CHANGED
data/man/colorls.1
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
.\" generated with Ronn/v0.7.3
|
2
2
|
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
3
3
|
.
|
4
|
-
.TH "COLORLS" "1" "April
|
4
|
+
.TH "COLORLS" "1" "April 2023" "colorls 1.5.0" "colorls Manual"
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBcolorls\fR \- list directory contents with colors and icons
|
@@ -79,6 +79,10 @@ list entries by lines instead of by columns
|
|
79
79
|
list entries by columns instead of by lines
|
80
80
|
.
|
81
81
|
.TP
|
82
|
+
\fB\-\-without\-icons\fR
|
83
|
+
list entries without icons
|
84
|
+
.
|
85
|
+
.TP
|
82
86
|
\fB\-l\fR, \fB\-\-long\fR
|
83
87
|
use a long listing format
|
84
88
|
.
|
@@ -103,6 +107,14 @@ use time display format
|
|
103
107
|
show no hard links count in a long listing
|
104
108
|
.
|
105
109
|
.TP
|
110
|
+
\fB\-L\fR
|
111
|
+
show information on the destination of symbolic links
|
112
|
+
.
|
113
|
+
.TP
|
114
|
+
\fB\-\-non\-human\-readable\fR
|
115
|
+
show file sizes in bytes only
|
116
|
+
.
|
117
|
+
.TP
|
106
118
|
\fB\-\-sd\fR, \fB\-\-sort\-dirs\fR, \fB\-\-group\-directories\-first\fR
|
107
119
|
sort directories first
|
108
120
|
.
|
data/zsh/_colorls
CHANGED
@@ -24,6 +24,7 @@ _arguments -s -S \
|
|
24
24
|
"--tree[shows tree view of the directory]" \
|
25
25
|
"-x[list entries by lines instead of by columns]" \
|
26
26
|
"-C[list entries by columns instead of by lines]" \
|
27
|
+
"--without-icons[list entries without icons]" \
|
27
28
|
"-l[use a long listing format]" \
|
28
29
|
"--long[use a long listing format]" \
|
29
30
|
"-o[use a long listing format without group information]" \
|
@@ -32,6 +33,8 @@ _arguments -s -S \
|
|
32
33
|
"--no-group[show no group information in a long listing]" \
|
33
34
|
"--time-style[use time display format]" \
|
34
35
|
"--no-hardlinks[show no hard links count in a long listing]" \
|
36
|
+
"-L[show information on the destination of symbolic links]" \
|
37
|
+
"--non-human-readable[show file sizes in bytes only]" \
|
35
38
|
"--sd[sort directories first]" \
|
36
39
|
"--sort-dirs[sort directories first]" \
|
37
40
|
"--group-directories-first[sort directories first]" \
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: colorls
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Athitya Kumar
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-07-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|
@@ -138,16 +138,16 @@ dependencies:
|
|
138
138
|
name: diffy
|
139
139
|
requirement: !ruby/object:Gem::Requirement
|
140
140
|
requirements:
|
141
|
-
- -
|
141
|
+
- - '='
|
142
142
|
- !ruby/object:Gem::Version
|
143
|
-
version:
|
143
|
+
version: 3.4.2
|
144
144
|
type: :development
|
145
145
|
prerelease: false
|
146
146
|
version_requirements: !ruby/object:Gem::Requirement
|
147
147
|
requirements:
|
148
|
-
- -
|
148
|
+
- - '='
|
149
149
|
- !ruby/object:Gem::Version
|
150
|
-
version:
|
150
|
+
version: 3.4.2
|
151
151
|
- !ruby/object:Gem::Dependency
|
152
152
|
name: rake
|
153
153
|
requirement: !ruby/object:Gem::Requirement
|
@@ -224,28 +224,28 @@ dependencies:
|
|
224
224
|
requirements:
|
225
225
|
- - "~>"
|
226
226
|
- !ruby/object:Gem::Version
|
227
|
-
version: 1.
|
227
|
+
version: 1.50.1
|
228
228
|
type: :development
|
229
229
|
prerelease: false
|
230
230
|
version_requirements: !ruby/object:Gem::Requirement
|
231
231
|
requirements:
|
232
232
|
- - "~>"
|
233
233
|
- !ruby/object:Gem::Version
|
234
|
-
version: 1.
|
234
|
+
version: 1.50.1
|
235
235
|
- !ruby/object:Gem::Dependency
|
236
236
|
name: rubocop-performance
|
237
237
|
requirement: !ruby/object:Gem::Requirement
|
238
238
|
requirements:
|
239
239
|
- - "~>"
|
240
240
|
- !ruby/object:Gem::Version
|
241
|
-
version: 1.
|
241
|
+
version: 1.17.1
|
242
242
|
type: :development
|
243
243
|
prerelease: false
|
244
244
|
version_requirements: !ruby/object:Gem::Requirement
|
245
245
|
requirements:
|
246
246
|
- - "~>"
|
247
247
|
- !ruby/object:Gem::Version
|
248
|
-
version: 1.
|
248
|
+
version: 1.17.1
|
249
249
|
- !ruby/object:Gem::Dependency
|
250
250
|
name: rubocop-rake
|
251
251
|
requirement: !ruby/object:Gem::Requirement
|
@@ -266,14 +266,14 @@ dependencies:
|
|
266
266
|
requirements:
|
267
267
|
- - "~>"
|
268
268
|
- !ruby/object:Gem::Version
|
269
|
-
version: 2.
|
269
|
+
version: 2.20.0
|
270
270
|
type: :development
|
271
271
|
prerelease: false
|
272
272
|
version_requirements: !ruby/object:Gem::Requirement
|
273
273
|
requirements:
|
274
274
|
- - "~>"
|
275
275
|
- !ruby/object:Gem::Version
|
276
|
-
version: 2.
|
276
|
+
version: 2.20.0
|
277
277
|
- !ruby/object:Gem::Dependency
|
278
278
|
name: rubygems-tasks
|
279
279
|
requirement: !ruby/object:Gem::Requirement
|
@@ -294,15 +294,15 @@ dependencies:
|
|
294
294
|
requirements:
|
295
295
|
- - "~>"
|
296
296
|
- !ruby/object:Gem::Version
|
297
|
-
version: 0.
|
297
|
+
version: 0.22.0
|
298
298
|
type: :development
|
299
299
|
prerelease: false
|
300
300
|
version_requirements: !ruby/object:Gem::Requirement
|
301
301
|
requirements:
|
302
302
|
- - "~>"
|
303
303
|
- !ruby/object:Gem::Version
|
304
|
-
version: 0.
|
305
|
-
description:
|
304
|
+
version: 0.22.0
|
305
|
+
description:
|
306
306
|
email:
|
307
307
|
- athityakumar@gmail.com
|
308
308
|
executables:
|
@@ -378,12 +378,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
378
378
|
version: 2.6.0
|
379
379
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
380
380
|
requirements:
|
381
|
-
- - "
|
381
|
+
- - ">="
|
382
382
|
- !ruby/object:Gem::Version
|
383
|
-
version:
|
383
|
+
version: '0'
|
384
384
|
requirements: []
|
385
|
-
rubygems_version: 3.
|
386
|
-
signing_key:
|
385
|
+
rubygems_version: 3.4.22
|
386
|
+
signing_key:
|
387
387
|
specification_version: 4
|
388
388
|
summary: A Ruby CLI gem that beautifies the terminal's ls command, with color and
|
389
389
|
font-awesome icons.
|