message_judgment 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +11 -11
- data/lib/message_judgment/version.rb +1 -1
- data/message_judgment-0.1.1.gem +0 -0
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e395a75b2a2ead69fb852eca8f94b2da00a35bdc
|
4
|
+
data.tar.gz: c0badf021fe17a47b7ccfc187c2ed555e01f5a6e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ab595bf9d43b580dc71aaac564cb6ab655884befb3b2b67f1bd93ae299c90797f5640ba07bae5869753c194ca831c8736082b3ce803991b42caa298be97d64a3
|
7
|
+
data.tar.gz: 2a13e1ee580e53ba83ae1e865b0730a19244d6b25533e8efa2a4285c4b682806d8280176dab05fda0c24a7680c76dbd380fc7033f37c3fad2b1e2aaa90fa87d4
|
data/README.md
CHANGED
@@ -1,9 +1,7 @@
|
|
1
1
|
# MessageJudgment
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
TODO: Delete this and the text above, and describe your gem
|
6
|
-
|
2
|
+
Hello,welcome to this page!!
|
3
|
+
This gem is very useful when you check your service's user's message
|
4
|
+
whether contains terrible word,or not.
|
7
5
|
## Installation
|
8
6
|
|
9
7
|
Add this line to your application's Gemfile:
|
@@ -22,13 +20,15 @@ Or install it yourself as:
|
|
22
20
|
|
23
21
|
## Usage
|
24
22
|
```ruby
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
23
|
+
irb(main):001:0> require "message_judgment"
|
24
|
+
=> true
|
25
|
+
irb(main):002:0> message="Hello,I want your sex!"
|
26
|
+
=> "Hello,I want your sex!"
|
27
|
+
irb(main):003:0> targets=["sex","fack"]
|
28
|
+
=> ["sex", "fack"]
|
29
|
+
irb(main):004:0> MessageJudgment.message_judgment?(message,targets)
|
30
|
+
=> "Hello,I want your !"
|
29
31
|
|
30
|
-
```ruby
|
31
|
-
#response => Hello,I want your
|
32
32
|
```
|
33
33
|
|
34
34
|
## Development
|
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: message_judgment
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- NishidaRyu416
|
@@ -79,6 +79,7 @@ files:
|
|
79
79
|
- lib/message_judgment.rb
|
80
80
|
- lib/message_judgment/version.rb
|
81
81
|
- message_judgment-0.1.0.gem
|
82
|
+
- message_judgment-0.1.1.gem
|
82
83
|
- message_judgment.gemspec
|
83
84
|
homepage: https://ryu-nishida.blogspot.jp/
|
84
85
|
licenses:
|