upstart-exporter 0.1.3 → 0.1.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.
@@ -17,7 +17,10 @@ module Upstart
17
17
  protected
18
18
 
19
19
  HELPER_TPL = <<-HEREDOC
20
- #!/bin/sh
20
+ #!/bin/bash
21
+ if [ -f /etc/profile.d/rbenv.sh ]; then
22
+ source /etc/profile.d/rbenv.sh
23
+ fi
21
24
  {{cmd}}
22
25
  HEREDOC
23
26
 
@@ -1,5 +1,5 @@
1
1
  module Upstart
2
2
  class Exporter
3
- VERSION = "0.1.3"
3
+ VERSION = "0.1.4"
4
4
  end
5
5
  end
@@ -23,7 +23,10 @@ HEREDOC
23
23
  it "should generate a valid helper script" do
24
24
 
25
25
  conf = <<-HEREDOC
26
- #!/bin/sh
26
+ #!/bin/bash
27
+ if [ -f /etc/profile.d/rbenv.sh ]; then
28
+ source /etc/profile.d/rbenv.sh
29
+ fi
27
30
  SOME COMMAND
28
31
  HEREDOC
29
32
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: upstart-exporter
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 19
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 3
10
- version: 0.1.3
9
+ - 4
10
+ version: 0.1.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Ilya Averyanov
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-12-23 00:00:00 Z
18
+ date: 2012-02-12 00:00:00 Z
19
19
  dependencies: []
20
20
 
21
21
  description: Gem for converting Procfile-like files to upstart scripts