go_watchdog 1.2.3 → 1.2.4

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/bin/go_watchdog +4 -2
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d6f7ca2df49e18259d7c5171e7db228872df8b52
4
- data.tar.gz: 92ed917ad337d874b59959bedc557c46bae62ca1
3
+ metadata.gz: f6d78ca3a8f75cfef7821195dea157ed151cba3d
4
+ data.tar.gz: 4c188eab5abb8b00afd2838b9b5ab9c308640f4c
5
5
  SHA512:
6
- metadata.gz: b5d42a2102dfa559556953c25d804a3216ec1114013d259e9a586b7f25563844fbd278afd4645f83d73a858fb06e476ebd725bef939704aa4c70024a805a7a09
7
- data.tar.gz: 19a22864b15270772b6653b270ad7cc3087d3baa3a72da4893efda362402ea5031682ada241aacc90e17858b580d6eb408b21a20a309acc40b699ffe0b7377c9
6
+ metadata.gz: e851390864dcb066b8b61bbd0fe7a9965cd3d1d52c329aada4e5ee9cef947f3524fc91a035784ca0b84b271ac1b679ce9c39ea085f7d59b70bf0a3deb7d35b70
7
+ data.tar.gz: 91413ee399b8ed9bf87274f0a2a17faa3fb82d0c73afd76da5609d5c525c47483c5c639a544e5f14e6c891cd50b610bf46899fcd0e5f71f93bf1a0b8732ed803
data/bin/go_watchdog CHANGED
@@ -2,7 +2,8 @@
2
2
 
3
3
  require 'fileutils'
4
4
 
5
- template = File.join(__dir__, '..', 'config.yml.example')
5
+ base_dir = File.expand_path(File.join(__dir__, '..'))
6
+ template = , File.join(base_dir, 'config.yml.example')
6
7
  config_file = File.join(ENV['HOME'], '.go_watchdog.yml')
7
8
 
8
9
  if File.exists?(config_file)
@@ -13,4 +14,5 @@ else
13
14
  exit -1
14
15
  end
15
16
 
16
- `cd ${__dir__}; cd ..; rackup`
17
+ )
18
+ `rackup #{File.join(base_dir, 'config.ru')}`
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: go_watchdog
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.3
4
+ version: 1.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bill DePhillips