cinch-deploy 1.0.3 → 1.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/cinch/plugins/deploy.rb +2 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 54464120ecb5f6306240221af2e7055e4d971529
4
- data.tar.gz: 43574e6c9bf3e849bb5a1cabcc4280f3d12149f9
3
+ metadata.gz: d9389416c507fcf53affb9d7867c314530831e09
4
+ data.tar.gz: 9187dffcbca28128f9693543454c911f74814c98
5
5
  SHA512:
6
- metadata.gz: f799d168f10a017044bb4875e8bd2c36e9c9a1d4e4cbd444ac1d46606e3aa614888d5e5f3db4f0f7f0dc2e74082b1247a3ba5cf78ccb8feee6ea191007a45001
7
- data.tar.gz: 28fc7f0c457fb719e9ba6fac90d957eb74f2cff110473e092c41fb39265e1dabcaecbefaf9ba382bc324d16211f45d340638e6beca64f0fcc5f6e856896fcf3f
6
+ metadata.gz: d946e8ce18b826de6b84a2343f2d5b3fc63818b6366589cb74c84d6037fdaa1556e43c619a84157207fbae4b09ab74daf75cfa1d89a5a18a173844e39428e519
7
+ data.tar.gz: d109d5192dfdeadebe0348b06ea9108b0b871d274142775960b8547455f21751c49256356ee98c448b57f0d80e8c123f85aab24e8f2a714e93f58ec0689e9184
@@ -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
- m.reply "#{config[:command]} > #{line}", true
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cinch-deploy
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michal Papis