pipetext 0.0.5 → 0.0.7
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/bin/pipetext +8 -1
- data/lib/pipetext.rb +3 -0
- data/lib/substitute_emoji_names.rb +1913 -0
- metadata +42 -36
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pipetext
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.7
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Minaswan Nakamoto
|
|
@@ -9,41 +9,46 @@ bindir: bin
|
|
|
9
9
|
cert_chain: []
|
|
10
10
|
date: 1980-01-02 00:00:00.000000000 Z
|
|
11
11
|
dependencies: []
|
|
12
|
-
description:
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
12
|
+
description: "== Easily add colors, boxes, repetitions and emojis to your terminal
|
|
13
|
+
output using pipes (|).\n \n Install using the Ruby Gem:\n \n > gem install
|
|
14
|
+
pipetext\n \n Includes a Ruby library module which can be included in your code:\n
|
|
15
|
+
\ \n require 'pipetext'\n\n class YellowPrinter\n include PipeText\n def
|
|
16
|
+
print(string)\n write('|Y' + string + '|n')\n end\n end\n\n printer =
|
|
17
|
+
YellowPrinter.new\n printer.print('This is yellow')\n \n The gem includes a command
|
|
18
|
+
line interface too:\n \n > pipetext\n\n > pipetext '|Ccyan|n'\n \nUse the ++pipetext++
|
|
19
|
+
command to see other options and examples.\n\n | pipe || & ampersand &&
|
|
20
|
+
\ Toggle (&) background color mode |&\n smoke |s white |W black
|
|
21
|
+
text on white background |k&w\n red |r bright red |R red background
|
|
22
|
+
\ &r\n green |g bright green |G green background &g\n blue |b
|
|
23
|
+
\ bright blue |B blue background &b\n cyan |c bright cyan |C
|
|
24
|
+
\ cyan background &c\n yellow |y bright yellow |Y yellow background
|
|
25
|
+
\ &y\n magenta |m bright magenta |M magenta background &m\n Hex RGB color
|
|
26
|
+
codes: Foreground |#RRGGBB Background &#RRGGBB\n Palette colors (256)
|
|
27
|
+
using Hex: |p33&pF8 Clear Screen |!\n black with white background |K&w
|
|
28
|
+
\ Blinking |@\n white with magenta background |w&m invert
|
|
29
|
+
\ |i\n smoke with green background |s&g Underlined |_\n
|
|
30
|
+
\ red with cyan background |r&c Italics |~\n bright red
|
|
31
|
+
with blue background |R&b Bold |+\n green with yellow background
|
|
32
|
+
\ |g&y Faint |.\n bright green with red background |G&r
|
|
33
|
+
\ Crossed out |x\n normal color and background |n&n Escape
|
|
34
|
+
Sequence |\n Example unicode sequences: https://unicode.org/emoji/charts/full-emoji-list.html\n
|
|
35
|
+
\ |[CLDR Short Name] ⚙ |[gear] \U0001F60D |[smiling face with heart-eyes]
|
|
36
|
+
\ \U0001F4A4 |[zzz]\n ✔ |U2714 ❌ |U274c ☮
|
|
37
|
+
|u262E \U0001F48E |u1f48e \U0001F49C |u1f49c\n \n Single or double line
|
|
38
|
+
box mode with |- or |=\n \n ┌──┬──┐ ╔══╦══╗ +--+--+ <-- Draw this
|
|
39
|
+
with this: |15 |-[--v--] |=[--v--] |o[--v--]\n │ │ │ ║ ║ ║
|
|
40
|
+
| | | |15 |-! ! ! |=! ! ! |o! ! !\n 123456789012345├──┴──┤
|
|
41
|
+
╠══╩══╣ +--+--+ |y1234567890|g12345|n|->--^--< |=>--^--< |o>--^--< \n
|
|
42
|
+
\ 15 Spaces │ │ ║ ║ | | |c15|n Spaces|6 |-! !
|
|
43
|
+
|=! ! |o! !\n (|15 ) └─────┘ ╚═════╝ +-----+ (||15
|
|
44
|
+
)|9 |-{-----} |={-----} |o{-----}\n \n ┌──────────────────┐ ╔════════════════════╗
|
|
45
|
+
\ |-[|18-]|4 |g&m|=[|20-]|n&n|O\n │ │ ║ ║
|
|
46
|
+
\ |-!|18 !|4 |g&m|=!|20 !|n&n|O\n ├──────────────────┤ ╠════════════════════╣
|
|
47
|
+
\ |->|18-<|4 &m|g|=>|20-<|n&n|O\n │ │ ║ ║
|
|
48
|
+
\ |-!|18 !|4 |g&m|=!|20 !|n&n|O\n └──────────────────┘ ╚════════════════════╝
|
|
49
|
+
\ |-{|18-}|4 |g&m|={|20-}|n&n|O\n \n Repetition using | followed by
|
|
50
|
+
the number of characters to repeat and then the character to repeat.\n |15* does
|
|
51
|
+
the * character 15 times like this: ***************\n\n"
|
|
47
52
|
email: minaswan.nakamoto@onionmail.org
|
|
48
53
|
executables:
|
|
49
54
|
- pipetext
|
|
@@ -52,6 +57,7 @@ extra_rdoc_files: []
|
|
|
52
57
|
files:
|
|
53
58
|
- bin/pipetext
|
|
54
59
|
- lib/pipetext.rb
|
|
60
|
+
- lib/substitute_emoji_names.rb
|
|
55
61
|
homepage: https://github.com/MinaswanNakamoto/pipetext
|
|
56
62
|
licenses:
|
|
57
63
|
- MIT
|