directory_paradise 1.4.7 → 1.4.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7a205e5526d80523af53664668e5b543cf60804e61add6563e052f51d6cfe372
4
- data.tar.gz: b4d52aa754765b6091abe0be842d889f7ce54ba313678972702ce6b1855af4af
3
+ metadata.gz: 48c8977a944754af73f8ebf9edac3dfd45633fe4bdcbe8a113bb4a6d21871dcd
4
+ data.tar.gz: efae5303eefbb97cc341b691f56219f056b00324a661214d4fa63c21553615c8
5
5
  SHA512:
6
- metadata.gz: 73d4ff42c6dae72c7d8f2232fe2423ecd4df9b6376e6474b862309604349d6ecec14f883f63c63ec884253aae9c8593f08021329f4438556aa762d6d8f5f5c51
7
- data.tar.gz: fc26df9f3a07fc6dd016db2e4e1accbd333c5971169930b2a4631f638e1187c8398656b94066657ac58f66eb436ed80065be47b613535b8e3e335d820c1a251a
6
+ metadata.gz: 8c1cf0fd45f89e91916a9713d4a11424f36cdf4b6ca4324adf53c7fa55ff6d123a55131f00670883343f56ad87625e544894e382984d9e1f848a3186e4f7a178
7
+ data.tar.gz: 5992f6e554986097c1ce99e8268a8b17a5108b1c4db1b4b070a8107614b73fcefe084d1b0991138f9b9cdf6b9608932e188c9d13280fb67ef85b386f609e56fe
data/README.md CHANGED
@@ -5,7 +5,7 @@
5
5
  [![forthebadge](https://forthebadge.com/images/badges/made-with-ruby.svg)](https://www.ruby-lang.org/en/)
6
6
  [![Gem Version](https://badge.fury.io/rb/directory_paradise.svg)](https://badge.fury.io/rb/directory_paradise)
7
7
 
8
- This gem was <b>last updated</b> on the <span style="color: darkblue; font-weight: bold">08.11.2023</span> (dd.mm.yyyy notation), at <span style="color: steelblue; font-weight: bold">23:23:10</span> o'clock.
8
+ This gem was <b>last updated</b> on the <span style="color: darkblue; font-weight: bold">10.11.2023</span> (dd.mm.yyyy notation), at <span style="color: steelblue; font-weight: bold">15:42:26</span> o'clock.
9
9
 
10
10
  <img src="https://i.imgur.com/hbGDM7i.jpg">
11
11
 
@@ -304,7 +304,7 @@ class Report < Base # === DirectoryParadise::Report
304
304
  def try_to_report_the_total_filesize
305
305
  total_file_size = total_file_size?
306
306
  if total_file_size > 0
307
- ee "\nTotal file size in the directory "
307
+ ee "\n#{rev}Total file size in the directory "
308
308
  if use_colours?
309
309
  e colourize_directory(which_dir?)
310
310
  else
@@ -1467,17 +1467,13 @@ class Report < Base # === DirectoryParadise::Report
1467
1467
  cmd = "#{rev}contains "+
1468
1468
  sfile(
1469
1469
  n_files.to_s+' file'+file_string
1470
- )+rev+', '+
1470
+ )+"#{rev}, "+
1471
1471
  sdir(
1472
1472
  n_directories.to_s+' director'+directory_string
1473
- )+
1474
- rev+
1475
- ' and '+
1473
+ )+"#{rev} and "+
1476
1474
  ssymlink(
1477
1475
  n_symlinks.to_s+' symlink'+symlink_string
1478
- )+
1479
- rev+
1480
- '.'
1476
+ )+"#{rev}."
1481
1477
  append("#{rev}contains "+
1482
1478
  n_files.to_s+' file'+file_string+
1483
1479
  ', '+
@@ -1514,11 +1510,11 @@ class Report < Base # === DirectoryParadise::Report
1514
1510
  if show_modification_time
1515
1511
  modtime = 'ModTime'.ljust(8)
1516
1512
  raw_append(modtime)
1517
- header << modtime
1513
+ header << rev+modtime
1518
1514
  end
1519
- header << 'FileSize'.ljust(9)
1515
+ header << rev+'FileSize'.ljust(9)
1520
1516
  raw_append('FileSize'.ljust(9))
1521
- header << 'Name'.ljust(5)
1517
+ header << rev+'Name'.ljust(5)
1522
1518
  append('Name'.ljust(5))
1523
1519
  eliner
1524
1520
  append(:liner)
@@ -1585,7 +1581,9 @@ class Report < Base # === DirectoryParadise::Report
1585
1581
  index_to_display = index_to_display.ljust(use_this_value_for_ljusting)
1586
1582
  raw_append(index_to_display)
1587
1583
  if use_colours?
1588
- index_to_display.gsub!(/\((.+)\)/, '('+sfancy("\\1")+')')
1584
+ index_to_display.gsub!( # Colourize the index here.
1585
+ /\((.+)\)/, '('+sfancy("\\1")+rev+')'
1586
+ )
1589
1587
  end
1590
1588
  line << index_to_display
1591
1589
  end
@@ -1615,7 +1613,7 @@ class Report < Base # === DirectoryParadise::Report
1615
1613
  inner_hash[:ascii_representation]
1616
1614
  ).ljust(11)
1617
1615
  )
1618
- line << return_file_permission_of(
1616
+ line << rev+return_file_permission_of(
1619
1617
  inner_hash[:ascii_representation]
1620
1618
  ).ljust(11)
1621
1619
  end
@@ -9,11 +9,11 @@ class DirectoryParadise
9
9
  # ========================================================================= #
10
10
  # === VERSION
11
11
  # ========================================================================= #
12
- VERSION = '1.4.7'
12
+ VERSION = '1.4.9'
13
13
 
14
14
  # ========================================================================= #
15
15
  # === LAST_UPDATE
16
16
  # ========================================================================= #
17
- LAST_UPDATE = '08.11.2023'
17
+ LAST_UPDATE = '10.11.2023'
18
18
 
19
19
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: directory_paradise
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.7
4
+ version: 1.4.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Robert A. Heiler
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-11-08 00:00:00.000000000 Z
11
+ date: 2023-11-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: colours