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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 50d211ef1b89824d36ed18ee29acdba2b04ec070
4
- data.tar.gz: 58b64f6e0d35f0883a3d00bbe5a036599e70c818
3
+ metadata.gz: e395a75b2a2ead69fb852eca8f94b2da00a35bdc
4
+ data.tar.gz: c0badf021fe17a47b7ccfc187c2ed555e01f5a6e
5
5
  SHA512:
6
- metadata.gz: 3655a7e5c4b33dcdb8215666fb1b297b36b8b473d2a5f1c20a8fc04b4d6404d40b4f07e169705fb05ff293ce832baf5e681595b00b173fd7bc109bd2ec47b79c
7
- data.tar.gz: 9530e3ff18a7ff47a2b7694d0d64ff5992da0dff3e8bc54e322f70d9c4509a834cb4a4df0a6385a1f7c66c092af8930cac56e8377a87246024f03412a7d9e4f3
6
+ metadata.gz: ab595bf9d43b580dc71aaac564cb6ab655884befb3b2b67f1bd93ae299c90797f5640ba07bae5869753c194ca831c8736082b3ce803991b42caa298be97d64a3
7
+ data.tar.gz: 2a13e1ee580e53ba83ae1e865b0730a19244d6b25533e8efa2a4285c4b682806d8280176dab05fda0c24a7680c76dbd380fc7033f37c3fad2b1e2aaa90fa87d4
data/README.md CHANGED
@@ -1,9 +1,7 @@
1
1
  # MessageJudgment
2
-
3
- Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/message_judgment`. To experiment with that code, run `bin/console` for an interactive prompt.
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
- user_message="Hello,I want your sex!"
26
- crazy_word=["shit","sex","fuck"]
27
- puts message_judgment?(user_message,crazy_word)
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
@@ -1,3 +1,3 @@
1
1
  module MessageJudgment
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
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.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: