saintly 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +5 -1
- data/lib/saintly.rb +2 -2
- data/test/saintly_test.rb +5 -0
- metadata +3 -3
data/History.txt
CHANGED
data/lib/saintly.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
module Saintly
|
2
|
-
VERSION = "0.1.
|
2
|
+
VERSION = "0.1.3"
|
3
3
|
|
4
4
|
def self.sanitize(text)
|
5
5
|
return if text.nil?
|
@@ -9,7 +9,7 @@ module Saintly
|
|
9
9
|
private
|
10
10
|
|
11
11
|
def self.exclude_regex
|
12
|
-
/\b(#{(RESTRICTED_WORDS + partials_regex_array).join('|')})\b/
|
12
|
+
/\b(#{(RESTRICTED_WORDS + partials_regex_array).join('|')})\b/i
|
13
13
|
end
|
14
14
|
|
15
15
|
def self.partials_regex_array
|
data/test/saintly_test.rb
CHANGED
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:
|
4
|
+
hash: 29
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 3
|
10
|
+
version: 0.1.3
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Justin Coyne
|