arbi 1.0.7a → 1.0.7
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/arbi.rb +4 -4
- metadata +7 -9
data/lib/arbi.rb
CHANGED
@@ -12,7 +12,7 @@ module Arbi
|
|
12
12
|
|
13
13
|
require 'optparse'
|
14
14
|
|
15
|
-
VERSION = "1.0.
|
15
|
+
VERSION = "1.0.7"
|
16
16
|
|
17
17
|
@cmd = []
|
18
18
|
|
@@ -44,7 +44,7 @@ module Arbi
|
|
44
44
|
end
|
45
45
|
|
46
46
|
def self.get what
|
47
|
-
|
47
|
+
self.connect unless self.connected?
|
48
48
|
@@connection.print what + "\r\n"
|
49
49
|
eval @@connection.gets.strip
|
50
50
|
end
|
@@ -98,7 +98,7 @@ module Arbi
|
|
98
98
|
@address = addr
|
99
99
|
end
|
100
100
|
|
101
|
-
o.on('-p', '--port PORT', 'Port to use for server, default to
|
101
|
+
o.on('-p', '--port PORT', 'Port to use for server, default to 6969') do |port|
|
102
102
|
@port = port
|
103
103
|
end
|
104
104
|
|
@@ -233,7 +233,7 @@ module Arbi
|
|
233
233
|
@address = addr
|
234
234
|
end
|
235
235
|
|
236
|
-
o.on('-p', '--port PORT', 'Set port to connect, default to
|
236
|
+
o.on('-p', '--port PORT', 'Set port to connect, default to 6969') do |port|
|
237
237
|
@port = port
|
238
238
|
end
|
239
239
|
|
metadata
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: arbi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
prerelease:
|
4
|
+
prerelease: false
|
5
5
|
segments:
|
6
6
|
- 1
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
version: 1.0.
|
8
|
+
- 7
|
9
|
+
version: 1.0.7
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- shura
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-09-
|
17
|
+
date: 2010-09-15 00:00:00 +02:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
@@ -70,13 +70,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
70
70
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
71
71
|
none: false
|
72
72
|
requirements:
|
73
|
-
- - "
|
73
|
+
- - ">="
|
74
74
|
- !ruby/object:Gem::Version
|
75
75
|
segments:
|
76
|
-
-
|
77
|
-
|
78
|
-
- 1
|
79
|
-
version: 1.3.1
|
76
|
+
- 0
|
77
|
+
version: "0"
|
80
78
|
requirements: []
|
81
79
|
|
82
80
|
rubyforge_project:
|