pipetext 0.2.6 → 0.2.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: 1a49c4a1db0607a10805da620311a16d0686fb29b5405d1edb329ac9eb3ba05c
4
- data.tar.gz: 761a90f52750d0c933996426770a4482d3edc8fa41890dfaa008cfcb118131cc
3
+ metadata.gz: ba53fc33438b2a42562a17da2505e8da554cd98f5d368036a78e2c90e71f8ad7
4
+ data.tar.gz: b982603d2a79f87c2f0d0a48e2bb60db73950d85137c5d19d98e0eb5504d8441
5
5
  SHA512:
6
- metadata.gz: b3635c1e4e698ef6e22694b29afcd7190f1eed0372e8c6f5647b8423fdab781c8f00aa95e6485edb9d465e7ec760073ca3d3af930ab5f34dac872a45e2a7a991
7
- data.tar.gz: 7e4f5b0b2a47d81103e605d0f9ecd3a72e1135d0901797d47db9fd272ffaa94633bd1bdb8a85ce9287768ac93dab02250663e89c47b7c40d78c8fa4b8943c47c
6
+ metadata.gz: 3674e697f5b8752e9c18d084cd842a7f993250d3b4c2a88793b068db87a7ae36bbe3d0d835da6861e1b79b53560b49bfaa8ceba8c02faf02eac770ae20da7082
7
+ data.tar.gz: 0a81c29b126508d23c687af4364af8c8c64ade4f5fbe89110b89f5dffef044051bec007da56502b2ad5b9ca5045747e7e35bd67e04a986bfa84d98675d8a0c70
@@ -1,5 +1,4 @@
1
1
  #!/usr/bin/env ruby
2
- # frozen_string_literal: true
3
2
 
4
3
  # Allow older versions of Ruby to respond to the require_relative method
5
4
  if(!Kernel.respond_to?(:require_relative))
@@ -10,12 +9,12 @@ if(!Kernel.respond_to?(:require_relative))
10
9
  end
11
10
  end
12
11
 
13
- require_relative '../lib/pipetext.rb'
12
+ require_relative File.join("..", "lib", "pipetext", "pipetext.rb")
14
13
 
15
14
  pipe = Class.new.extend(PipeText)
16
15
 
17
16
  pipetext_example = '|| pipe |||| && ampersand &&&& Toggle (&) background color mode ||&
18
- |ssmoke |n||s |wwhite |n||W |k&wblack text on white background&n|n ||k&&w
17
+ |wwhite |n||w |Wbright white |n||W |k&wblack text on white background&n|n ||k&&w
19
18
  |rred |n||r |Rbright red |n||R &rred background&n &&r
20
19
  |ggreen |n||g |Gbright green |n||G &ggreen background&n &&g
21
20
  |bblue |n||b |Bbright blue |n||B &bblue background&n &&b
@@ -26,7 +25,7 @@ pipetext_example = '|| pipe |||| && ampersand &&&& Toggle (&) backgrou
26
25
  |pC1&pF8Palette colors (256) |Rusing Hex|pC1:|n&n ||pC1&&pF8 Clear screen ||!
27
26
  |K&wblack with white background&n |n||K&&w |@Blink|@ing ||@
28
27
  |w&mwhite with magenta background&n |n||w&&m |w&mi|invert&n|i ||i
29
- |s&gsmoke with green background&n |n||s&&g |_Underline|_d ||_
28
+ |W&gbright white with green background&n |n||s&&g |_Underline|_d ||_
30
29
  |r&cred with cyan background&n |n||r&&c |~Italic|~s ||~
31
30
  |R&bbright red with blue background&n |n||R&&b |+Bold|+ ||+
32
31
  |g&ygreen with yellow background&n |n||g&&y |.Faint|. ||.
@@ -35,7 +34,7 @@ pipetext_example = '|| pipe |||| && ampersand &&&& Toggle (&) backgrou
35
34
 
36
35
  Center text using current position and line end number ||{text to center}
37
36
  Add spaces to line end ||; Set line end ||]#
38
- Set current x,y cursor position ||[x,y] Terminal bell ||[bell]
37
+ Set current x,y cursor position ||[x,y] Terminal bell ||[b]
39
38
  Move cursor up 1 line ||^ Hide cursor ||h
40
39
  Move cursor down 1 line ||v Unhide cursor ||H
41
40
  Move cursor forward 1 character ||> Sleep timer in seconds ||[#s]
@@ -49,8 +48,8 @@ Copy variable to current number ||(#variable name)
49
48
 
50
49
  Emojis: https://unicode.org/emoji/charts/full-emoji-list.html
51
50
  ||[Abbreviated CLDR Short Name] |[smiling face with heart-eyes] ||[smiling face with heart-eyes] or
52
- |[gear] ||[gear] |[zzz] ||[zzz] |[man] ||[man] |[sm f w he e] ||[sm f w he e]
53
- |U2714 ||U2714 |U274c ||U274c |u262E ||u262E |u1f48e ||u1f48e |u1f49c ||u1f49c
51
+ |[gear] ||[gear] |[zzz] ||[zzz] |[man] ||[man] |[sm f w he e] ||[sm f w he e]
52
+ |U2714 ||U2714 |U274c ||U274c |u262E ||u262E |u1f48e ||u1f48e |u1f49c ||u1f49c
54
53
 
55
54
  Single or double line box mode with ||- or ||=
56
55