colorls 1.4.4.pre.868 → 1.4.5.pre.875
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/colorls.gemspec +1 -1
- data/lib/colorls/core.rb +1 -0
- data/lib/colorls/fileinfo.rb +3 -1
- data/lib/colorls/flags.rb +1 -1
- data/lib/colorls/version.rb +1 -1
- data/lib/yaml/dark_colors.yaml +2 -1
- data/lib/yaml/light_colors.yaml +1 -0
- data/man/colorls.1 +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 69c7fa254c9d4833031ac4cdf64643bf2c3873b2654e82e3420762fd34261928
|
4
|
+
data.tar.gz: c6658c1eb2da5abdadaa2582373aba1eca7b757fa53940ae5d650f4579423903
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 27d79f71201501b2e4d4fb7566977abed7dbd0ba3daf0ed172c3b4a755306adf593cb8e17b1b8e0e735a24878796ce8afb22a8c5ea01fd5eabbe5919b783fc76
|
7
|
+
data.tar.gz: 1e123393958faec03d8217d31374d91fd6d46621734c4d7c6886852a21314645aac18229ae881c9db78b6189da4be453a821a0d92ed2c0180c26ba1db7dcf6cc
|
data/colorls.gemspec
CHANGED
@@ -77,7 +77,7 @@ Gem::Specification.new do |spec|
|
|
77
77
|
spec.add_development_dependency 'rspec', '~> 3.7'
|
78
78
|
spec.add_development_dependency 'rspec-its', '~> 1.2'
|
79
79
|
spec.add_development_dependency 'rubocop', '~> 1.11.0'
|
80
|
-
spec.add_development_dependency 'rubocop-performance', '~> 1.
|
80
|
+
spec.add_development_dependency 'rubocop-performance', '~> 1.10.1'
|
81
81
|
spec.add_development_dependency 'rubocop-rake', '~> 0.5'
|
82
82
|
spec.add_development_dependency 'rubocop-rspec', '~> 2.0'
|
83
83
|
spec.add_development_dependency 'rubygems-tasks', '~> 0'
|
data/lib/colorls/core.rb
CHANGED
@@ -333,6 +333,7 @@ module ColorLS
|
|
333
333
|
when file.chardev? then :chardev
|
334
334
|
when file.blockdev? then :blockdev
|
335
335
|
when file.socket? then :socket
|
336
|
+
when file.executable? then :executable_file
|
336
337
|
when @files.key?(key) then :recognized_file
|
337
338
|
else :unrecognized_file
|
338
339
|
end
|
data/lib/colorls/fileinfo.rb
CHANGED
@@ -14,10 +14,12 @@ module ColorLS
|
|
14
14
|
def initialize(name:, parent:, path: nil, link_info: true)
|
15
15
|
@name = name
|
16
16
|
@parent = parent
|
17
|
-
@path = path.nil? ? File.join(parent, name) : path
|
17
|
+
@path = path.nil? ? File.join(parent, name) : +path
|
18
18
|
@stats = File.lstat(@path)
|
19
19
|
@show_name = nil
|
20
20
|
|
21
|
+
@path.force_encoding(ColorLS.file_encoding)
|
22
|
+
|
21
23
|
handle_symlink(@path) if link_info && @stats.symlink?
|
22
24
|
end
|
23
25
|
|
data/lib/colorls/flags.rb
CHANGED
data/lib/colorls/version.rb
CHANGED
data/lib/yaml/dark_colors.yaml
CHANGED
data/lib/yaml/light_colors.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" "
|
4
|
+
.TH "COLORLS" "1" "January 2021" "colorls 1.4.4" "colorls Manual"
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBcolorls\fR \- list directory contents with colors and icons
|
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.
|
4
|
+
version: 1.4.5.pre.875
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Athitya Kumar
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-03-
|
11
|
+
date: 2021-03-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|
@@ -238,14 +238,14 @@ dependencies:
|
|
238
238
|
requirements:
|
239
239
|
- - "~>"
|
240
240
|
- !ruby/object:Gem::Version
|
241
|
-
version: 1.
|
241
|
+
version: 1.10.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.10.1
|
249
249
|
- !ruby/object:Gem::Dependency
|
250
250
|
name: rubocop-rake
|
251
251
|
requirement: !ruby/object:Gem::Requirement
|