unswear 1.4 → 1.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 +1 -1
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 993350ff3fefb68e1ff41f7735ca5b748e53abc3
4
- data.tar.gz: 9c955e36480230e4bbff1cfa0a6a6779d124cf34
3
+ metadata.gz: 568d7d9a54842dea1f3929689f35f4ac9ad097b4
4
+ data.tar.gz: fe746ec6b6bb430f875d08cba770c947fc2c8afe
5
5
  SHA512:
6
- metadata.gz: fc5113a0b4d37ad2213892297f8c96ff23ea52ecd500f64a0f61284c80c9a5d90873b71152fba6844d9a8d71d5aaed184c7e9e68be02ebb32d5672652cef5698
7
- data.tar.gz: 3e7952b561bf057642af2ca98507473728569ce3df09fe30faee5ada22449a71b122b27bfd75c63fdebb0debc944862224414920d59a6bafeecb3a7ebed4abc0
6
+ metadata.gz: ca4f721f1ba524bf3547e2bff1601f7898b9698b615316f3ba1ef1ab9b570645f4b1731c1d2e5f58bbb553492dda8a48d4e3e25a4c5923594fa2e6622e45a63d
7
+ data.tar.gz: 57eb7f73ec89076888179f2e6620c7325af6f98a12b4030752679782781682a65ff137cad342b890f2d085e46dcc531beb3e03f45ff008fc0061ef2148cfc391
data/lib/unswear.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  class Unswear
2
- def self.remove(input)
2
+ def self.censor(input)
3
3
  new = input
4
4
  new.gsub!("fuck", "f*ck")
5
5
  new.gsub!("cunt", "c*nt")
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.4'
4
+ version: '1.5'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josh
@@ -10,7 +10,7 @@ bindir: bin
10
10
  cert_chain: []
11
11
  date: 2014-04-25 00:00:00.000000000 Z
12
12
  dependencies: []
13
- description: Remove swear words from text
13
+ description: Censor swear words in a string
14
14
  email: joshception@icloud.com
15
15
  executables: []
16
16
  extensions: []