saintly 0.1.9 → 0.1.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/History.txt +5 -1
  2. data/lib/saintly.rb +4 -4
  3. metadata +3 -3
@@ -33,4 +33,8 @@
33
33
 
34
34
  === 0.1.9 / 2010-07-13
35
35
 
36
- * Disallow words like assclown, asshat, asswipe
36
+ * Disallow words like assclown, asshat, asswipe
37
+
38
+ === 0.1.10 / 2010-07-13
39
+
40
+ * Dissallow more words, like tits.
@@ -1,5 +1,5 @@
1
1
  module Saintly
2
- VERSION = "0.1.9"
2
+ VERSION = "0.1.10"
3
3
 
4
4
  def self.sanitize(text)
5
5
  return if text.nil?
@@ -27,11 +27,11 @@ module Saintly
27
27
  'nigger',
28
28
  'cunt',
29
29
  'ass(hole|hat|clown|wipe)',
30
- '(dumb|jack)ass',
30
+ '(dumb|jack)ass'
31
31
  ]
32
-
32
+
33
33
  RESTRICTED_WORDS = [
34
- 'twat', 'ass'
34
+ 'twat', 'ass', 'tits', 'piss', 'cocksucker'
35
35
  ]
36
36
 
37
37
  module Rails
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: saintly
3
3
  version: !ruby/object:Gem::Version
4
- hash: 9
4
+ hash: 15
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 9
10
- version: 0.1.9
9
+ - 10
10
+ version: 0.1.10
11
11
  platform: ruby
12
12
  authors:
13
13
  - Andy Kvamme