prima-twig 0.63.21 → 0.63.23
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 -0
- metadata +3 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7181861abf200d89f862c9c46a70730d9f7e88b20d0001df60792fa835014572
|
|
4
|
+
data.tar.gz: 83da1308966f3ad547776743cf63d4508bbcac7d404cb8f79e13cc66716493f0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1749025a1bf244b4f65322c7c6b02b1a27d233531a498c7db036063f7a412273ceb63847c5d565df0afb54d829b4ce90a0773775c43a580b0f542d266d86eb6f
|
|
7
|
+
data.tar.gz: ca156e655b6ec233dc2bc44b55cf4c85723c960d27b03b4f1ece2de15b3afaa2a9e4ef422de1d99b50382530d560e9a63fd47b41f5f85d64c785b8d12ef5c7b8
|
data/bin/twig-feature
CHANGED
|
@@ -474,6 +474,8 @@ class Release
|
|
|
474
474
|
|
|
475
475
|
File.open('branch_names', 'w') { |file| file.write(JSON.generate(@projects)) }
|
|
476
476
|
|
|
477
|
+
update_drone_yml!
|
|
478
|
+
|
|
477
479
|
`git add projects && \
|
|
478
480
|
git add branch_names && \
|
|
479
481
|
git commit -m '#{branch_name}' && \
|
|
@@ -519,6 +521,8 @@ class Release
|
|
|
519
521
|
|
|
520
522
|
File.open('branch_names', 'w') { |file| file.write(JSON.generate(@projects)) }
|
|
521
523
|
|
|
524
|
+
update_drone_yml!
|
|
525
|
+
|
|
522
526
|
`git commit -am 'update'`
|
|
523
527
|
`git push && git checkout master`
|
|
524
528
|
end
|
|
@@ -635,6 +639,16 @@ class Release
|
|
|
635
639
|
end
|
|
636
640
|
end
|
|
637
641
|
|
|
642
|
+
def update_drone_yml!()
|
|
643
|
+
drone_yml = File.read('.drone.yml')
|
|
644
|
+
@projects.each do |key, project|
|
|
645
|
+
drone_yml = drone_yml.gsub("#{key}_placeholder", project['name'])
|
|
646
|
+
end
|
|
647
|
+
File.open(".drone.yml", "w") do |f|
|
|
648
|
+
f.write(drone_yml)
|
|
649
|
+
end
|
|
650
|
+
end
|
|
651
|
+
|
|
638
652
|
def get_s3_config_files
|
|
639
653
|
# manteniamo la struttura per lanciarlo facilmente anche da locale
|
|
640
654
|
`mkdir -p cloudformation/stacks/task cloudformation/stacks/route53 cloudformation/stacks/asg cloudformation/stacks/elb`
|
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.63.
|
|
4
|
+
version: 0.63.23
|
|
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: 2020-04-
|
|
17
|
+
date: 2020-04-09 00:00:00.000000000 Z
|
|
18
18
|
dependencies:
|
|
19
19
|
- !ruby/object:Gem::Dependency
|
|
20
20
|
name: aws-sdk-autoscaling
|
|
@@ -326,8 +326,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
326
326
|
- !ruby/object:Gem::Version
|
|
327
327
|
version: '0'
|
|
328
328
|
requirements: []
|
|
329
|
-
|
|
330
|
-
rubygems_version: 2.7.8
|
|
329
|
+
rubygems_version: 3.0.1
|
|
331
330
|
signing_key:
|
|
332
331
|
specification_version: 4
|
|
333
332
|
summary: The Prima twig toolbelt
|