sslserve 0.0.1 → 0.0.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.
- data/bin/sslserve +2 -2
- metadata +1 -1
data/bin/sslserve
CHANGED
|
@@ -5,7 +5,7 @@ require 'webrick/https'
|
|
|
5
5
|
require 'openssl'
|
|
6
6
|
require 'optparse'
|
|
7
7
|
|
|
8
|
-
version = "0.0.
|
|
8
|
+
version = "0.0.2"
|
|
9
9
|
options = {
|
|
10
10
|
:dir => Dir.pwd,
|
|
11
11
|
:host => '127.0.0.1',
|
|
@@ -33,7 +33,7 @@ OptionParser.new do |opts|
|
|
|
33
33
|
options[:name] = n
|
|
34
34
|
end
|
|
35
35
|
|
|
36
|
-
opts.on("-e", "--expires HOURS", "Certificate expires in HOURS hours. Defaults to #{options[:
|
|
36
|
+
opts.on("-e", "--expires HOURS", "Certificate expires in HOURS hours. Defaults to #{options[:expire]}") do |e|
|
|
37
37
|
options[:expire] = e
|
|
38
38
|
end
|
|
39
39
|
|