profanity_filter 0.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/MIT-LICENSE +20 -0
- data/README.rdoc +88 -0
- data/Rakefile +43 -0
- data/VERSION +1 -0
- data/config/dictionary.yml +200 -0
- data/lib/profanity_filter.rb +82 -0
- data/test/benchmark/dictionary_test_100.yml +100 -0
- data/test/benchmark/dictionary_test_1000.yml +1000 -0
- data/test/benchmark/dictionary_test_100000.yml +100000 -0
- data/test/benchmark/dictionary_test_25000.yml +25000 -0
- data/test/benchmark/dictionary_test_5000.yml +5000 -0
- data/test/benchmark/dictionary_test_50000.yml +50000 -0
- data/test/benchmark/fu-fu_benchmark.rb +33 -0
- data/test/benchmark/last_run.txt +180 -0
- data/test/benchmark/text_test_100.txt +2 -0
- data/test/benchmark/text_test_1000.txt +21 -0
- data/test/benchmark/text_test_10000.txt +211 -0
- data/test/benchmark/text_test_5000.txt +107 -0
- data/test/benign_filter_test.rb +157 -0
- data/test/connection_and_schema.rb +13 -0
- data/test/database.yml +3 -0
- data/test/destructive_filter_test.rb +142 -0
- data/test/profanity_filter_test.rb +134 -0
- data/test/schema.rb +5 -0
- data/test/test_harness.rb +11 -0
- metadata +92 -0
metadata
ADDED
@@ -0,0 +1,92 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: profanity_filter
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
prerelease: false
|
5
|
+
segments:
|
6
|
+
- 0
|
7
|
+
- 0
|
8
|
+
- 0
|
9
|
+
version: 0.0.0
|
10
|
+
platform: ruby
|
11
|
+
authors:
|
12
|
+
- Adam Bair
|
13
|
+
autorequire:
|
14
|
+
bindir: bin
|
15
|
+
cert_chain: []
|
16
|
+
|
17
|
+
date: 2011-03-15 00:00:00 -04:00
|
18
|
+
default_executable:
|
19
|
+
dependencies: []
|
20
|
+
|
21
|
+
description: Allows you to filter profanity using basic replacement or a dictionary term.
|
22
|
+
email: adambair@gmail.com
|
23
|
+
executables: []
|
24
|
+
|
25
|
+
extensions: []
|
26
|
+
|
27
|
+
extra_rdoc_files:
|
28
|
+
- README.rdoc
|
29
|
+
files:
|
30
|
+
- MIT-LICENSE
|
31
|
+
- README.rdoc
|
32
|
+
- Rakefile
|
33
|
+
- VERSION
|
34
|
+
- config/dictionary.yml
|
35
|
+
- lib/profanity_filter.rb
|
36
|
+
- test/benchmark/dictionary_test_100.yml
|
37
|
+
- test/benchmark/dictionary_test_1000.yml
|
38
|
+
- test/benchmark/dictionary_test_100000.yml
|
39
|
+
- test/benchmark/dictionary_test_25000.yml
|
40
|
+
- test/benchmark/dictionary_test_5000.yml
|
41
|
+
- test/benchmark/dictionary_test_50000.yml
|
42
|
+
- test/benchmark/fu-fu_benchmark.rb
|
43
|
+
- test/benchmark/last_run.txt
|
44
|
+
- test/benchmark/text_test_100.txt
|
45
|
+
- test/benchmark/text_test_1000.txt
|
46
|
+
- test/benchmark/text_test_10000.txt
|
47
|
+
- test/benchmark/text_test_5000.txt
|
48
|
+
- test/benign_filter_test.rb
|
49
|
+
- test/connection_and_schema.rb
|
50
|
+
- test/database.yml
|
51
|
+
- test/destructive_filter_test.rb
|
52
|
+
- test/profanity_filter_test.rb
|
53
|
+
- test/schema.rb
|
54
|
+
- test/test_harness.rb
|
55
|
+
has_rdoc: true
|
56
|
+
homepage: http://github.com/intridea/profanity_filter
|
57
|
+
licenses:
|
58
|
+
- MIT
|
59
|
+
post_install_message:
|
60
|
+
rdoc_options: []
|
61
|
+
|
62
|
+
require_paths:
|
63
|
+
- lib
|
64
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
segments:
|
69
|
+
- 0
|
70
|
+
version: "0"
|
71
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
segments:
|
76
|
+
- 0
|
77
|
+
version: "0"
|
78
|
+
requirements: []
|
79
|
+
|
80
|
+
rubyforge_project:
|
81
|
+
rubygems_version: 1.3.6
|
82
|
+
signing_key:
|
83
|
+
specification_version: 3
|
84
|
+
summary: A Rails plugin gem for filtering out profanity.
|
85
|
+
test_files:
|
86
|
+
- test/benchmark/fu-fu_benchmark.rb
|
87
|
+
- test/benign_filter_test.rb
|
88
|
+
- test/connection_and_schema.rb
|
89
|
+
- test/destructive_filter_test.rb
|
90
|
+
- test/profanity_filter_test.rb
|
91
|
+
- test/schema.rb
|
92
|
+
- test/test_harness.rb
|