pipetext 0.2.1 → 0.2.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0f7f0d849921eef214577fe5b3418bcda0815b9158de41079c5ded31beb06e39
4
- data.tar.gz: 31623762e3303061e8753b07a4a44b5efbd1eda8748fb411871ca643b54dbe6f
3
+ metadata.gz: c79619e754a795072b47b34cf152a56f01308c347e8b7ceb9a74d2fac3a9d407
4
+ data.tar.gz: 27f7cd8b4cad98f95bd888c56b1bf9793c5c083276f947be6f69c37619e2fcfa
5
5
  SHA512:
6
- metadata.gz: 500918c7d15469238f5c1f3424570a759cabd9a80dbbd8c2faec1b781ce44cbabcb1ea0c4cfdf19a6914b2f80d3d5e88136f7f0f68ec1fe1ab26eee1adb1afc0
7
- data.tar.gz: 41a068587aed07e5c3fc360497c8296640509951e12d6d513e3cf8c89a88c43c9ea5f1517a3a373ec12eb0a470de32901b2b79575aa46c30ad0802e73807af7f
6
+ metadata.gz: cd2794bef8842d24f2a9d558adc654fd2b66de4fd242d7edcebb6731441ebdccfac57d1187d61f56b93b47b4f490a6777cea0ee8c1de7405e3373f254bc4faee
7
+ data.tar.gz: 96eb07179f6936b55f480f3860e11e4a190457b7159835666f14d2bdc53f24d65c4de393fa82c9242959281b1a3429bb30e02981b0a58ded387bff5a6815d103
data/bin/pipetext CHANGED
@@ -87,7 +87,7 @@ if(ARGV[0] == nil && STDIN.tty? == true)
87
87
  puts "pipetext '|(test=15)Print 10 stars: |(#test-=5)* and 20 hashes: |(#test+=5)#'"
88
88
  puts "pipetext '|10~ &r|----|O> ALL YOUR |kBASE|n |3\\~ARE|3\\~ BELONG TO US. <|----|O&n|\\n~|n'"
89
89
  puts
90
- pipe.paint("version |c#{PipeText::VERSION}|n")
90
+ pipe.paint("version |c#{PipeText::VERSION}|n\n")
91
91
  else
92
92
  if(STDIN.tty? == false)
93
93
  pipe.paint(STDIN.read)
@@ -118,13 +118,11 @@ module PipeText
118
118
 
119
119
  def write(text, box_mode=true, ampersand_mode=false)
120
120
  fastpipetext(text, box_mode, ampersand_mode)
121
- puts
122
121
  end
123
122
 
124
123
  # Defaults to using & for background colors
125
124
  def paint(text, box_mode=true, ampersand_mode=true)
126
125
  fastpipetext(text, box_mode, ampersand_mode)
127
- puts
128
126
  end
129
127
 
130
128
  def ignored_character(character, ignored_characters)
@@ -4,6 +4,6 @@ module PipeText
4
4
 
5
5
  public
6
6
 
7
- VERSION = "0.2.1"
7
+ VERSION = "0.2.2"
8
8
  end
9
9
 
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.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Minaswan Nakamoto