sv 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: 47da1d46a57f3f16e57013ef5bcfb7f2bd79db29
4
- data.tar.gz: f01a48f3ebb330134178c6cadf2b1fa7f91060fb
3
+ metadata.gz: c20dce7bb12aa2833233a555dd328260773ba98d
4
+ data.tar.gz: dc88f3dd7b0f53a991f87ba56613b3e1ad61ca16
5
5
  SHA512:
6
- metadata.gz: e533aee235f8c097ad0650a15511afbf93fb65319a599e4b567c5963c7c027ea6f675b5e7a13f6490f59f902627c9d8343bb3047a113f742607eadea2f809ec1
7
- data.tar.gz: fb36f82a1cf16385a6b22edd9592881d8bed5df071f2581c6b75ffe9402ccbe4b7ba59704ca2f33841e734eecb9bb5fbb6c3c44e9db3626e31736f27ff3459cd
6
+ metadata.gz: 54e8eec2d5962d9c4358b3922e724885359f94904d255e5c57778a76de6159227557e5da3ae08540916468d1ac7ec66c3b1645e69ceda2d5c6f4d5a91b3dfdb0
7
+ data.tar.gz: 19ff7a46f19873f92a32c60f27d33806712f3f41a95421c56cf8fd33dbad4952c24688e291800a745eaa7bbe9a85024f74f23a3910e4613bbbd8348bb8939225
@@ -13,7 +13,7 @@ module Sv::Supervisor
13
13
  end
14
14
 
15
15
  def path
16
- "#{config.app_dir}/tmp/supervisor.conf"
16
+ @path ||= File.realdirpath "#{config.app_dir}/tmp/supervisor.conf"
17
17
  end
18
18
 
19
19
  def generated_path
@@ -51,9 +51,9 @@ module Sv::Supervisor
51
51
 
52
52
  def binding
53
53
  opts = OpenStruct.new
54
- opts.socket_path = config.socket_path
55
- opts.pidfile = config.pidfile
56
- opts.logfile = config.logfile
54
+ opts.socket_path = File.realdirpath config.socket_path
55
+ opts.pidfile = File.realdirpath config.pidfile
56
+ opts.logfile = File.realdirpath config.logfile
57
57
  opts.rendered_jobs = rendered_jobs
58
58
  opts.instance_eval { binding }
59
59
  end
data/lib/sv/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Sv
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sv
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
  - Neeraj
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-05-07 00:00:00.000000000 Z
11
+ date: 2015-05-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler