unswear 3.3 → 3.3.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/unswear.rb +4 -4
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3b60513557e7836ca150fdc403735e1dd65361d2
4
- data.tar.gz: c321e0bb0dea7ee0a799c2736157122f6a76c3a9
3
+ metadata.gz: c7cca0091e3fba2a8357dbe6676724e4b362eba6
4
+ data.tar.gz: 23029debaf4f94d9a6eb0812efac621c12bb7d36
5
5
  SHA512:
6
- metadata.gz: 2bc3465a3285316cd7e7afbf5a2311264bae5f61a15710389ea9268a5073709b2d0610544ee7499da65da0f036f8080ac026ffc2453b311b3f0f044a2a6f98ba
7
- data.tar.gz: 8334fb681a434b0db1c98d1e613af71476c9bc62ee00e012c11ca1f9fb8af28208c3f8eefa07e2b1bdd206d7a47708553e19536617bedb2cccef6b6faac05dc3
6
+ metadata.gz: 90598ee6710448abd072178e0a24d2acef29db3f2a24204a1bca484e9ff66226568939f3efabcca2cccb0fb81422bbfe78e660cfea596db9758f1cff46664994
7
+ data.tar.gz: 4801950a6ac260e2fed5f72c7a66615812f3d680f269b08d61f55808f21e6017392b9062469553fb4051836eaa651eaca1bdc6c72e07fae566c286975b5a95e0
data/lib/unswear.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # Define VERSION variable for use with Unswear.version
2
- VERSION = '3.3'
2
+ VERSION = '3.3.5'
3
3
 
4
4
  # Create array of curse words
5
5
  $curses = %w(
@@ -88,11 +88,11 @@ class Unswear
88
88
  # list all words that begin with that letter
89
89
  def self.list(x=0)
90
90
  unless x != 0
91
- puts $curses.sort_by(&:downcase).uniq
91
+ print "#{$curses.sort_by(&:downcase).uniq}, "
92
92
  else
93
93
  $curses.count.times do |m|
94
94
  if $curses[m][0] == x
95
- puts $curses[m]
95
+ print "#{$curses[m]}, "
96
96
  end
97
97
  end
98
98
  end
@@ -102,5 +102,5 @@ class Unswear
102
102
  def self.version
103
103
  puts "unswear v#{VERSION}"
104
104
  end
105
-
105
+
106
106
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: unswear
3
3
  version: !ruby/object:Gem::Version
4
- version: '3.3'
4
+ version: 3.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josh