p2ruby 0.1.1 → 0.1.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 (4) hide show
  1. data/HISTORY +4 -0
  2. data/VERSION +1 -1
  3. data/lib/p2ruby/router.rb +6 -6
  4. metadata +1 -1
data/HISTORY CHANGED
@@ -9,3 +9,7 @@
9
9
  == 0.1.1 / 2011-03-19
10
10
 
11
11
  * Dependencies updated
12
+
13
+ == 0.1.2 / 2011-03-19
14
+
15
+ * WinGui require issues
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.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
- :path => @opts[:path],
29
- :args => @opts[:args],
30
- :title => @opts[:title],
31
- :timeout => @opts[:timeout])
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
 
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: p2ruby
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.1.1
5
+ version: 0.1.2
6
6
  platform: ruby
7
7
  authors:
8
8
  - arvicco