Compare commits
6
Commits
v0.11.0
...
v0.12.0.pre1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
22ad6c5dd8 | ||
|
|
b117ef5b08 | ||
|
|
35474ad1a5 | ||
|
|
fc5e86b269 | ||
|
|
7f8ca7da39 | ||
|
|
31239d98d0 |
@@ -5,3 +5,5 @@ man/*.?
|
|||||||
man/*.html
|
man/*.html
|
||||||
man/*.markdown
|
man/*.markdown
|
||||||
pkg
|
pkg
|
||||||
|
tags
|
||||||
|
|
||||||
|
|||||||
@@ -15,4 +15,4 @@ end
|
|||||||
|
|
||||||
gem 'json', '~> 1.5.1'
|
gem 'json', '~> 1.5.1'
|
||||||
gem 'term-ansicolor', '~> 1.0.5'
|
gem 'term-ansicolor', '~> 1.0.5'
|
||||||
gem 'thor', '~> 0.13.6'
|
gem 'thor', '>= 0.13.6'
|
||||||
|
|||||||
+2
-2
@@ -31,7 +31,7 @@ GEM
|
|||||||
rspec-core (~> 2.0.1)
|
rspec-core (~> 2.0.1)
|
||||||
rspec-expectations (~> 2.0.1)
|
rspec-expectations (~> 2.0.1)
|
||||||
term-ansicolor (1.0.5)
|
term-ansicolor (1.0.5)
|
||||||
thor (0.13.8)
|
thor (0.14.6)
|
||||||
|
|
||||||
PLATFORMS
|
PLATFORMS
|
||||||
ruby
|
ruby
|
||||||
@@ -46,4 +46,4 @@ DEPENDENCIES
|
|||||||
rr (~> 1.0.2)
|
rr (~> 1.0.2)
|
||||||
rspec (~> 2.0.0)
|
rspec (~> 2.0.0)
|
||||||
term-ansicolor (~> 1.0.5)
|
term-ansicolor (~> 1.0.5)
|
||||||
thor (~> 0.13.6)
|
thor (>= 0.13.6)
|
||||||
|
|||||||
+24
-7
@@ -1,12 +1,29 @@
|
|||||||
require "rubygems"
|
$:.unshift File.expand_path("../lib", __FILE__)
|
||||||
require "parka/specification"
|
require "foreman/version"
|
||||||
|
|
||||||
Parka::Specification.new do |gem|
|
Gem::Specification.new do |gem|
|
||||||
gem.name = "foreman"
|
gem.name = "foreman"
|
||||||
gem.version = Foreman::VERSION
|
gem.version = Foreman::VERSION
|
||||||
gem.summary = "Process manager for applications with multiple components"
|
|
||||||
gem.homepage = "http://github.com/ddollar/foreman"
|
|
||||||
|
|
||||||
gem.executables = "foreman"
|
gem.author = "David Dollar"
|
||||||
gem.files << "man/foreman.1"
|
gem.email = "ddollar@gmail.com"
|
||||||
|
gem.homepage = "http://github.com/ddollar/foreman"
|
||||||
|
gem.summary = "Process manager for applications with multiple components"
|
||||||
|
|
||||||
|
gem.description = gem.summary
|
||||||
|
|
||||||
|
gem.executables = "foreman"
|
||||||
|
gem.files = Dir["**/*"].select { |d| d =~ %r{^(README|bin/|data/|ext/|lib/|spec/|test/)} }
|
||||||
|
gem.files << "man/foreman.1"
|
||||||
|
|
||||||
|
gem.add_dependency 'json', '~> 1.5.1'
|
||||||
|
gem.add_dependency 'term-ansicolor', '~> 1.0.5'
|
||||||
|
gem.add_dependency 'thor', '>= 0.13.6'
|
||||||
|
|
||||||
|
gem.add_development_dependency 'rake'
|
||||||
|
gem.add_development_dependency 'ronn'
|
||||||
|
gem.add_development_dependency 'fakefs', '~> 0.2.1'
|
||||||
|
gem.add_development_dependency 'rcov', '~> 0.9.8'
|
||||||
|
gem.add_development_dependency 'rr', '~> 1.0.2'
|
||||||
|
gem.add_development_dependency 'rspec', '~> 2.0.0'
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -1,7 +1,5 @@
|
|||||||
module Foreman
|
module Foreman
|
||||||
|
|
||||||
VERSION = "0.11.0"
|
|
||||||
|
|
||||||
class AppDoesNotExist < Exception; end
|
class AppDoesNotExist < Exception; end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|||||||
+7
-2
@@ -70,8 +70,6 @@ private ######################################################################
|
|||||||
options[:procfile] || "Procfile"
|
options[:procfile] || "Procfile"
|
||||||
end
|
end
|
||||||
|
|
||||||
private ######################################################################
|
|
||||||
|
|
||||||
def display(message)
|
def display(message)
|
||||||
puts message
|
puts message
|
||||||
end
|
end
|
||||||
@@ -85,4 +83,11 @@ private ######################################################################
|
|||||||
File.exist?(procfile)
|
File.exist?(procfile)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def options
|
||||||
|
original_options = super
|
||||||
|
return original_options unless File.exists?(".foreman")
|
||||||
|
defaults = YAML::load_file(".foreman")
|
||||||
|
Thor::CoreExt::HashWithIndifferentAccess.new(defaults.merge(original_options))
|
||||||
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -0,0 +1,5 @@
|
|||||||
|
module Foreman
|
||||||
|
|
||||||
|
VERSION = "0.12.0.pre1"
|
||||||
|
|
||||||
|
end
|
||||||
@@ -119,6 +119,15 @@ You can validate your Procfile format using the `check` command
|
|||||||
|
|
||||||
$ foreman check
|
$ foreman check
|
||||||
|
|
||||||
|
## DEFAULT OPTIONS
|
||||||
|
|
||||||
|
If a `.foreman` file exists in the current directory, default options will
|
||||||
|
be read from it. This file should be in YAML format with the long option
|
||||||
|
name as keys. Example:
|
||||||
|
|
||||||
|
concurrency: alpha=0
|
||||||
|
port: 15000
|
||||||
|
|
||||||
## EXAMPLES
|
## EXAMPLES
|
||||||
|
|
||||||
Start one instance of each process type, interleave the output on stdout:
|
Start one instance of each process type, interleave the output on stdout:
|
||||||
|
|||||||
Reference in New Issue
Block a user