prima-twig 0.50.0 → 0.50.1
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/bin/twig-feature +14 -6
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: cf717f131239f9b1e7fb2ef274cd160d10e57684c62d965917df8bed29d80a93
|
|
4
|
+
data.tar.gz: 209248ac6d9eb4110d6d563334e29fad256943db8a73f33294dc99e6d4e58a0f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f0a0ea218d4bcac034f3c510e501f947ecb0f6f84256edfdd7a4be8917045a5e53e166454b8e7adeca3f79f32ed55ecc6d83234f99f4dcf9e5f09978de64e34b
|
|
7
|
+
data.tar.gz: 1d95bcb901996f3fa3e7640bc8698839b35735fcea58f9758460bbc5ff03d6384775aef94376bfe98004afc41b2e8f08ae994295df9b4c85c385607d85ea361b
|
data/bin/twig-feature
CHANGED
|
@@ -13,12 +13,14 @@ class Release
|
|
|
13
13
|
include Command
|
|
14
14
|
include PrimaAwsClient
|
|
15
15
|
|
|
16
|
-
def initialize
|
|
16
|
+
def initialize(update_gem=true)
|
|
17
17
|
@prima = Prima.new
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
18
|
+
if update_gem
|
|
19
|
+
output 'Controllo se ci sono aggiornamenti da fare (potrebbe richiedere qualche minuto)'
|
|
20
|
+
unless `gem update prima-twig`=="Updating installed gems\nNothing to update\n"
|
|
21
|
+
output 'Gemma prima-twig aggiornata'
|
|
22
|
+
exec "twig feature #{ARGV.join ' '}"
|
|
23
|
+
end
|
|
22
24
|
end
|
|
23
25
|
@cf = Aws::CloudFormation::Client.new
|
|
24
26
|
@alb = Aws::ElasticLoadBalancingV2::Client.new
|
|
@@ -3104,4 +3106,10 @@ if args.include?('--help')
|
|
|
3104
3106
|
exit
|
|
3105
3107
|
end
|
|
3106
3108
|
|
|
3107
|
-
|
|
3109
|
+
gem_update = true
|
|
3110
|
+
if args.inclued?('--no-gem-update')
|
|
3111
|
+
args.delete('--no-gem-update')
|
|
3112
|
+
gem_update = false
|
|
3113
|
+
end
|
|
3114
|
+
|
|
3115
|
+
Release.new(gem_update).execute!(args)
|
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.50.
|
|
4
|
+
version: 0.50.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Matteo Giachino
|
|
@@ -14,7 +14,7 @@ authors:
|
|
|
14
14
|
autorequire:
|
|
15
15
|
bindir: bin
|
|
16
16
|
cert_chain: []
|
|
17
|
-
date: 2019-08-
|
|
17
|
+
date: 2019-08-21 00:00:00.000000000 Z
|
|
18
18
|
dependencies:
|
|
19
19
|
- !ruby/object:Gem::Dependency
|
|
20
20
|
name: aws-sdk
|