Thin_Upstart 1.1.1 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -22,6 +22,12 @@ are generated (assuming you call your group of Thin apps 'web-app'):
22
22
  |- web-apps-app2.conf
23
23
  |- ...
24
24
 
25
+ Tip
26
+ ---
27
+
28
+ Check the format of your Upstart files when you copy them to /etc/init using this command:
29
+
30
+ sudo initctl check-config --warn App-Name
25
31
 
26
32
  Installation
27
33
  ------------
data/lib/Thin_Upstart.rb CHANGED
@@ -15,7 +15,8 @@ class Thin_Upstart
15
15
  module Class_Methods
16
16
 
17
17
  def trash dir
18
- cmd = `which trash`.strip.empty? || File.directory?("/tmp/Thin_Upstart") ? "rm" : "trash"
18
+ # cmd = `which trash`.strip.empty? || File.directory?("/tmp/Thin_Upstart") ? "rm" : "trash"
19
+ cmd = "rm"
19
20
  files = []
20
21
  Dir.glob(File.join(dir, "*.conf")).each { |file|
21
22
  next unless File.read(file)["# Generated by Thin_Upstart"]
@@ -1,3 +1,3 @@
1
1
  class Thin_Upstart
2
- VERSION = "1.1.1"
2
+ VERSION = "1.2.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: Thin_Upstart
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.2.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-04-15 00:00:00.000000000 Z
12
+ date: 2012-04-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bacon