directory_paradise 1.4.6 → 1.4.8

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: 9de1c871c7ae3a931631cec20714bdb1a4a9596aa0315a20f07050fe56088a5c
4
- data.tar.gz: 1f3459eba6a305f936708488c955b2148ed80ade2fcf392254e9873637c579d7
3
+ metadata.gz: 1aede3b1e223960690850c8c7977f8336ee764b26925810438abbd63f10b3efa
4
+ data.tar.gz: f55c5a3618a5f7f8986eb378b414f518c6cd655e30b30c5f90b0a6fe1f9dfd24
5
5
  SHA512:
6
- metadata.gz: 97946fee54b5b09d32088603cb1749493e7f997f4ec1acaece6334f9c06a5d2d5600641903da9ad95fc189f910fb95a9930006fed39a8165402d89505dab045a
7
- data.tar.gz: ae3f3a939732987b0a673c4a743911d5d79bb7fe70f1ef49fde084a3aa0368c74d81a8e16a337959ada5ff4184b1e7ea06a1f477eb4dca53772435fbd561888d
6
+ metadata.gz: 75fd29fd36ca8d2d54cf8bd6f6cf4fef80f57fbffde6185fe0aae0a37960d27e9881dc41e51e7222768abbdee96b0bc5701f174b5313c9d7fea85855354aa290
7
+ data.tar.gz: 20366da7abf0f1dcad5fe832f1336189202d9edfa4c6b8aa0c2d5d9ff44d7c50ac234d4026d5617fa0063394ca46b9b0653ad1b01b207da580ce28d39d5973dc
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:22:08</span> o'clock.
8
+ This gem was <b>last updated</b> on the <span style="color: darkblue; font-weight: bold">09.11.2023</span> (dd.mm.yyyy notation), at <span style="color: steelblue; font-weight: bold">15:21:59</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,13 +1467,17 @@ class Report < Base # === DirectoryParadise::Report
1467
1467
  cmd = "#{rev}contains "+
1468
1468
  sfile(
1469
1469
  n_files.to_s+' file'+file_string
1470
- )+', '+
1470
+ )+rev+', '+
1471
1471
  sdir(
1472
1472
  n_directories.to_s+' director'+directory_string
1473
- )+' and '+
1473
+ )+
1474
+ rev+
1475
+ ' and '+
1474
1476
  ssymlink(
1475
1477
  n_symlinks.to_s+' symlink'+symlink_string
1476
- )+'.'
1478
+ )+
1479
+ rev+
1480
+ '.'
1477
1481
  append("#{rev}contains "+
1478
1482
  n_files.to_s+' file'+file_string+
1479
1483
  ', '+
@@ -1510,11 +1514,11 @@ class Report < Base # === DirectoryParadise::Report
1510
1514
  if show_modification_time
1511
1515
  modtime = 'ModTime'.ljust(8)
1512
1516
  raw_append(modtime)
1513
- header << modtime
1517
+ header << rev+modtime
1514
1518
  end
1515
- header << 'FileSize'.ljust(9)
1519
+ header << rev+'FileSize'.ljust(9)
1516
1520
  raw_append('FileSize'.ljust(9))
1517
- header << 'Name'.ljust(5)
1521
+ header << rev+'Name'.ljust(5)
1518
1522
  append('Name'.ljust(5))
1519
1523
  eliner
1520
1524
  append(:liner)
@@ -1581,7 +1585,9 @@ class Report < Base # === DirectoryParadise::Report
1581
1585
  index_to_display = index_to_display.ljust(use_this_value_for_ljusting)
1582
1586
  raw_append(index_to_display)
1583
1587
  if use_colours?
1584
- index_to_display.gsub!(/\((.+)\)/, '('+sfancy("\\1")+')')
1588
+ index_to_display.gsub!( # Colourize the index here.
1589
+ /\((.+)\)/, '('+sfancy("\\1")+rev+')'
1590
+ )
1585
1591
  end
1586
1592
  line << index_to_display
1587
1593
  end
@@ -1611,7 +1617,7 @@ class Report < Base # === DirectoryParadise::Report
1611
1617
  inner_hash[:ascii_representation]
1612
1618
  ).ljust(11)
1613
1619
  )
1614
- line << return_file_permission_of(
1620
+ line << rev+return_file_permission_of(
1615
1621
  inner_hash[:ascii_representation]
1616
1622
  ).ljust(11)
1617
1623
  end
@@ -9,11 +9,11 @@ class DirectoryParadise
9
9
  # ========================================================================= #
10
10
  # === VERSION
11
11
  # ========================================================================= #
12
- VERSION = '1.4.6'
12
+ VERSION = '1.4.8'
13
13
 
14
14
  # ========================================================================= #
15
15
  # === LAST_UPDATE
16
16
  # ========================================================================= #
17
- LAST_UPDATE = '08.11.2023'
17
+ LAST_UPDATE = '09.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.6
4
+ version: 1.4.8
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-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: colours