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