cinch-deploy 1.0.3 → 1.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cinch/plugins/deploy.rb +2 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d9389416c507fcf53affb9d7867c314530831e09
|
4
|
+
data.tar.gz: 9187dffcbca28128f9693543454c911f74814c98
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d946e8ce18b826de6b84a2343f2d5b3fc63818b6366589cb74c84d6037fdaa1556e43c619a84157207fbae4b09ab74daf75cfa1d89a5a18a173844e39428e519
|
7
|
+
data.tar.gz: d109d5192dfdeadebe0348b06ea9108b0b871d274142775960b8547455f21751c49256356ee98c448b57f0d80e8c123f85aab24e8f2a714e93f58ec0689e9184
|
data/lib/cinch/plugins/deploy.rb
CHANGED
@@ -12,7 +12,8 @@ module Cinch
|
|
12
12
|
if config[:channels].include?(m.channel.to_s) and config[:users].include?(m.user.nick) and m.message =~ Regexp.new(config[:trigger])
|
13
13
|
IO.popen("#{config[:command]} 2>&1") do |handle|
|
14
14
|
while line = handle.gets
|
15
|
-
|
15
|
+
# do not use ,true for nick, it breaks on split
|
16
|
+
m.reply "#{m.user.nick}: #{config[:command]} > #{line}"
|
16
17
|
end
|
17
18
|
end
|
18
19
|
end
|