mastodon_cthulhu 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
  SHA256:
3
- metadata.gz: 2065c5b2619a7d825e4cd49124ba0b70a2c56c03493fa29ec51a08abf043b417
4
- data.tar.gz: 35c468ede8c3a56d8e992265a987a4d4ae123fce4820e6de4282693ed2dd373e
3
+ metadata.gz: 192fa062eed6ba1114181456c7b4b9c660afd160e30bdc40b458f0b544ddbacb
4
+ data.tar.gz: 8a6bafafea6534071d33b581b279ca442dcf3a10ab0c32b6da8b6970950fe2ef
5
5
  SHA512:
6
- metadata.gz: 5a0ae9654895f85240ebd5001ef28d585a18e9bef7b494caae80a2619fc0490ab54b6d548235b21f250dcad3ef1509cd57bb1395a67e98e6a6337ab22a4ef15c
7
- data.tar.gz: ad5f9c93ebce35de85a70d8bd6764540f8af7805d3e5cb3b5f87c2360df8ee056a9534edbc856216c872b30d94d3e7b9210ae6a01bccc5b7c7cfe5ac7873b2be
6
+ metadata.gz: 70b4bae7834826c724152b96ada7de896a3ec75aeba814302054106ca9d1732642bee33a3352df1c2259b5e7e471aff0cb74bd7734a1caccb5907be611cd38da
7
+ data.tar.gz: 71b71b168803e7a290a1c84e04bab106fe0cd3a82c8993c1f06e53e1aefac3c8ca28f5a9e5df1ae86632a15a8d9b946ae67bbe9c826be18bec3f2cf139fc1af5
data/README.md CHANGED
@@ -29,7 +29,7 @@ config\initializers\mastodon_cthulhu.rb
29
29
  MastodonCthulhu.setup do |status|
30
30
 
31
31
   # クトゥルフ神話機能
32
- fortune = MastodonCommand::Random.new('[  \n]?#(クトゥルフ神話)[  \n]?', %w(いあいあくとぅるぅ いあいあはすたぁ いあいあつとぅぁぐぁ ふんぐるいむぐるうなふ うがふなぐる ふたぐん))
32
+ fortune = MastodonCthulhu::Random.new('[  \n]?#(クトゥルフ神話)[  \n]?', %w(いあいあくとぅるぅ いあいあはすたぁ いあいあつとぅぁぐぁ ふんぐるいむぐるうなふ うがふなぐる ふたぐん))
33
33
  status = fortune.convert(status) if fortune.match(status)
34
34
 
35
35
  end
@@ -52,4 +52,4 @@ The gem is available as open source under the terms of the [MIT License](http://
52
52
 
53
53
  ## ref
54
54
 
55
- [mastodon_command](https://github.com/kenchiki/mastodon_command)
55
+ [mastodon_command](https://github.com/kenchiki/mastodon_command)
@@ -2,7 +2,7 @@ module MastodonCthulhu
2
2
  class Random < MastodonCthulhu::Convert
3
3
 
4
4
  def convert(input)
5
- input + @replaces.sample
5
+ input + "\n\n" + @replaces.sample
6
6
  end
7
7
  end
8
- end
8
+ end
@@ -1,3 +1,3 @@
1
1
  module MastodonCthulhu
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mastodon_cthulhu
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
  - S-H-GAMELINKS
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-04-09 00:00:00.000000000 Z
11
+ date: 2018-04-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler