pipetext 0.0.8 → 0.0.10

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.
Files changed (2) hide show
  1. checksums.yaml +2 -2
  2. metadata +34 -32
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0cc6c0a3a532bec65b346130ac6d78b3036716b1f7042af23ac67d95fc28ab67
3
+ metadata.gz: 5b2e1a080644730f868e78586011ddc90539fe22ecf6eacca67c9827f49283ce
4
4
  data.tar.gz: bbd2b7e0ed511c0131c16ceeed533166623aeb3615aeabb90c8444b8e60a62aa
5
5
  SHA512:
6
- metadata.gz: d205b6a36af4b2b5c7ea8e7296a65e9ccbe274af47ae27d183f78f0300acd6d203153145e0c15b919b40936d70b32a482f4a5d4e8c7b6d48fea58f803f3bec80
6
+ metadata.gz: 5feb77c9978527e168a0edd00c99c0e45352f3b971a106f79e4d3424d681bf2e0a5f6a489ad0d74a9d753c5f4b031af156e0f85d5f3c96617a6eb7961201bbaa
7
7
  data.tar.gz: 3e96cde336b0135da5af4c5eb6a131125ca7e2f084248fa30172626722f717499095f3368dd965b6994f28ad7df99387592646a1a34485ab13a8ec1b36bd7837
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.8
4
+ version: 0.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Minaswan Nakamoto
@@ -15,37 +15,39 @@ description: "== Easily add colors, boxes, repetitions and emojis to your termin
15
15
  \ \n require 'pipetext'\n\n class YellowPrinter\n include PipeText\n def
16
16
  print(string)\n write('|Y' + string + '|n')\n end\n end\n\n printer =
17
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 \n==Use the
19
- ++pipetext++ command to see other options and examples.\n\n| pipe || & ampersand
20
- \ && Toggle (&) background color mode |&\nsmoke |s white |W
21
- \ black text on white background |k&w\nred |r bright red |R red
22
- background &r\ngreen |g bright green |G green background &g\nblue
23
- \ |b bright blue |B blue background &b\ncyan |c bright cyan
24
- \ |C cyan background &c\nyellow |y bright yellow |Y yellow background
25
- \ &y\nmagenta |m bright magenta |M magenta background &m\nHex RGB color
26
- codes: Foreground |#RRGGBB Background &#RRGGBB\nPalette colors (256) using
27
- Hex: |p33&pF8 Clear Screen |!\nblack with white background |K&w Blinking
28
- \ |@\nwhite with magenta background |w&m invert |i\nsmoke
29
- with green background |s&g Underlined |_\nred with cyan background
30
- \ |r&c Italics |~\nbright red with blue background |R&b
31
- \ Bold |+\ngreen with yellow background |g&y Faint |.\nbright
32
- green with red background |G&r Crossed out |x\nnormal color and background
33
- \ |n&n Escape Sequence |<BR>\nExample unicode sequences: https://unicode.org/emoji/charts/full-emoji-list.html\n|[CLDR
34
- Short Name] ⚙ |[gear] \U0001F60D |[smiling face with heart-eyes] \U0001F4A4
35
- |[zzz]\n ✔ |U2714 ❌ |U274c ☮ |u262E \U0001F48E
36
- |u1f48e \U0001F49C |u1f49c\n<BR>\nSingle or double line box mode with |- or
37
- |=\n\n ┌──┬──┐ ╔══╦══╗ +--+--+ <-- Draw this with this: |15 |-[--v--]
38
- |=[--v--] |o[--v--]\n │ │ │ ║ ║ | | | |15
39
- |-! ! ! |=! ! ! |o! ! !\n123456789012345├──┴──┤ ╠══╩══╣ +--+--+ |y1234567890|g12345|n|->--^--<
40
- |=>--^--< |o>--^--< \n15 Spaces │ │ ║ ║ | | |c15|n
41
- Spaces|6 |-! ! |=! ! |o! !\n(|15 ) └─────┘ ╚═════╝ +-----+ (||15
42
- )|9 |-{-----} |={-----} |o{-----}\n\n┌──────────────────┐ ╔════════════════════╗
43
- \ |-[|18-]|4 |g&m|=[|20-]|n&n|O\n│ │ ║ ║
44
- \ |-!|18 !|4 |g&m|=!|20 !|n&n|O\n├──────────────────┤ ╠════════════════════╣
45
- \ |->|18-<|4 &m|g|=>|20-<|n&n|O\n│ │ ║ ║
46
- \ |-!|18 !|4 |g&m|=!|20 !|n&n|O\n└──────────────────┘ ╚════════════════════╝
47
- \ |-{|18-}|4 |g&m|={|20-}|n&n|O\n\nRepetition using | followed by the
48
- number of characters to repeat and then the character to repeat.\n|15* does the
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 \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 the
50
+ number of characters to repeat and then the character to repeat.\n |15* does the
49
51
  * character 15 times like this: ***************\n"
50
52
  email: minaswan.nakamoto@onionmail.org
51
53
  executables: