capistrano-scope 0.0.5 → 0.0.7
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 +9 -10
- metadata +11 -7
data/README
CHANGED
@@ -1,18 +1,19 @@
|
|
1
1
|
|
2
2
|
|
3
|
-
|
4
|
-
|
3
|
+
-------------------------------------------------------------------------
|
4
|
+
= Capfile
|
5
5
|
|
6
6
|
require 'capistrano/scope'
|
7
7
|
|
8
8
|
|
9
|
-
# -------------------------------------------------------------------------
|
10
|
-
# clientx.rb capistrano config file
|
11
9
|
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
10
|
+
|
11
|
+
= clientx.rb capistrano config file
|
12
|
+
|
13
|
+
The order you specify servers or roles doesn't matter, you can define
|
14
|
+
scope.role for a server before you define scope.server or visa versa.
|
15
|
+
You can give servers any name you like but they are broken into logical
|
16
|
+
groups by using the ":" separator.
|
16
17
|
|
17
18
|
scope.server 'clienta:projectx:staging:lb:1', '123.456.567.1'
|
18
19
|
scope.server 'clienta:projectx:staging:lb:2', '123.456.567.2'
|
@@ -95,8 +96,6 @@ scope.role :db, 'clienta:projecty:staging:db:2'
|
|
95
96
|
scope.role :db, 'clienta:projecty:production:db:1', :primary => true
|
96
97
|
scope.role :db, 'clienta:projecty:production:db:2'
|
97
98
|
|
98
|
-
# end of clientx.rb
|
99
|
-
# -------------------------------------------------------------------------
|
100
99
|
|
101
100
|
|
102
101
|
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-scope
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 17
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 7
|
10
|
+
version: 0.0.7
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Kirt Fitzpatrick
|
@@ -34,7 +34,7 @@ dependencies:
|
|
34
34
|
version: 2.5.18
|
35
35
|
type: :runtime
|
36
36
|
version_requirements: *id001
|
37
|
-
description: If puppet were a
|
37
|
+
description: If puppet were a Cadillac, capistrano-scope would be a bicycle.
|
38
38
|
email: kirt.fitzpatrick@akqa.com
|
39
39
|
executables: []
|
40
40
|
|
@@ -46,12 +46,16 @@ files:
|
|
46
46
|
- README
|
47
47
|
- lib/capistrano/scope.rb
|
48
48
|
has_rdoc: true
|
49
|
-
homepage:
|
49
|
+
homepage: http://github.com/kirtfitzpatrick/capistrano-scope
|
50
50
|
licenses: []
|
51
51
|
|
52
52
|
post_install_message:
|
53
|
-
rdoc_options:
|
54
|
-
|
53
|
+
rdoc_options:
|
54
|
+
- --title
|
55
|
+
- Capistrano Scope - Lightweight command line server selection.
|
56
|
+
- --main
|
57
|
+
- README
|
58
|
+
- --line-numbers
|
55
59
|
require_paths:
|
56
60
|
- lib
|
57
61
|
required_ruby_version: !ruby/object:Gem::Requirement
|