simplvisor 0.0.2 → 0.0.3
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.
- data/README.rdoc +10 -0
- data/VERSION +1 -1
- data/lib/simplvisor/bluepill.rb +1 -1
- data/simplvisor.gemspec +4 -4
- metadata +9 -4
data/README.rdoc
CHANGED
|
@@ -2,6 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
a simpler & more opinionated DSL for bluepill, god, etc
|
|
4
4
|
|
|
5
|
+
== Example
|
|
6
|
+
|
|
7
|
+
#!/usr/bin/env -S ruby -rubygems
|
|
8
|
+
require 'simplvisor/bluepill'
|
|
9
|
+
|
|
10
|
+
watch "unicorn -c ../config/unicorn.conf"
|
|
11
|
+
watch "pegasus boot.rb"
|
|
12
|
+
watch "redis-server ../config/redis.conf"
|
|
13
|
+
|
|
14
|
+
|
|
5
15
|
== Copyright
|
|
6
16
|
|
|
7
17
|
Copyright (c) 2010 Citizen Logistics, Inc.. See LICENSE for details.
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.0.
|
|
1
|
+
0.0.3
|
data/lib/simplvisor/bluepill.rb
CHANGED
|
@@ -17,7 +17,7 @@ module Simplvisor
|
|
|
17
17
|
name = options[:name] || File.basename(cmdline.split.first)
|
|
18
18
|
app.process(name) do |x|
|
|
19
19
|
x.working_dir = PWD
|
|
20
|
-
x.start_command = cmdline
|
|
20
|
+
x.start_command = "bundle exec #{cmdline}"
|
|
21
21
|
x.pid_file = options[:pid] || "#{PWD}/log/#{name}.pid"
|
|
22
22
|
x.daemonize = true unless options[:reckless]
|
|
23
23
|
x.stdout = "#{PWD}/log/#{name}-out.log"
|
data/simplvisor.gemspec
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = %q{simplvisor}
|
|
8
|
-
s.version = "0.0.
|
|
8
|
+
s.version = "0.0.3"
|
|
9
9
|
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
11
|
s.authors = ["Joe Edelman"]
|
|
12
|
-
s.date = %q{
|
|
12
|
+
s.date = %q{2011-02-16}
|
|
13
13
|
s.email = %q{joe@citizenlogistics.com}
|
|
14
14
|
s.extra_rdoc_files = [
|
|
15
15
|
"LICENSE",
|
|
@@ -32,7 +32,7 @@ Gem::Specification.new do |s|
|
|
|
32
32
|
s.homepage = %q{http://github.com/citizenlogistics/simplvisor}
|
|
33
33
|
s.rdoc_options = ["--charset=UTF-8"]
|
|
34
34
|
s.require_paths = ["lib"]
|
|
35
|
-
s.rubygems_version = %q{1.3.
|
|
35
|
+
s.rubygems_version = %q{1.3.7}
|
|
36
36
|
s.summary = %q{a simpler & more opinionated DSL for bluepill, god, etc}
|
|
37
37
|
s.test_files = [
|
|
38
38
|
"test/helper.rb",
|
|
@@ -43,7 +43,7 @@ Gem::Specification.new do |s|
|
|
|
43
43
|
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
|
44
44
|
s.specification_version = 3
|
|
45
45
|
|
|
46
|
-
if Gem::Version.new(Gem::
|
|
46
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
|
47
47
|
s.add_runtime_dependency(%q<bluepill>, [">= 0"])
|
|
48
48
|
s.add_development_dependency(%q<minitest>, [">= 0"])
|
|
49
49
|
s.add_development_dependency(%q<yard>, [">= 0"])
|
metadata
CHANGED
|
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
|
5
5
|
segments:
|
|
6
6
|
- 0
|
|
7
7
|
- 0
|
|
8
|
-
-
|
|
9
|
-
version: 0.0.
|
|
8
|
+
- 3
|
|
9
|
+
version: 0.0.3
|
|
10
10
|
platform: ruby
|
|
11
11
|
authors:
|
|
12
12
|
- Joe Edelman
|
|
@@ -14,13 +14,14 @@ autorequire:
|
|
|
14
14
|
bindir: bin
|
|
15
15
|
cert_chain: []
|
|
16
16
|
|
|
17
|
-
date:
|
|
17
|
+
date: 2011-02-16 00:00:00 -08:00
|
|
18
18
|
default_executable:
|
|
19
19
|
dependencies:
|
|
20
20
|
- !ruby/object:Gem::Dependency
|
|
21
21
|
name: bluepill
|
|
22
22
|
prerelease: false
|
|
23
23
|
requirement: &id001 !ruby/object:Gem::Requirement
|
|
24
|
+
none: false
|
|
24
25
|
requirements:
|
|
25
26
|
- - ">="
|
|
26
27
|
- !ruby/object:Gem::Version
|
|
@@ -33,6 +34,7 @@ dependencies:
|
|
|
33
34
|
name: minitest
|
|
34
35
|
prerelease: false
|
|
35
36
|
requirement: &id002 !ruby/object:Gem::Requirement
|
|
37
|
+
none: false
|
|
36
38
|
requirements:
|
|
37
39
|
- - ">="
|
|
38
40
|
- !ruby/object:Gem::Version
|
|
@@ -45,6 +47,7 @@ dependencies:
|
|
|
45
47
|
name: yard
|
|
46
48
|
prerelease: false
|
|
47
49
|
requirement: &id003 !ruby/object:Gem::Requirement
|
|
50
|
+
none: false
|
|
48
51
|
requirements:
|
|
49
52
|
- - ">="
|
|
50
53
|
- !ruby/object:Gem::Version
|
|
@@ -85,6 +88,7 @@ rdoc_options:
|
|
|
85
88
|
require_paths:
|
|
86
89
|
- lib
|
|
87
90
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
91
|
+
none: false
|
|
88
92
|
requirements:
|
|
89
93
|
- - ">="
|
|
90
94
|
- !ruby/object:Gem::Version
|
|
@@ -92,6 +96,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
92
96
|
- 0
|
|
93
97
|
version: "0"
|
|
94
98
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
99
|
+
none: false
|
|
95
100
|
requirements:
|
|
96
101
|
- - ">="
|
|
97
102
|
- !ruby/object:Gem::Version
|
|
@@ -101,7 +106,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
101
106
|
requirements: []
|
|
102
107
|
|
|
103
108
|
rubyforge_project:
|
|
104
|
-
rubygems_version: 1.3.
|
|
109
|
+
rubygems_version: 1.3.7
|
|
105
110
|
signing_key:
|
|
106
111
|
specification_version: 3
|
|
107
112
|
summary: a simpler & more opinionated DSL for bluepill, god, etc
|