Thin_Upstart 1.2.0 → 1.2.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.
@@ -28,5 +28,5 @@ Gem::Specification.new do |s|
28
28
  # Specify any dependencies here; for example:
29
29
  s.add_runtime_dependency 'mustache'
30
30
  s.add_runtime_dependency 'trollop'
31
- s.add_runtime_dependency 'Exit_Zero'
31
+ s.add_runtime_dependency 'Exit_0'
32
32
  end
@@ -1,5 +1,5 @@
1
1
  require 'Thin_Upstart/version'
2
- require 'Exit_Zero'
2
+ require 'Exit_0'
3
3
  require 'mustache'
4
4
 
5
5
  Mustache.raise_on_context_miss = true
@@ -21,7 +21,7 @@ class Thin_Upstart
21
21
  Dir.glob(File.join(dir, "*.conf")).each { |file|
22
22
  next unless File.read(file)["# Generated by Thin_Upstart"]
23
23
  files << file
24
- Exit_Zero "#{cmd} #{file}"
24
+ Exit_0 "#{cmd} #{file}"
25
25
  }
26
26
 
27
27
  files.sort
@@ -1,3 +1,3 @@
1
1
  class Thin_Upstart
2
- VERSION = "1.2.0"
2
+ VERSION = "1.2.1"
3
3
  end
@@ -3,14 +3,14 @@ require File.expand_path('spec/helper')
3
3
  require 'Thin_Upstart'
4
4
  require 'Bacon_Colored'
5
5
  require 'pry'
6
- require 'Exit_Zero'
6
+ require 'Exit_0'
7
7
 
8
8
  D = "/tmp/Thin_Upstart"
9
9
 
10
10
  def Multi_0 str
11
11
  str.strip.split("\n").each { |o|
12
12
  next if o.strip.empty?
13
- Exit_Zero o
13
+ Exit_0 o
14
14
  }
15
15
  end
16
16
 
@@ -53,7 +53,7 @@ end
53
53
 
54
54
  def bin args
55
55
  chdir {
56
- Exit_Zero "Thin_Upstart #{args}"
56
+ Exit_0 "Thin_Upstart #{args}"
57
57
  }
58
58
  end
59
59
 
@@ -37,7 +37,7 @@ describe "bin: Thin_Upstart" do
37
37
 
38
38
  it "accepts --apps" do
39
39
  chdir {
40
- Exit_Zero "cp -r apps new-apps"
40
+ Exit_0 "cp -r apps new-apps"
41
41
  bin "--apps new-apps"
42
42
  should_mustache "apps_dir", File.expand_path("new-apps"), "upstart/My-Apps-Hi.conf"
43
43
  }
@@ -45,7 +45,7 @@ describe "bin: Thin_Upstart" do
45
45
 
46
46
  it "accepts --templates" do
47
47
  chdir {
48
- Exit_Zero "cp -r templates new-templates"
48
+ Exit_0 "cp -r templates new-templates"
49
49
  bin "--templates \"new-templates/*.conf\""
50
50
  should_mustache "app", "Hi", "upstart/My-Apps-Hi.conf"
51
51
  }
@@ -53,7 +53,7 @@ describe "bin: Thin_Upstart" do
53
53
 
54
54
  it "accepts --output" do
55
55
  chdir {
56
- Exit_Zero "mkdir new-upstart"
56
+ Exit_0 "mkdir new-upstart"
57
57
  bin "--output new-upstart"
58
58
  should_mustache "name", "My-Apps", "new-upstart/My-Apps-Hi.conf"
59
59
  }
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.2.0
4
+ version: 1.2.1
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-16 00:00:00.000000000 Z
12
+ date: 2012-04-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bacon
@@ -108,7 +108,7 @@ dependencies:
108
108
  - !ruby/object:Gem::Version
109
109
  version: '0'
110
110
  - !ruby/object:Gem::Dependency
111
- name: Exit_Zero
111
+ name: Exit_0
112
112
  requirement: !ruby/object:Gem::Requirement
113
113
  none: false
114
114
  requirements:
@@ -173,7 +173,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
173
173
  version: '0'
174
174
  requirements: []
175
175
  rubyforge_project:
176
- rubygems_version: 1.8.19
176
+ rubygems_version: 1.8.23
177
177
  signing_key:
178
178
  specification_version: 3
179
179
  summary: Generate Upstart conf files for your Thin apps.