unswear 1.1 → 1.2

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 +8 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d40a94bad0b98ccac4c1dda24cff12fe1cfd7e0e
4
- data.tar.gz: 78c68eee34d5f9d54d489192843e1a1aefbdb1be
3
+ metadata.gz: 087626971b8dd4f42ac46f5d17229241c1cb1c35
4
+ data.tar.gz: 2f22c1d22aad0a0e7130515c4ebda54b2a9d333a
5
5
  SHA512:
6
- metadata.gz: 3b5582979a7c4179f23ba9cf4ade54f7a415bf04ae16a0c3e66d25682b185189018728143eba825821855ede3b77aafc25fd0863de593a4abacadf740f854982
7
- data.tar.gz: dda3d72c9820e86108475b6e1ff4f7ceae034e4920c3e553721a7d6f2ea3154cdcf0cc3f48ffafc9ad310c90ce199ece935b204e17cb1f01515cbba5895276d3
6
+ metadata.gz: 799f87a0a2ad5410a792e6885bcc047005b82359db68e306154119330207fd1b1f8e2a5d064b1d54ecbe04134376aae7e9959d6678c138a734c0969017984950
7
+ data.tar.gz: e0c50f63d56d2264d59e5c4c11d331bcf1e687166b15a24a27c8dfa3b24e539f6cd76b8adc0584ce464590c385e408869da2b82a10bf12018bdb02283549352d
data/lib/unswear.rb CHANGED
@@ -1,9 +1,16 @@
1
1
  class Unswear
2
2
  def self.remove(input)
3
3
  new = input.gsub("fuck", "f*ck")
4
- new.gsub!("cunt", "c*nt")
4
+ new.gsub!"cunt", "c*nt")
5
5
  new.gsub!("shit", "sh*t")
6
6
  new.gsub!("ass", "a*s")
7
+ new.gsub!("bitch", "b*tch")
8
+ new.gsub!("piss", "p*ss")
9
+ new.gsub!("bastard", "b*stard")
10
+ new.gsub!("fag", "f*g")
11
+ new.gsub!("cock", "c*ck")
12
+ new.gsub!("slut", "sl*t")
13
+ new.gsub!("pussy", "p*ssy")
7
14
  puts "\"#{new}\""
8
15
  end
9
16
  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: '1.1'
4
+ version: '1.2'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josh