deploy_pin 1.2.1 → 1.2.2
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 +3 -3
- data/lib/deploy_pin/version.rb +1 -1
- data/lib/tasks/deploy_pin_tasks.rake +3 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 30c8850491ff7315f75f0a3514f6718178bae3d307dafecd9a275cff9aa7ed77
|
4
|
+
data.tar.gz: 301f475967743253d064475c3919c68dea7f741c4b8c792cabfbbba1e61fd739
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a833f565c0ae4dc5cf80130762a60e477564a5d16f9274a15fc810ce762f96800f3e41acd871adce30b63ae7072dbe503bf0e062dfaa1939da1758ffaab3bfee
|
7
|
+
data.tar.gz: b8f8f223c7eddef27e8ff797bda1e066eff8a07cad47d3480ebfa61c0fa38ffa3762aad5ad578a72caaf66c81a830c2bab7e380d92b6fd509e4ffb2223e4adf4
|
data/README.md
CHANGED
@@ -61,15 +61,15 @@ rake deploy_pin:run[allowed_group]
|
|
61
61
|
|
62
62
|
To run some specific task by uuid
|
63
63
|
```bash
|
64
|
-
rake deploy_pin:run[uuid_1, uuid_2]
|
64
|
+
rake deploy_pin:run['uuid_1, uuid_2']
|
65
65
|
```
|
66
66
|
Or you can combine uuid and group
|
67
67
|
```bash
|
68
|
-
rake deploy_pin:run[uuid, allowed_group]
|
68
|
+
rake deploy_pin:run['uuid, allowed_group']
|
69
69
|
```
|
70
70
|
In case if you want to rerun task you should add exclamation mark in the end of uuid
|
71
71
|
```bash
|
72
|
-
rake deploy_pin:run['uuid_1
|
72
|
+
rake deploy_pin:run['uuid_1!, uuid_2!']
|
73
73
|
```
|
74
74
|
|
75
75
|
## Installation
|
data/lib/deploy_pin/version.rb
CHANGED
@@ -1,9 +1,10 @@
|
|
1
1
|
namespace :deploy_pin do
|
2
2
|
desc "run pending tasks"
|
3
3
|
task :run, [:identifiers] => :environment do |t, args|
|
4
|
-
args.
|
4
|
+
identifiers = args.identifiers
|
5
|
+
attributes = identifiers.nil? ? DeployPin.groups : identifiers.split(/\s*,\s*/)
|
5
6
|
|
6
|
-
DeployPin::Runner.run(
|
7
|
+
DeployPin::Runner.run(identifiers: attributes)
|
7
8
|
end
|
8
9
|
|
9
10
|
task :list, [:identifiers] => :environment do |t, args|
|