prima-twig 0.27.0 → 0.28.0
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 +11 -23
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 556885e6e53ce1413cdb1a3b048b062ea3a5c0bc
|
|
4
|
+
data.tar.gz: f463d499c22594f5e8e5f823163c1db76dc24aa8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 92a2395b5419c8f2eb597e67536febede29dccaa49b8f001910cf701f14669c4e6c01e89ad7a894265d67bac3648f365d3c80db0a0027ead90b54901410e2211
|
|
7
|
+
data.tar.gz: b6379224494a32b3225e72158805efdeb2da95b2600468ed9ebe61783d3fd0e24f3e923c29b6aa19734281012f2dda3b4caa605b70a6616695b783668e4005b8
|
data/bin/twig-feature
CHANGED
|
@@ -332,7 +332,6 @@ class Release
|
|
|
332
332
|
|
|
333
333
|
def deploy_update!
|
|
334
334
|
output "Deploy update menu"
|
|
335
|
-
`sudo true` # cosi' non chiede la password dopo
|
|
336
335
|
`git pull && git submodule init && git submodule update`
|
|
337
336
|
|
|
338
337
|
output "Recupero le informazioni sui QA attivi..."
|
|
@@ -369,7 +368,6 @@ class Release
|
|
|
369
368
|
end
|
|
370
369
|
|
|
371
370
|
def deploy_feature!
|
|
372
|
-
`sudo true` # cosi' non chiede la password dopo
|
|
373
371
|
`git pull && git submodule init && git submodule update`
|
|
374
372
|
|
|
375
373
|
deploy_id = Digest::MD5.hexdigest(
|
|
@@ -1201,8 +1199,7 @@ class Release
|
|
|
1201
1199
|
'-c' 'mix local.hex --force && mix hex.info && \
|
|
1202
1200
|
mix deps.get && mix compile && mix deps.compile && \
|
|
1203
1201
|
rm -rf _build/qa/rel/ && \
|
|
1204
|
-
mix release --env=qa'"
|
|
1205
|
-
"sudo chown -R `whoami` ."
|
|
1202
|
+
mix release --env=qa'"
|
|
1206
1203
|
].each do |cmd|
|
|
1207
1204
|
output "Eseguo #{cmd}".yellow
|
|
1208
1205
|
res = %x[ #{cmd} ]
|
|
@@ -1235,8 +1232,7 @@ class Release
|
|
|
1235
1232
|
'-c' 'mix local.hex --force && mix hex.info && \
|
|
1236
1233
|
mix deps.get && mix compile && mix deps.compile && \
|
|
1237
1234
|
rm -rf _build/qa/rel/ && \
|
|
1238
|
-
mix release --env=qa'"
|
|
1239
|
-
"sudo chown -R `whoami` ."
|
|
1235
|
+
mix release --env=qa'"
|
|
1240
1236
|
].each do |cmd|
|
|
1241
1237
|
output "Eseguo #{cmd}".yellow
|
|
1242
1238
|
res = %x[ #{cmd} ]
|
|
@@ -1271,8 +1267,7 @@ class Release
|
|
|
1271
1267
|
'-c' 'mix local.hex --force && mix hex.info && \
|
|
1272
1268
|
mix deps.get && mix compile && mix deps.compile && \
|
|
1273
1269
|
rm -rf _build/qa/rel/ && \
|
|
1274
|
-
mix release --env=qa'"
|
|
1275
|
-
"sudo chown -R `whoami` ."
|
|
1270
|
+
mix release --env=qa'"
|
|
1276
1271
|
].each do |cmd|
|
|
1277
1272
|
output "Eseguo #{cmd}".yellow
|
|
1278
1273
|
res = %x[ #{cmd} ]
|
|
@@ -1308,8 +1303,7 @@ class Release
|
|
|
1308
1303
|
mix deps.get && mix compile && mix deps.compile && \
|
|
1309
1304
|
mix phoenix.digest && \
|
|
1310
1305
|
rm -rf _build/qa/rel/ && \
|
|
1311
|
-
mix release --env=qa'"
|
|
1312
|
-
"sudo chown -R `whoami` ."
|
|
1306
|
+
mix release --env=qa'"
|
|
1313
1307
|
].each do |cmd|
|
|
1314
1308
|
output "Eseguo #{cmd}".yellow
|
|
1315
1309
|
res = %x[ #{cmd} ]
|
|
@@ -1349,8 +1343,7 @@ class Release
|
|
|
1349
1343
|
mix deps.get && mix compile && mix deps.compile && \
|
|
1350
1344
|
mix phoenix.digest && \
|
|
1351
1345
|
rm -rf _build/qa/rel/ && \
|
|
1352
|
-
mix release --env=qa'"
|
|
1353
|
-
"sudo chown -R `whoami` ."
|
|
1346
|
+
mix release --env=qa'"
|
|
1354
1347
|
].each do |cmd|
|
|
1355
1348
|
output "Eseguo #{cmd}".yellow
|
|
1356
1349
|
res = %x[ #{cmd} ]
|
|
@@ -1389,8 +1382,7 @@ class Release
|
|
|
1389
1382
|
sed -i \"s/assange-qa-host/#{assange_qa_host}/g\" config/qa.exs && \
|
|
1390
1383
|
mix deps.get && mix compile && mix deps.compile && \
|
|
1391
1384
|
rm -rf _build/qa/rel/ && \
|
|
1392
|
-
mix release --env=qa'"
|
|
1393
|
-
"sudo chown -R `whoami` ."
|
|
1385
|
+
mix release --env=qa'"
|
|
1394
1386
|
].each do |cmd|
|
|
1395
1387
|
output "Eseguo #{cmd}".yellow
|
|
1396
1388
|
res = %x[ #{cmd} ]
|
|
@@ -1428,8 +1420,7 @@ class Release
|
|
|
1428
1420
|
mix local.hex --force && mix hex.info && \
|
|
1429
1421
|
mix deps.get && mix compile && mix deps.compile && \
|
|
1430
1422
|
rm -rf _build/qa/rel/ && \
|
|
1431
|
-
mix release --name=rogoreport_escile --env=qa'"
|
|
1432
|
-
"sudo chown -R `whoami` ."
|
|
1423
|
+
mix release --name=rogoreport_escile --env=qa'"
|
|
1433
1424
|
].each do |cmd|
|
|
1434
1425
|
output "Eseguo #{cmd}".yellow
|
|
1435
1426
|
res = %x[ #{cmd} ]
|
|
@@ -1465,8 +1456,7 @@ class Release
|
|
|
1465
1456
|
mix deps.get && mix compile && mix deps.compile && \
|
|
1466
1457
|
mix phx.digest && \
|
|
1467
1458
|
rm -rf _build/qa/rel/ && \
|
|
1468
|
-
mix release --env=qa'"
|
|
1469
|
-
"sudo chown -R `whoami` ."
|
|
1459
|
+
mix release --env=qa'"
|
|
1470
1460
|
].each do |cmd|
|
|
1471
1461
|
output "Eseguo #{cmd}".yellow
|
|
1472
1462
|
res = %x[ #{cmd} ]
|
|
@@ -1526,8 +1516,7 @@ class Release
|
|
|
1526
1516
|
mix phx.digest && \
|
|
1527
1517
|
mix compile && mix deps.compile && \
|
|
1528
1518
|
rm -rf _build/qa/rel/ && \
|
|
1529
|
-
mix release --env=qa'"
|
|
1530
|
-
"sudo chown -R `whoami` ."
|
|
1519
|
+
mix release --env=qa'"
|
|
1531
1520
|
].each do |cmd|
|
|
1532
1521
|
output "Eseguo #{cmd}".yellow
|
|
1533
1522
|
res = %x[ #{cmd} ]
|
|
@@ -1572,8 +1561,7 @@ class Release
|
|
|
1572
1561
|
"docker-compose build workers",
|
|
1573
1562
|
"rm -rf src/ && git checkout -- .",
|
|
1574
1563
|
"cd ../../ && docker run -e GIT_DIR=$PWD -v $PWD:/usr/app/src -w /usr/app/src/projects/backoffice blinkmobile/bower install --allow-root",
|
|
1575
|
-
"docker run -v $PWD:/code -w /code -e PHANTOMJS_BIN=/code/node_modules/grunt-selenium-webdriver/node_modules/phantomjs/bin/phantomjs --entrypoint /bin/bash backoffice_workers '-c' 'sed -i \"s/web-qa-url/#{web_qa_host}/g\" Gruntfile.js && sed -i \"s/web-qa-ri-url/#{webri_qa_host}/g\" Gruntfile.js && npm install && grunt qa'"
|
|
1576
|
-
"sudo chown -R `whoami` ."
|
|
1564
|
+
"docker run -v $PWD:/code -w /code -e PHANTOMJS_BIN=/code/node_modules/grunt-selenium-webdriver/node_modules/phantomjs/bin/phantomjs --entrypoint /bin/bash backoffice_workers '-c' 'sed -i \"s/web-qa-url/#{web_qa_host}/g\" Gruntfile.js && sed -i \"s/web-qa-ri-url/#{webri_qa_host}/g\" Gruntfile.js && npm install && grunt qa'"
|
|
1577
1565
|
].each do |cmd|
|
|
1578
1566
|
output "Eseguo #{cmd}".yellow
|
|
1579
1567
|
res = %x[ #{cmd} ]
|
|
@@ -1634,7 +1622,7 @@ class Release
|
|
|
1634
1622
|
|
|
1635
1623
|
def git_checkout_version(project, revision)
|
|
1636
1624
|
Dir.chdir "projects/#{project}"
|
|
1637
|
-
exec_step "git checkout -- . && git
|
|
1625
|
+
exec_step "git checkout -- . && git checkout #{revision}"
|
|
1638
1626
|
Dir.chdir "../../"
|
|
1639
1627
|
end
|
|
1640
1628
|
|
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.
|
|
4
|
+
version: 0.28.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Matteo Giachino
|
|
@@ -12,7 +12,7 @@ authors:
|
|
|
12
12
|
autorequire:
|
|
13
13
|
bindir: bin
|
|
14
14
|
cert_chain: []
|
|
15
|
-
date: 2017-
|
|
15
|
+
date: 2017-11-03 00:00:00.000000000 Z
|
|
16
16
|
dependencies:
|
|
17
17
|
- !ruby/object:Gem::Dependency
|
|
18
18
|
name: twig
|
|
@@ -196,7 +196,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
196
196
|
version: '0'
|
|
197
197
|
requirements: []
|
|
198
198
|
rubyforge_project:
|
|
199
|
-
rubygems_version: 2.6.
|
|
199
|
+
rubygems_version: 2.6.12
|
|
200
200
|
signing_key:
|
|
201
201
|
specification_version: 4
|
|
202
202
|
summary: The Prima twig toolbelt
|