ruboty-evaluate 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7c0959f247ddf179c91306faf8ddd937028b944f
4
- data.tar.gz: e6edf95568c118b6dfd45d3ec1852c9ac582f5a8
3
+ metadata.gz: 00a9894ded9f73e1724a8771a89e667aaf758018
4
+ data.tar.gz: a5239a48ad074f46d7c591a5f1da365e5677ac31
5
5
  SHA512:
6
- metadata.gz: 7dc7369ad5d4abca272b101821f191814d2b7713607716264732df8824faa0261d31dd076ede1ae07a120f23c121566eb72387ca567af9faf24b741d401dcd71
7
- data.tar.gz: 58728b378bfd37e925889baa57dd1dd49677c7abad97e40e92532dbe81bf98eee817fc83e8999788e54c85f2a994f30c6e4c1860154b5ae9350094c66490469c
6
+ metadata.gz: 9302c007ece95504927b044408012ab1a19f60ee468832c6aecb2ac25e8437174746000c3e99c3d7a0377003dd56e8df4d0263d9dddce1ac76399083b126c624
7
+ data.tar.gz: edddd2cd3a0f98673de15e746d35bb11d90b99fa2ef3f6beba2bbdd1264a7d2d3b3016bcbd43e972b3bbc7ae469781e1c77632682e81102eede95ced54d40fb3
@@ -1,5 +1,5 @@
1
1
  module Ruboty
2
2
  module Evaluate
3
- VERSION = '1.0.1'
3
+ VERSION = '1.0.2'
4
4
  end
5
5
  end
@@ -7,13 +7,9 @@ module Ruboty
7
7
 
8
8
  def evaluate(message)
9
9
  thread = Thread.start do
10
- stdout, stderr, status = Open3.capture3(message[:command])
10
+ stdout, stderr, _status = Open3.capture3(message[:command])
11
11
  message.reply(stdout.chomp) if stdout
12
12
  message.reply(stderr.chomp) if stderr
13
-
14
- unless status.success?
15
- message.reply("Command Failed:\n#{message[:command]}", code: true)
16
- end
17
13
  end
18
14
  Thread.start do
19
15
  sleep 10
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruboty-evaluate
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
  - kaihar4