obscenity icon indicating copy to clipboard operation
obscenity copied to clipboard

Obscenity is a profanity filter gem for Ruby/Rubinius, Rails (through ActiveModel), and Rack middleware.

Results 22 obscenity issues
Sort by recently updated
recently updated
newest added

Would like to know whether this gem has the feature to handle substrings. Ex.: blacklisted word: shitting text: shit here Alsovice versa, Ex.: blacklisted word: shit text: he's shitting here...

Hi there - I added some Greek swear words to the international file. I added them to the bottom since it seems the full list isn't alphabetized but rather sorted...

This PR takes underscores into consideration. Before: ``` ruby irb(main):003:0> Obscenity.profane? "shit_head" => false ``` Now: ``` ruby irb(main):003:0> Obscenity.profane? "shit_head" => true ```

... either I missed the option to use it, or one should rather use a path name. However, as we are not concerned about managing blacklists and do not want...

This commit allows to reconfigure blacklist and whitelist explained in issue #8.

Hollow method is replacing inner characters with asterisks - e.g. foobar with f****r.

``` /Users/{username}/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/obscenity-1.0.2/lib/obscenity/base.rb:24: warning: redundant nested repeat operator: /\bf**k\b/ ``` This started popping up after I added a custom blacklist (goes away when removed). It fires off every time text is...