mr_clean 0.1.1 → 0.1.2

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +39 -0
  3. data/lib/mr_clean/version.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 981783c05ef0ee3efaa39108535ce765ed5c0c5d
4
- data.tar.gz: f07f65fbf197fd22678c0ea304b2ffcc2b0ce4db
3
+ metadata.gz: dd7d36f963b96d66204e9a3be636393c123f0fa4
4
+ data.tar.gz: e58da933f3c60e1a0e9f76d03dfb6a4fcd3b7daa
5
5
  SHA512:
6
- metadata.gz: 816d8cee2ff30af48834011f9d3450a9e7457e8a4749808b0b3fe757794e150cb85f5da7b8c3695a1634a137284793d59bd1dfb5d8a0e66b88528d142cbd1c55
7
- data.tar.gz: 2e6dfc7e359f9263c711c9e004640b37c5e3353f05e990a34468642511d1f6320810da705d4ea36f978bea025dcbc1e5376f5e1409ed895183821a047db74391
6
+ metadata.gz: 0ac4ec944ae1e506454c83041db964c98c0c8b7fcc98118d1faa9f0f8730255e8f3a5cad81314343af7f57fff1ab6f8080f581634bd3d7f88795b6c156beaf22
7
+ data.tar.gz: 7cdc2c3f3a583b28fb2c972e61f20331bd433c054e0a09b9684fd67b7b3c91f473f95cd0a0b2bb3351a32d9fb484413b98b309ac6be4a001125e9346d705856d
data/README.md CHANGED
@@ -2,3 +2,42 @@ Mr Clean
2
2
  ========
3
3
 
4
4
  A plain ruby library for filtering profanity, spam and such based on black listed words
5
+
6
+ ## Installation
7
+
8
+ ### Gemfile
9
+
10
+ Add `mr_clean` to your Gemfile:
11
+
12
+ ```ruby
13
+ gem 'mr_clean'
14
+ ```
15
+
16
+ And run Bundler:
17
+
18
+ ```sh
19
+ $ bundle install
20
+ ```
21
+
22
+ ### Manually:
23
+
24
+ Or install `mr_clean` manually:
25
+
26
+ ```sh
27
+ $ gem install 'mr_clean'
28
+ ```
29
+
30
+ And require the gem in your Ruby code:
31
+
32
+ ```ruby
33
+ require 'rubygems'
34
+ require 'mr_clean'
35
+ ```
36
+
37
+ Usage
38
+ =====
39
+
40
+ To check if a string value contains profane or spam words:
41
+ ```ruby
42
+ MrClean::Profanity.profane?(value)
43
+ ```
@@ -1,3 +1,3 @@
1
1
  module MrClean
2
- VERSION = '0.1.1'
2
+ VERSION = '0.1.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mr_clean
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - CrunchBase Engineering Team, Wagner Camarao