upstart-exporter 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +2 -4
- data/README.md +2 -0
- data/Rakefile +5 -0
- data/lib/upstart-exporter/templates.rb +1 -1
- data/lib/upstart-exporter/version.rb +1 -1
- data/spec/lib/upstart-exporter/templates_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +4 -4
data/Gemfile
CHANGED
data/README.md
CHANGED
data/Rakefile
CHANGED
@@ -41,7 +41,7 @@ script
|
|
41
41
|
touch /var/log/{{app_name}}/{{cmd_name}}.log
|
42
42
|
chown {{run_user}} /var/log/{{app_name}}/{{cmd_name}}.log
|
43
43
|
exec sudo -u {{run_user}} /bin/sh {{helper_cmd_conf}} >> /var/log/{{app_name}}/{{cmd_name}}.log 2>&1
|
44
|
-
end
|
44
|
+
end script
|
45
45
|
HEREDOC
|
46
46
|
|
47
47
|
def self.interpolate(str, substitutes)
|
@@ -44,7 +44,7 @@ script
|
|
44
44
|
touch /var/log/SOMEAPP/SOMECMD.log
|
45
45
|
chown SOMEUSER /var/log/SOMEAPP/SOMECMD.log
|
46
46
|
exec sudo -u SOMEUSER /bin/sh HELPERPATH >> /var/log/SOMEAPP/SOMECMD.log 2>&1
|
47
|
-
end
|
47
|
+
end script
|
48
48
|
HEREDOC
|
49
49
|
|
50
50
|
described_class.command(:run_user => 'SOMEUSER', :app_name => 'SOMEAPP', :cmd_name => 'SOMECMD', :helper_cmd_conf => 'HELPERPATH').should == conf
|
data/spec/spec_helper.rb
CHANGED
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:
|
4
|
+
hash: 29
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 3
|
10
|
+
version: 0.1.3
|
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-
|
18
|
+
date: 2011-12-23 00:00:00 Z
|
19
19
|
dependencies: []
|
20
20
|
|
21
21
|
description: Gem for converting Procfile-like files to upstart scripts
|