prima-twig 0.31.3 → 0.31.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/twig-feature +1 -1
- data/bin/twig-update-ami +4 -4
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cc041aa0f78e8b8266e9ea0676e6e8bb609ebcdc
|
4
|
+
data.tar.gz: 86af398a52a2b86c40ecdbf4de0f45041ed52990
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7f7a849325f3342812196b9954ef1160d17aaf61c8f152d907a1d07d3e3d92cae7e351d4513d9b09b04a677c05d9509c577c9cb50942d83a717148a2e9474a59
|
7
|
+
data.tar.gz: 3fc2f27c6480987d405258c53ff8665c2f64395cfc28c08a5f01b9043d6e879bb6790301735b3806214b3f2e46ec5e71e9ff6bd622622c6d2c49692560b5444d
|
data/bin/twig-feature
CHANGED
@@ -85,7 +85,7 @@ class Release
|
|
85
85
|
|
86
86
|
def start_feature!
|
87
87
|
branch_name = @prima.clean_branch_name(ask('Inserisci il nome del branch (puoi omettere feature/): '.cyan))
|
88
|
-
stop_unless branch_name
|
88
|
+
stop_unless !branch_name.empty?, 'Devi inserire il nome del branch'
|
89
89
|
branch_name.prepend 'feature/' unless branch_name.include? 'feature'
|
90
90
|
|
91
91
|
output "Il nome del branch sarà " + branch_name.yellow
|
data/bin/twig-update-ami
CHANGED
@@ -26,7 +26,7 @@ class TwigUpdateAmi
|
|
26
26
|
private
|
27
27
|
|
28
28
|
def update_amis(ami_id, ami_name, ami_description)
|
29
|
-
@instances['
|
29
|
+
@instances['stacks'].each do |instance|
|
30
30
|
output 'updating instance definition'.light_green
|
31
31
|
Dir.chdir 'ami'
|
32
32
|
update_instance_name(ami_id, ami_name, ami_description, instance['json'])
|
@@ -57,7 +57,7 @@ class TwigUpdateAmi
|
|
57
57
|
end
|
58
58
|
|
59
59
|
def update_packer(json_filename)
|
60
|
-
|
60
|
+
execute_command "packer build -machine-readable ./#{json_filename} | tee build.log"
|
61
61
|
`grep 'artifact,0,id' build.log | cut -d, -f6 | cut -d: -f2`.sub(/\n/, '')
|
62
62
|
end
|
63
63
|
|
@@ -113,8 +113,8 @@ class TwigUpdateAmi
|
|
113
113
|
Description
|
114
114
|
-----------
|
115
115
|
|
116
|
-
from artemide main folder run
|
117
|
-
|
116
|
+
from artemide main folder run
|
117
|
+
`twig-update-ami ${AMI_ID} ${AMI_NAME} ${AMI_DESCRIPTION}`
|
118
118
|
|
119
119
|
Subcommand for Twig: <http://rondevera.github.io/twig/>
|
120
120
|
Author: Eugenio Laghi <https://github.com/eugeniolaghi>
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: prima-twig
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.31.
|
4
|
+
version: 0.31.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matteo Giachino
|
@@ -214,7 +214,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
214
214
|
version: '0'
|
215
215
|
requirements: []
|
216
216
|
rubyforge_project:
|
217
|
-
rubygems_version: 2.6.
|
217
|
+
rubygems_version: 2.6.14
|
218
218
|
signing_key:
|
219
219
|
specification_version: 4
|
220
220
|
summary: The Prima twig toolbelt
|