arbi 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/arbi.rb +3 -3
- data/lib/arbi/plugins/thermal.rb +6 -0
- metadata +4 -4
data/lib/arbi.rb
CHANGED
@@ -158,7 +158,7 @@ module Arbi
|
|
158
158
|
next
|
159
159
|
when /^help:$/i
|
160
160
|
puts buff
|
161
|
-
when /^version
|
161
|
+
when /^version:$/i
|
162
162
|
puts buff
|
163
163
|
end
|
164
164
|
Arbi::cmd.each{|cmd|
|
@@ -204,8 +204,8 @@ module Arbi
|
|
204
204
|
show_help if opts["h"]
|
205
205
|
@address = opts["a"] if opts["a"]
|
206
206
|
@port = opts["p"] if opts["p"]
|
207
|
-
@command = "#{opts["c"]}
|
208
|
-
delete_if{|x|x=~/^quit$/i}.
|
207
|
+
@command = "#{opts["c"]}".gsub(/,+/, ',').gsub(/\s+/, '').split(/,/).
|
208
|
+
uniq.delete_if{|x|x=~/^quit$/i}.push('quit').join("\r\n") if opts["c"]
|
209
209
|
end
|
210
210
|
end
|
211
211
|
end
|
data/lib/arbi/plugins/thermal.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: arbi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 17
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 1.0.
|
9
|
+
- 3
|
10
|
+
version: 1.0.3
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- shura
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2010-07-
|
18
|
+
date: 2010-07-13 00:00:00 +02:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|