webrelay_scheduler 0.6.1 → 0.6.2
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/webrelay +1 -0
- data/lib/webrelay_scheduler/version.rb +1 -1
- metadata +3 -3
data/bin/webrelay
CHANGED
@@ -8,6 +8,7 @@ Escort::App.create do |app|
|
|
8
8
|
app.description "A tool to power on/off devices connected to ControlByWeb webrelays. "+
|
9
9
|
"This tool is usually called by a task scheduler, such as cron or Windows Task Scheduler."
|
10
10
|
|
11
|
+
app.config_file ".webrelay_scheduler", :autocreate => true
|
11
12
|
app.options do |opts|
|
12
13
|
opts.opt :ip, "The ip address of the relay to control. This argument can be used multiple times to control more than one relay at a time, eg. '... --ip 10.0.0.1 --ip 10.0.0.2'", :short => '-i', :long => '--ip', :type => :string, :multi => true
|
13
14
|
opts.opt :power, "Sets the power on the relays. Accepts either ON or OFF", :short => '-p', :long => '--power', :type => :string, :default => "ON"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: webrelay_scheduler
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -142,7 +142,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
142
142
|
version: '0'
|
143
143
|
segments:
|
144
144
|
- 0
|
145
|
-
hash:
|
145
|
+
hash: 4354468138948314233
|
146
146
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
147
147
|
none: false
|
148
148
|
requirements:
|
@@ -151,7 +151,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
151
151
|
version: '0'
|
152
152
|
segments:
|
153
153
|
- 0
|
154
|
-
hash:
|
154
|
+
hash: 4354468138948314233
|
155
155
|
requirements: []
|
156
156
|
rubyforge_project:
|
157
157
|
rubygems_version: 1.8.23
|