prima-twig 0.31.13 → 0.31.14

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e6740c5d4cc00e91244bbf9378da1f3a5934d521
4
- data.tar.gz: 28053d94468749adb928b271023ac07518d308b7
3
+ metadata.gz: 10dfb34594a4e1e2fffa2ddc3bf227d5c1ef470e
4
+ data.tar.gz: 40a039ec128d917038dd1c945d9c0905d3370994
5
5
  SHA512:
6
- metadata.gz: f9eaa6f6ff51bd2d28120474aa8fdc68982939d68ef5c885b9a01f60b29a5ec5af1c5833ac82d2aa752ca232ee31d5698d7513bec12a4fa0829750e461635e33
7
- data.tar.gz: 48b12d5276e18d4b5a66de755a2b963e99c2f54a69301ce0abbabfcd98c4612638c2d972f573f5cc87fc91afe1f5547dc41a2010c0a12102e6af043245fa2259
6
+ metadata.gz: 8e46a42223de5b4ab5dd5bdf8974a49d7c464528089e25766d7bbe7b9a4541bf8757ead3af4f60544e7050bdea28b13871639db03a90034ddff76d305236315e
7
+ data.tar.gz: dfc8b0cdcda784056370b4b44e632f96e70ba5281f3eb33ffbc944ba8682649091585b3c1139fe0449c34394084dd33ae777e4e8dc51d68059e6ee155fd890bb
data/bin/twig-feature CHANGED
@@ -1342,7 +1342,8 @@ class Release
1342
1342
  mix phx.digest && \
1343
1343
  mix deps.clean --all && \
1344
1344
  mix deps.get && \
1345
- mix compile && mix release --env=qa'"
1345
+ mix compile && mix release --env=qa'",
1346
+ 'docker-compose down'
1346
1347
  ].each do |cmd|
1347
1348
  execute_command cmd
1348
1349
  end
@@ -1773,7 +1774,7 @@ class Release
1773
1774
  Dir.chdir "projects/#{project_name}"
1774
1775
  output "Recupero il branch #{project_name}:#{branch_name} ..."
1775
1776
  out = %x[ git fetch ]
1776
- branch_name = %x[ git for-each-ref --sort=-committerdate refs/remotes/ --format='%(refname) %(objectname)' | sed 's/refs\\/remotes\\/origin\\///g' ]
1777
+ branch_name = %x[ git for-each-ref --sort=-committerdate refs/remotes/ --format='%(refname) %(objectname) %(committeremail)' | sed 's/refs\\/remotes\\/origin\\///g' ]
1777
1778
  .split("\n").delete_if { |b| !b.include?(branch_name) }[0..49]
1778
1779
  .first
1779
1780
 
@@ -1781,8 +1782,8 @@ class Release
1781
1782
 
1782
1783
  name = branch_name.split(' ')[0]
1783
1784
  revision = branch_name.split(' ')[1]
1784
-
1785
- { name: name, revision: revision[0..14] }
1785
+ committer_email = branch_name.split(' ')[2].tr('<>', '')
1786
+ { name: name, revision: revision[0..14], committer: committer_email }
1786
1787
  end
1787
1788
 
1788
1789
  def is_branch_compatible_with_current_twig_version?(project)
data/bin/twig-open-pr CHANGED
@@ -6,7 +6,6 @@ require 'colorize'
6
6
  require 'highline/import'
7
7
  require 'launchy'
8
8
 
9
-
10
9
  def help_content
11
10
  <<-HELP
12
11
 
data/bin/twig-pick-issue CHANGED
@@ -33,7 +33,6 @@ if args.include?('--help')
33
33
  exit
34
34
  end
35
35
 
36
-
37
36
  class PickIssue
38
37
  include Command
39
38
 
@@ -64,7 +63,7 @@ class PickIssue
64
63
  issue_number = choose_issue issues
65
64
  end
66
65
 
67
- issue_type = 'feature'
66
+ issue_type = 'feature'
68
67
  base_branch_name_default = 'master'
69
68
  branch_name = ask('Inserisci il nome del branch (puoi omettere feature/): '.cyan)
70
69
  if branch_name.length == 0
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.13
4
+ version: 0.31.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matteo Giachino