kanamei-keystone 0.0.24 → 0.0.25

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.
@@ -16,6 +16,7 @@ opts.on("-w who") do |v|
16
16
  end
17
17
 
18
18
  execute() do
19
+ sleep 100
19
20
  info "batch process01"
20
21
  info "who=#{has_option[:w]}"
21
22
  sleep 4
data/lib/keystone.rb CHANGED
@@ -11,7 +11,7 @@ autoload :Moji , 'moji'
11
11
 
12
12
  module Keystone
13
13
 
14
- VERSION = '0.0.24'
14
+ VERSION = '0.0.25'
15
15
 
16
16
  autoload :StringUtil , 'keystone/string_util'
17
17
  autoload :Batch , 'keystone/batch'
@@ -134,7 +134,7 @@ module Keystone::Batch
134
134
  debug pid_file
135
135
  if File.exists?(pid_file)
136
136
  pid = File.open(pid_file).read.chomp
137
- pid_list = `ps -ax | awk '{print $1}'`
137
+ pid_list = `ps ax | awk '{print $1}'`
138
138
  if (pid != nil && pid != "" ) && pid_list =~ /#{pid}/
139
139
  warn "pid:#{pid} still running"
140
140
  double_process_check_worked = true
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kanamei-keystone
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.24
4
+ version: 0.0.25
5
5
  platform: ruby
6
6
  authors:
7
7
  - kanamei