cinch-deploy 1.0.1 → 1.0.2

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 +1 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 14abae79fc11f89f17ddb43a44493b68e03ab4d1
4
- data.tar.gz: 60c2819619cea66660312c87812793826f88c394
3
+ metadata.gz: 7f36c5a16b70dcdc8119b71b420a2ca7272c44c3
4
+ data.tar.gz: 730024c7150ab674cc2cb35ee0698699ff4f203d
5
5
  SHA512:
6
- metadata.gz: 3e0b8330b647143566a02d6a538b35cca7dca555fcaf443c9efab9b9cf444aaf4f9353b3bd2fee868605c837bbadc6341c55cc7d247ec7f32c5ed12f41786824
7
- data.tar.gz: bc27588ebdcccc6d68d909c15aca1bca6c19e60144fa50ceb354da17be0699b350816594a79b0720b0cc498d55b2fff09d1025267897f5c179ce6c46900503d1
6
+ metadata.gz: b035710d89e959aedc5efd066361ff886d48c74511f6f8571cc2ac69da14749f9a5fcf914f05c3808335a43b6052048495347e22aa02eff170c9602e98ccb648
7
+ data.tar.gz: 500701fbf7801967368aac06de7bcac6bb4ada4267085392a3dc725e16e6885650f716470fa65dcca7b02c7a0f269f9ecadc3e67301495f60a4651d8c42313af
@@ -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
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.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michal Papis