despamilator 1.1 → 2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,9 +0,0 @@
1
- describe DespamilatorFilter::FunkyConsonant do
2
- the_name_should_be 'Funky Consonant'
3
- the_description_should_be 'Detects and scores each occurrence of a consonant next to an unlikely character'
4
-
5
- despamilator_should_apply_the_filter_for('zt')
6
-
7
- a_single_match_of('zt', should_score: 0.05)
8
- a_multiple_match_of('ztzt', should_score: [0.1, 2.times])
9
- end
@@ -1,11 +0,0 @@
1
- describe DespamilatorFilter::NaughtyQ do
2
-
3
- the_name_should_be 'Naughty Q'
4
- the_description_should_be 'Detects possible misuse of the letter Q (English language)'
5
-
6
- despamilator_should_apply_the_filter_for('qtu')
7
-
8
- a_single_match_of('qtu', should_score: 0.2)
9
- a_multiple_match_of('qtq', should_score: [0.4, 2.times])
10
-
11
- end