cinch-deploy 1.0.1 → 1.0.2
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 +1 -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: 7f36c5a16b70dcdc8119b71b420a2ca7272c44c3
|
4
|
+
data.tar.gz: 730024c7150ab674cc2cb35ee0698699ff4f203d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b035710d89e959aedc5efd066361ff886d48c74511f6f8571cc2ac69da14749f9a5fcf914f05c3808335a43b6052048495347e22aa02eff170c9602e98ccb648
|
7
|
+
data.tar.gz: 500701fbf7801967368aac06de7bcac6bb4ada4267085392a3dc725e16e6885650f716470fa65dcca7b02c7a0f269f9ecadc3e67301495f60a4651d8c42313af
|
data/lib/cinch/plugins/deploy.rb
CHANGED
@@ -10,7 +10,7 @@ module Cinch
|
|
10
10
|
@running = true
|
11
11
|
config[:configurations].each do |config|
|
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
|
-
IO.popen("config[:command] 2>&1") do |handle|
|
13
|
+
IO.popen("#{config[:command]} 2>&1") do |handle|
|
14
14
|
while line = handle.gets
|
15
15
|
m.reply line, true
|
16
16
|
end
|