bowler 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/README.md +45 -1
  2. data/lib/bowler/version.rb +1 -1
  3. metadata +10 -10
data/README.md CHANGED
@@ -1,3 +1,47 @@
1
1
  # Bowler
2
2
 
3
- Bowler is a gem to manage process dependencies in Foreman.
3
+ Bowler manages Foreman process dependencies for large applications.
4
+
5
+ Bowler wraps the `foreman start` command with `bowl <processes>`, calculates the dependencies required, and automatically enables and disables the relevant processes in Foreman.
6
+
7
+ ## Installation
8
+
9
+ Install from the command line:
10
+
11
+ ```
12
+ gem install bowler
13
+ ```
14
+
15
+ ## Usage
16
+
17
+ Bowler reads from a `Pinfile` to find your process dependencies. Declaring dependencies is easy:
18
+
19
+ ```ruby
20
+ process :app => [:database, :tiles]
21
+ process :api => :database
22
+ ```
23
+
24
+ You can specify a global dependency too.
25
+
26
+ ```ruby
27
+ dependency :database
28
+
29
+ process :app => :tiles
30
+ process :api
31
+ ```
32
+
33
+ To run a process, use the `bowl` executable:
34
+
35
+ ```
36
+ bowl app
37
+ ```
38
+
39
+ You can run multiple processes at once:
40
+
41
+ ```
42
+ bowl app api
43
+ ```
44
+
45
+ ## License
46
+
47
+ MIT License
@@ -1,3 +1,3 @@
1
1
  module Bowler
2
- VERSION = '0.0.1'
2
+ VERSION = '0.0.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bowler
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-03-16 00:00:00.000000000Z
12
+ date: 2012-03-17 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: foreman
16
- requirement: &70276368515620 !ruby/object:Gem::Requirement
16
+ requirement: &70109390703300 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70276368515620
24
+ version_requirements: *70109390703300
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: rake
27
- requirement: &70276368514980 !ruby/object:Gem::Requirement
27
+ requirement: &70109390702060 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: 0.9.2.2
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *70276368514980
35
+ version_requirements: *70109390702060
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: rspec
38
- requirement: &70276368514300 !ruby/object:Gem::Requirement
38
+ requirement: &70109390694280 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ~>
@@ -43,7 +43,7 @@ dependencies:
43
43
  version: 2.8.0
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *70276368514300
46
+ version_requirements: *70109390694280
47
47
  description:
48
48
  email:
49
49
  - jordan@jordanh.net
@@ -80,7 +80,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
80
80
  version: '0'
81
81
  segments:
82
82
  - 0
83
- hash: 1393360155367898551
83
+ hash: -3332018436335453637
84
84
  required_rubygems_version: !ruby/object:Gem::Requirement
85
85
  none: false
86
86
  requirements:
@@ -89,7 +89,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
89
89
  version: '0'
90
90
  segments:
91
91
  - 0
92
- hash: 1393360155367898551
92
+ hash: -3332018436335453637
93
93
  requirements: []
94
94
  rubyforge_project:
95
95
  rubygems_version: 1.8.12