deploy_pin 1.2.1 → 1.2.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ea0329967282201470ee39ab8cf9bad06a025f7b9e450a48f3fda96e48433d7f
4
- data.tar.gz: 35f10a49f28f6194f1b1e68d58f7a8958f47c1e254b6b38c56445c782e28ca0d
3
+ metadata.gz: 30c8850491ff7315f75f0a3514f6718178bae3d307dafecd9a275cff9aa7ed77
4
+ data.tar.gz: 301f475967743253d064475c3919c68dea7f741c4b8c792cabfbbba1e61fd739
5
5
  SHA512:
6
- metadata.gz: ddfc115d8671ce6d5c677bf07f47f88b07eae65e845f5380c7d71caa3ee544d435dd7d773af306ccd4ab6fb1d9e0f558ac23ad37ecc46d88d43440a2c5de1d8b
7
- data.tar.gz: dc42d8b471074663325db88614c1a51f2ce538ac377c8fee07b8f655b09cf60df34791adb0da30e8d0d2237d452e54771936009c23e68413139169f0aa062425
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!', 'uuid_2!']
72
+ rake deploy_pin:run['uuid_1!, uuid_2!']
73
73
  ```
74
74
 
75
75
  ## Installation
@@ -1,3 +1,3 @@
1
1
  module DeployPin
2
- VERSION = '1.2.1'
2
+ VERSION = '1.2.2'
3
3
  end
@@ -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.with_defaults(identifiers: DeployPin.groups)
4
+ identifiers = args.identifiers
5
+ attributes = identifiers.nil? ? DeployPin.groups : identifiers.split(/\s*,\s*/)
5
6
 
6
- DeployPin::Runner.run(args)
7
+ DeployPin::Runner.run(identifiers: attributes)
7
8
  end
8
9
 
9
10
  task :list, [:identifiers] => :environment do |t, args|
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: deploy_pin
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 1.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - rafael