pipetext 0.0.2 → 0.0.4

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 +16 -15
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 75a7d2d019599a9d9bd6aa26c41c9a7cb0a861fa5c6c4d1815acb772d13f6ec9
3
+ metadata.gz: a433cb2ed3cd89a6076949472f6c8d2a2894031b24b0fd765e82fcdc121dd2d5
4
4
  data.tar.gz: a43d6f3095053170b85f7838ec63999c9fff7b1a63fcd7a63b99f142d89f2699
5
5
  SHA512:
6
- metadata.gz: 3cf5b3d9d026ddf66ac3bab19bf419aa6e21c77c7a6909de7743115835d119c37beaa10f670170d262fb7ec77f18b658899288250be3c9be24985ce6861e2501
6
+ metadata.gz: 862a00bea720cc8beb4659365e93aa252b18092dc8bd6d6e2a3023f0df7f9d3a31d758e5cb64812eaa27888153eb89d974f0a689f01fe1679eabfd5a277b31b3
7
7
  data.tar.gz: be8bb30d38ee21fa304b2e68e0834df9a93bbf30a0f1f70139e8f2fc652f616d1a47a9b0f17ba96e9cefb8dcaad106de98ec1b42b1021908c4c6bdda3517fbee
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.2
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Minaswan Nakamoto
@@ -9,33 +9,34 @@ bindir: bin
9
9
  cert_chain: []
10
10
  date: 1980-01-02 00:00:00.000000000 Z
11
11
  dependencies: []
12
- description: |
13
- # pipetext
12
+ description: |2
14
13
 
15
- Easily add colors, boxes, repetitions and emojis to your terminal output using pipes (|).
14
+
15
+ == Easily add colors, boxes, repetitions and emojis to your terminal output using pipes (|).
16
16
 
17
17
  Install using the Ruby Gem:
18
18
 
19
- > gem install pipetext
19
+ > gem install pipetext
20
20
 
21
21
  Includes a Ruby library module which can be included in your code:
22
22
 
23
- require 'pipetext'
23
+ require 'pipetext'
24
24
 
25
- class YellowPrinter
26
- include PipeText
27
- def print(string)
28
- write('|Y' + string + '|n')
25
+ class YellowPrinter
26
+ include PipeText
27
+ def print(string)
28
+ write('|Y' + string + '|n')
29
+ end
29
30
  end
30
- end
31
31
 
32
- printer = YellowPrinter.new
33
- printer.print('This is yellow')
32
+ printer = YellowPrinter.new
33
+ printer.print('This is yellow')
34
34
 
35
35
  The gem includes a command line interface too:
36
- > pipetext
37
36
 
38
- > pipetext '|Ccyan|n'
37
+ > pipetext
38
+
39
+ > pipetext '|Ccyan|n'
39
40
  email: minaswan.nakamoto@onionmail.org
40
41
  executables:
41
42
  - pipetext