unswear 3.3 → 3.3.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/unswear.rb +4 -4
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c7cca0091e3fba2a8357dbe6676724e4b362eba6
|
4
|
+
data.tar.gz: 23029debaf4f94d9a6eb0812efac621c12bb7d36
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
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
|
-
|
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
|