process_controller 0.1.0 → 0.1.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0db69689906421430209aed3683ed17216ad4635
4
- data.tar.gz: 667d42a65f3d3442f3522916a66b0945497a3aad
3
+ metadata.gz: ec1991052356f30ceba58b1d6e8274bd70916660
4
+ data.tar.gz: d3efc108c94d479d9879c0c10d8039209cdf0da6
5
5
  SHA512:
6
- metadata.gz: 5d43dea61361cba50631d413c4feb0bdf025ab72b76496780236c4489317320ffa327c141a663e73f8ef88ab2c17e2fed046011c6c1afba5fdb59e46a2ddf5f1
7
- data.tar.gz: 991b2b60a5198c5c4d6b37f826e818bf0e3924fbb0eeb1f93c1d63eae85f88c760cb618bccb1523ed2b11713d3e21fd72c366fc0d9f2ac09a9c35e43fadc242a
6
+ metadata.gz: 85c70535d03d7f67a5517a30b11085345cce8d8e66025e3a74d7df245673cc416bfa956c4363e4b471905eba54bd1e9a0f76086c0facff374836fbc5c0a26403
7
+ data.tar.gz: a07e714a3e6a363809f910f784b10d654554c13bf8be7804267fb3791052d3341bbc127f7fae56afb27a8304b9c0eb3a548cf933e69cdab6ec688f558b858324
@@ -1,3 +1,3 @@
1
1
  module Control
2
- VERSION = '0.1.0'
2
+ VERSION = '0.1.1'
3
3
  end
@@ -114,7 +114,10 @@ module ControlHelper
114
114
  def app_not_running?(options)
115
115
  pid_filename = options.fetch(Control_P::OPTIONS_ATTRIBUTES[:pid_filename], nil)
116
116
  raise "no pid filename found in #{options}" if pid_filename.nil?
117
- '' == `cat #{pid_filename}`
117
+ p "working directory is #{Dir.pwd}"
118
+ res = `cat #{pid_filename}`
119
+ p "result from cat master_pid is #{res}"
120
+ '' == res
118
121
  end
119
122
 
120
123
  def kill_with_retries!(options)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: process_controller
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - ohad partuck