p2ruby 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/HISTORY +4 -0
- data/VERSION +1 -1
- data/lib/p2ruby/router.rb +6 -6
- metadata +1 -1
data/HISTORY
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.2
|
data/lib/p2ruby/router.rb
CHANGED
@@ -5,7 +5,7 @@ module P2
|
|
5
5
|
include P2
|
6
6
|
|
7
7
|
def self.find
|
8
|
-
router = WinGui::App.find :title => ROUTER_TITLE
|
8
|
+
router = ::WinGui::App.find :title => ROUTER_TITLE
|
9
9
|
router ? new(:app => router) : nil
|
10
10
|
end
|
11
11
|
|
@@ -24,11 +24,11 @@ module P2
|
|
24
24
|
@opts[:args] ||= "/ini:#{@opts[:ini]}"
|
25
25
|
@opts[:timeout] ||= 3
|
26
26
|
|
27
|
-
@app = WinGui::App.launch(:dir => @opts[:dir],
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
27
|
+
@app = ::WinGui::App.launch(:dir => @opts[:dir],
|
28
|
+
:path => @opts[:path],
|
29
|
+
:args => @opts[:args],
|
30
|
+
:title => @opts[:title],
|
31
|
+
:timeout => @opts[:timeout])
|
32
32
|
end
|
33
33
|
end
|
34
34
|
|