scatter_deploy 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +9 -7
- data/lib/scatter.rb +1 -1
- data/scatter_deploy.gemspec +1 -0
- metadata +14 -8
- checksums.yaml +0 -7
data/README.md
CHANGED
@@ -14,19 +14,20 @@ You interact with Scatter through the `scatter` command. You can see a basic ov
|
|
14
14
|
|
15
15
|
```
|
16
16
|
Tasks:
|
17
|
-
scatter alias FROM, TO
|
18
|
-
scatter cap COMMAND
|
19
|
-
scatter config
|
20
|
-
scatter deploy
|
21
|
-
scatter exec COMMAND
|
22
|
-
scatter help [TASK]
|
23
|
-
scatter version
|
17
|
+
scatter alias FROM, TO # Create an aliased Scatter command
|
18
|
+
scatter cap COMMAND # Run arbitrary Capistrano commands.
|
19
|
+
scatter config SETTING, VALUE # Set a default config option in ~/.scatterconfig
|
20
|
+
scatter deploy # Run a deploy routine. This is the default task.
|
21
|
+
scatter exec COMMAND # Run arbitrary commands.
|
22
|
+
scatter help [TASK] # Describe available tasks or one specific task
|
23
|
+
scatter version # Show version.
|
24
24
|
|
25
25
|
Options:
|
26
26
|
-d, [--directory=DIRECTORY] # Specify a deploys directory.
|
27
27
|
# Default: /Users/evan/.deploys
|
28
28
|
-p, [--project=PROJECT] # Specify a project path, defaults to current Git repository root.
|
29
29
|
-s, [--shared=SHARED] # Use a deploy script in the __shared directory. The project path will automatically be passed as an argument
|
30
|
+
[--dry-run] # Print 'success' if the command would have succeeded, otherwise an error message, without actually running the command.
|
30
31
|
```
|
31
32
|
|
32
33
|
All commands take three optional flags, `--directory`, `--project`, and `--shared`.
|
@@ -36,6 +37,7 @@ All commands take three optional flags, `--directory`, `--project`, and `--share
|
|
36
37
|
* `--directory`, `-d`: Specify the root of your deploys directory. Defaults to `~/.deploys`.
|
37
38
|
* `--project`, `-p`: Specify a path to a project (relative or absolute). Defaults to the root of the current Git repository, if one exists. If you're not in a Git repository you *must* pass this argument.
|
38
39
|
* `--shared`, `-s`: Specify a shared deploy command to use instead of a project-specific script. The absolute project path will be passed as an argument to the command.
|
40
|
+
* `--dry-run`: Determine whether or not the command would succeed, without actually running it. Prints 'success' for commands that could run, otherwise an appropriate error. Successes will exit with a `0` error code, failures with `1`. *Note: This flag is only used for deploy commands (`deploy`, `cap`, and `exec`), it's ignored for other commands (`version`, `config`, `alias`).*
|
39
41
|
|
40
42
|
## Commands
|
41
43
|
|
data/lib/scatter.rb
CHANGED
data/scatter_deploy.gemspec
CHANGED
@@ -20,4 +20,5 @@ Gem::Specification.new do |spec|
|
|
20
20
|
spec.required_rubygems_version = '>= 1.3.6'
|
21
21
|
spec.summary = "Scatter separates deploy scripts from project code, but keeps the convenience of running deploys from project directories."
|
22
22
|
spec.version = Scatter::VERSION
|
23
|
+
spec.required_ruby_version = '>= 1.9.2'
|
23
24
|
end
|
metadata
CHANGED
@@ -1,18 +1,20 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: scatter_deploy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.3
|
5
|
+
prerelease:
|
5
6
|
platform: ruby
|
6
7
|
authors:
|
7
8
|
- Evan Solomon
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
11
|
-
date: 2013-
|
12
|
+
date: 2013-05-29 00:00:00.000000000 Z
|
12
13
|
dependencies:
|
13
14
|
- !ruby/object:Gem::Dependency
|
14
15
|
name: bundler
|
15
16
|
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
16
18
|
requirements:
|
17
19
|
- - ~>
|
18
20
|
- !ruby/object:Gem::Version
|
@@ -20,6 +22,7 @@ dependencies:
|
|
20
22
|
type: :development
|
21
23
|
prerelease: false
|
22
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
23
26
|
requirements:
|
24
27
|
- - ~>
|
25
28
|
- !ruby/object:Gem::Version
|
@@ -27,6 +30,7 @@ dependencies:
|
|
27
30
|
- !ruby/object:Gem::Dependency
|
28
31
|
name: thor
|
29
32
|
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
30
34
|
requirements:
|
31
35
|
- - ~>
|
32
36
|
- !ruby/object:Gem::Version
|
@@ -34,6 +38,7 @@ dependencies:
|
|
34
38
|
type: :runtime
|
35
39
|
prerelease: false
|
36
40
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
37
42
|
requirements:
|
38
43
|
- - ~>
|
39
44
|
- !ruby/object:Gem::Version
|
@@ -55,26 +60,27 @@ files:
|
|
55
60
|
homepage: http://evansolomon.me/
|
56
61
|
licenses:
|
57
62
|
- MIT
|
58
|
-
metadata: {}
|
59
63
|
post_install_message:
|
60
64
|
rdoc_options: []
|
61
65
|
require_paths:
|
62
66
|
- lib
|
63
67
|
required_ruby_version: !ruby/object:Gem::Requirement
|
68
|
+
none: false
|
64
69
|
requirements:
|
65
|
-
- - '>='
|
70
|
+
- - ! '>='
|
66
71
|
- !ruby/object:Gem::Version
|
67
|
-
version:
|
72
|
+
version: 1.9.2
|
68
73
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
74
|
+
none: false
|
69
75
|
requirements:
|
70
|
-
- - '>='
|
76
|
+
- - ! '>='
|
71
77
|
- !ruby/object:Gem::Version
|
72
78
|
version: 1.3.6
|
73
79
|
requirements: []
|
74
80
|
rubyforge_project:
|
75
|
-
rubygems_version:
|
81
|
+
rubygems_version: 1.8.25
|
76
82
|
signing_key:
|
77
|
-
specification_version:
|
83
|
+
specification_version: 3
|
78
84
|
summary: Scatter separates deploy scripts from project code, but keeps the convenience
|
79
85
|
of running deploys from project directories.
|
80
86
|
test_files: []
|
checksums.yaml
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
---
|
2
|
-
SHA1:
|
3
|
-
metadata.gz: 0f8c3a516602937fa073e54e722f7aeb1327161d
|
4
|
-
data.tar.gz: 0822669679cdebffde417e79a6a31269912a8f1f
|
5
|
-
SHA512:
|
6
|
-
metadata.gz: 6351ad285d2e5644939160486c82e80d78b469dc6dea26f1dbac2a4bf456b361c4475c4cecd3e5696c72a594b90ddcb28c5fc09fba206895c93a2dbf62874eca
|
7
|
-
data.tar.gz: 5cb3d8860396d84c3f5585ffee9e71c86050544a83e903996814f512bf3a49b9067beead930f54a4b7f2c5d2a43d0dae01cfdb6db0f3a9062ec5fff9c19bc59e
|