titech-pubnet-auth 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/titech-pubnet-auth +2 -2
- data/lib/titech_pubnet_auth/version.rb +1 -1
- data/titech_pubnet_auth.gemspec +1 -1
- metadata +1 -1
data/bin/titech-pubnet-auth
CHANGED
@@ -11,7 +11,7 @@ require 'terminal-notifier' if OS_X
|
|
11
11
|
opt = OptionParser.new
|
12
12
|
|
13
13
|
interval = 2
|
14
|
-
opt.on('-i','--interval=SECONDS',
|
14
|
+
opt.on('-i','--interval=SECONDS',"Specify the polling interval.[#{interval}]"){|v|
|
15
15
|
interval = v.to_i
|
16
16
|
}
|
17
17
|
|
@@ -31,7 +31,7 @@ opt.on('-c','--config','Set your username and password.'){
|
|
31
31
|
}
|
32
32
|
|
33
33
|
debug = false
|
34
|
-
opt.on('
|
34
|
+
opt.on('--debug','Debug-mode.'){
|
35
35
|
debug = true
|
36
36
|
}
|
37
37
|
|
data/titech_pubnet_auth.gemspec
CHANGED
@@ -10,7 +10,7 @@ Gem::Specification.new do |gem|
|
|
10
10
|
gem.summary = 'This gem provides automatic authentication for titech-pubnet.'
|
11
11
|
gem.homepage = 'http://for-titech.herokuapp.com'
|
12
12
|
|
13
|
-
gem.files = FileList['lib/**/*', 'bin/*', 'config
|
13
|
+
gem.files = FileList['lib/**/*', 'bin/*', 'config/private.yml.example', 'Rakefile', 'Gemfile', 'README.md', 'titech_pubnet_auth.gemspec'].to_a
|
14
14
|
|
15
15
|
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
16
16
|
gem.name = "titech-pubnet-auth"
|