capistrano-robo 0.0.5 → 0.1.0
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.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/lib/capistrano/robo/robo.rake +1 -1
- data/lib/capistrano/robo/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e0757ad8f06dc51b68742eaa95b745124f12d5f7
|
4
|
+
data.tar.gz: 089f9e95bcd78a0901908a9adbd9fff5a8e4956e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dc874f7dd1aab18186ebf0c307cc18fa7e8a08ff1177a7a63ba5cb0ec25d82100f39b789bb2cc0ae8cfc84dc6d68e563a3bf9904c81a1c9b5c344b04d5c6b10b
|
7
|
+
data.tar.gz: 3035a24726dc88b78977de299c61d68190010c8289c1537044406aaae3161b5aaaa288f24792fad950d0687b1d70da1c5f615496173dee5c7cfb7e23379dc232
|
data/README.md
CHANGED
@@ -37,14 +37,14 @@ You can pass additional parameters if needed:
|
|
37
37
|
|
38
38
|
```ruby
|
39
39
|
after :updated, :migrate do
|
40
|
-
invoke :robo, 'migrations:migrate production'
|
40
|
+
invoke :robo, 'migrations:migrate', 'production'
|
41
41
|
end
|
42
42
|
```
|
43
43
|
|
44
44
|
The above would be equivalent of running the following from the command line:
|
45
45
|
|
46
46
|
```bash
|
47
|
-
robo migrations:migrate production
|
47
|
+
robo -v migrations:migrate production
|
48
48
|
```
|
49
49
|
|
50
50
|
## Configuration
|
@@ -16,7 +16,7 @@ task :robo, :task_name do |t, args|
|
|
16
16
|
|
17
17
|
on roles fetch(:robo_roles) do
|
18
18
|
within fetch(:robo_target_path, release_path) do
|
19
|
-
execute
|
19
|
+
execute fetch(:robo_exec), fetch(:robo_flags), command, *args.extras
|
20
20
|
end
|
21
21
|
end
|
22
22
|
end
|