bad_word_filter 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -6
- data/bad_word_filter.gemspec +1 -0
- data/lib/bad_word_filter/version.rb +1 -1
- metadata +15 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 453e6d44413c653c6662fb2f94ee59f54328a0c5e5b1b8232a5c5f1913609f73
|
4
|
+
data.tar.gz: 14c9c1dcf322122bec6b2d86a3c6e1fc03fef24e297b4376c4aba792b17371e0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f4fe326134a0cf3caecdf94090c6aeb78ee74c7d5afc2cb29ad4a34e42158be671ba0b4652bd945d914a97dad95113347abc050333c5dfbf55eb7958323edf51
|
7
|
+
data.tar.gz: 6c49c5e389f3c1ea3b3567493a160ccf3ed270f447b4afeb5f95b23e266a1cb6a53937bd540301928213f48f9f3dfa8ba58836f633eb3389bafad42b2df072c0
|
data/README.md
CHANGED
@@ -24,15 +24,10 @@ Or install it yourself as:
|
|
24
24
|
content = "This is great text nothing wrong here"
|
25
25
|
```BadWordFilter.filter(content)```
|
26
26
|
response will be in json
|
27
|
-
## Development
|
28
|
-
|
29
|
-
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
30
|
-
|
31
|
-
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
32
27
|
|
33
28
|
## Contributing
|
34
29
|
|
35
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/[
|
30
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/[ispiret]/bad_word_filter. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/[USERNAME]/bad_word_filter/blob/master/CODE_OF_CONDUCT.md).
|
36
31
|
|
37
32
|
|
38
33
|
## License
|
data/bad_word_filter.gemspec
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bad_word_filter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ispire
|
@@ -24,6 +24,20 @@ dependencies:
|
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '3.0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rest-client
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
27
41
|
description: Detect and censor bad words, swear words and profanity in a given text.
|
28
42
|
email:
|
29
43
|
- ispirett@gmail.com
|