prima-twig 0.30.0 → 0.30.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 +4 -2
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 26e7c24c6197ef4e6ab5cf21f046f646fe0312af
|
|
4
|
+
data.tar.gz: 9681650735b19202dea55a6cf5784733b745c195
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1dc3f7ccec4ac72e88c1b73cf92dea8cea80e7b290c992a9143bda555d2b1c525b62d1845d7f330f5e71b72a93b843b9c4623964c9724b3d3dbac6719c4ac26a
|
|
7
|
+
data.tar.gz: 4b1461847caa32f5589447e2a610ff472e146d0b8673e845e8a241da3a2c3c13c3b8e9cc2f8884fde0c6f7629b92b3fe0ee7449cd2538bcca56108083b0314db
|
data/bin/twig-feature
CHANGED
|
@@ -8,6 +8,7 @@ require 'json'
|
|
|
8
8
|
require 'launchy'
|
|
9
9
|
require 'pp'
|
|
10
10
|
require 'redis'
|
|
11
|
+
require 'pry'
|
|
11
12
|
|
|
12
13
|
class Release
|
|
13
14
|
include Command
|
|
@@ -1260,7 +1261,7 @@ class Release
|
|
|
1260
1261
|
end
|
|
1261
1262
|
|
|
1262
1263
|
def deploy_crash?
|
|
1263
|
-
|
|
1264
|
+
!@projects['crash'][:default_branch]
|
|
1264
1265
|
end
|
|
1265
1266
|
|
|
1266
1267
|
def create_crash_artifact(revision, deploy_id)
|
|
@@ -1714,7 +1715,7 @@ class Release
|
|
|
1714
1715
|
name = branch_name.split(' ')[0]
|
|
1715
1716
|
revision = branch_name.split(' ')[1]
|
|
1716
1717
|
committer_email = branch_name.split(' ')[2].tr('<>', '')
|
|
1717
|
-
{ name: name, revision: revision[0..14], committer: committer_email }
|
|
1718
|
+
{ name: name, revision: revision[0..14], committer: committer_email, default_branch: select_master }
|
|
1718
1719
|
end
|
|
1719
1720
|
|
|
1720
1721
|
def select_branch_to_deploy(project_name, branch_name)
|
|
@@ -1834,6 +1835,7 @@ class Release
|
|
|
1834
1835
|
@projects[branch_project] = choose_branch_to_deploy(branch_project, true) unless branch_project == project_name
|
|
1835
1836
|
end
|
|
1836
1837
|
end
|
|
1838
|
+
binding.pry
|
|
1837
1839
|
end
|
|
1838
1840
|
end
|
|
1839
1841
|
|
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.30.
|
|
4
|
+
version: 0.30.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Matteo Giachino
|
|
@@ -9,10 +9,11 @@ authors:
|
|
|
9
9
|
- Alessandro Nuzzo
|
|
10
10
|
- Andrea Usuelli
|
|
11
11
|
- Simone Quaini
|
|
12
|
+
- Eugenio Laghi
|
|
12
13
|
autorequire:
|
|
13
14
|
bindir: bin
|
|
14
15
|
cert_chain: []
|
|
15
|
-
date: 2017-11-
|
|
16
|
+
date: 2017-11-22 00:00:00.000000000 Z
|
|
16
17
|
dependencies:
|
|
17
18
|
- !ruby/object:Gem::Dependency
|
|
18
19
|
name: twig
|