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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 18508c8f3d4db573459c22af17b9ee2e6e14574d8b05b077c74fd61fb23c40fd
4
- data.tar.gz: d86af0aa4eee876cd571ddad1e91563f4bcc748a8722d5e9ddac19fc3b0a0ee2
3
+ metadata.gz: 453e6d44413c653c6662fb2f94ee59f54328a0c5e5b1b8232a5c5f1913609f73
4
+ data.tar.gz: 14c9c1dcf322122bec6b2d86a3c6e1fc03fef24e297b4376c4aba792b17371e0
5
5
  SHA512:
6
- metadata.gz: b287adc5c13581166f83e5c0a02d2f55b855cbaa11a0c5900fceaf09407d8074c3d76203a61e326fed87e718960ac87bc57ec717bd8880848cf5b7987edf25cd
7
- data.tar.gz: f7305812d67f0f7f4852552de20a9ea4a4f1c4539298a6106da335e9bf8a4afa66c63607ae1724152ffe0d5e5dd1b8cf09d68c2cc8778fa5f038b23679ecbaf3
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/[USERNAME]/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).
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
@@ -27,4 +27,5 @@ Gem::Specification.new do |spec|
27
27
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
28
28
  spec.require_paths = ["lib"]
29
29
  spec.add_development_dependency "rspec","~> 3.0"
30
+ spec.add_runtime_dependency 'rest-client'
30
31
  end
@@ -1,3 +1,3 @@
1
1
  module BadWordFilter
2
- VERSION = "0.1.0"
2
+ VERSION = "0.2.0"
3
3
  end
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.1.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