wol 0.2.0 → 0.2.1
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.
- data/README.rdoc +3 -5
- data/VERSION +1 -1
- data/bin/wol +3 -4
- metadata +1 -1
data/README.rdoc
CHANGED
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
=
|
|
1
|
+
= WOL
|
|
2
2
|
|
|
3
|
-
Ruby Wake-On-LAN gem.
|
|
3
|
+
Ruby Wake-On-LAN gem. While the basic functionality is in place, this gem is still under heavy development, and some things may yet change.
|
|
4
4
|
|
|
5
5
|
== To Do
|
|
6
6
|
|
|
7
|
-
*
|
|
8
|
-
* Unify the command line options with the perl version
|
|
9
|
-
* Write tests (IMPORTANT!)
|
|
7
|
+
* Write further tests (IMPORTANT!)
|
|
10
8
|
* Refactor the gem structure to something sane
|
|
11
9
|
|
|
12
10
|
== Note on Patches/Pull Requests
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.2.
|
|
1
|
+
0.2.1
|
data/bin/wol
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/ruby -w
|
|
2
2
|
|
|
3
3
|
require 'optparse'
|
|
4
|
-
require '
|
|
5
|
-
require '
|
|
6
|
-
require 'pp'
|
|
4
|
+
require 'wol'
|
|
5
|
+
require 'parsefile'
|
|
7
6
|
|
|
8
7
|
class Runner
|
|
9
8
|
@sample_file = %{# File structure
|
|
@@ -107,7 +106,7 @@ class Runner
|
|
|
107
106
|
end
|
|
108
107
|
|
|
109
108
|
def self.version
|
|
110
|
-
"Ruby Wake-On-LAN version 0.1
|
|
109
|
+
"Ruby Wake-On-LAN version 0.2.1"
|
|
111
110
|
end
|
|
112
111
|
|
|
113
112
|
def self.wake(options = {})
|