L2 0.5.0 → 0.5.2
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 +4 -4
- data/lib/L2.rb +3 -0
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8f5e9930b82ffc7f5f3a66591eee6ffc2c97a1db169bb202f39fb39871fecb69
|
|
4
|
+
data.tar.gz: 64b6423227df08d3b7796a8b087cb761b1e3aaf9bf17956718174dc6ca965af7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d6fe2e60bbeadec8ff814e7484236a3045d1d35fe0ab8fdd658eb49d5bc1059ee08a55b946650a3cf415ec2a7d705b98d2ea43c97cd90466b73a6aa96cbf2855
|
|
7
|
+
data.tar.gz: 88011e6b7a0160c64cb3381c6580f9bf11d248fd5fe2b5a047f3639477ba05902d4a7d59cadce53f36ba26b47631b31baba55d61edb3a169ba351f8002d1a23d
|
data/lib/L2.rb
CHANGED
|
@@ -238,7 +238,10 @@ module L2
|
|
|
238
238
|
|
|
239
239
|
|
|
240
240
|
def self.pretty(message, colour = :default, bg_colour = :default)
|
|
241
|
+
|
|
241
242
|
width = WIDTH - message.length - 4
|
|
243
|
+
width = 1 if width.negative?
|
|
244
|
+
|
|
242
245
|
return colorize("\ \ #{ message } #{"\ " * width}", colour, bg_colour)
|
|
243
246
|
end
|
|
244
247
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: L2
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.5.
|
|
4
|
+
version: 0.5.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- The Lesli Development Team
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2023-01-03 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: ruby_cowsay
|
|
@@ -39,7 +39,7 @@ metadata:
|
|
|
39
39
|
homepage_uri: https://github.com/LesliTech/L2
|
|
40
40
|
source_code_uri: https://github.com/LesliTech/L2
|
|
41
41
|
bug_tracker_uri: https://github.com/LesliTech/L2/issues
|
|
42
|
-
changelog_uri: https://github.com/LesliTech/L2/releases/tag/v0.5.
|
|
42
|
+
changelog_uri: https://github.com/LesliTech/L2/releases/tag/v0.5.2
|
|
43
43
|
post_install_message:
|
|
44
44
|
rdoc_options: []
|
|
45
45
|
require_paths:
|