hato-plugin-ikachan 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/hato/plugin/ikachan.rb +2 -2
- data/lib/hato/plugin/ikachan/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0f097ee58e1d13e542bdf5b98aed074997802b3b
|
4
|
+
data.tar.gz: c2f854fe61f7a9f5bfc0fc336bf0319b5626d38e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f0b07a6675c8f2e6d6263481e2beb2bb68c36441ae670070796b6c7b7384eae05cbe0db846c6f09bd1ab3bab62c6033bb2b7c449a7c55551d69b1f41193c787f
|
7
|
+
data.tar.gz: 03144e6f4159a3019b578409b9bc5c75558fe3879ca7d1fdc8c15d38bf3a7c24a35255ffe236acc11def34e603ac545e717dcd43cf1ed1e6809927bd8c6fba06
|
data/lib/hato/plugin/ikachan.rb
CHANGED
@@ -23,9 +23,9 @@ module Hato
|
|
23
23
|
def send_message(action, channel, args = {})
|
24
24
|
message = args[:message]
|
25
25
|
|
26
|
-
if config.template
|
26
|
+
if action != :join && config.template
|
27
27
|
erb = ERB.new(config.template)
|
28
|
-
message = erb.result(binding).
|
28
|
+
message = erb.result(binding).strip.gsub(/[\r\n]+/, ' ')
|
29
29
|
end
|
30
30
|
|
31
31
|
url = '%s://%s:%s/%s' % [
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hato-plugin-ikachan
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kentaro Kuribayashi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-11-
|
11
|
+
date: 2013-11-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: hato
|