danger-additional-logging 0.0.5 → 0.0.6

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '0927584c4b42a15d25eb9044eb3f1dc4f1ee753ec3062145956078cc43ea399b'
4
- data.tar.gz: 59b789936b20af473b82972b4bddbb940afff57cc75e44543bfbbc146e83fed3
3
+ metadata.gz: 390571d729973fa4be224c9de65d609ec7aaffd0a1c162bdcc5e70c4ebc07923
4
+ data.tar.gz: 613cf532e130b40d62bd5732479d4695fc0fa6a337c89ab324b83357a4b716e5
5
5
  SHA512:
6
- metadata.gz: 807c14bb3f91fa88028d4e17db0f8ea79842c466d23cd5dbc761cd638b970cf4924210eb7c5bd877ca642d051a15826332cb949aa747895be1e92a6285e21e3f
7
- data.tar.gz: c8f6bab5ef63ae8c9aba9c5de208a5dd25a58e1a8aeb847664fa102d7714b51502066c5d8ec8ada5289c48d92f20b194c38dbaf02644e23a300f7383489aa322
6
+ metadata.gz: 99dc62a3a802646511a3c519a8ed8ba9165641ff0011d4dbb0ee85dfcb760336e855c9932058718314463dc5ca2500663581fec90fb71bf55f4b1dee02481cf9
7
+ data.tar.gz: 0da78c3ca6ee7ff9436c667165530ce1491b6d005823a8fcc65da4a5f20240a8e92f90f2a9e8b88e2b0454b3fa1d00736bec0274c61baf5d3df5b7b558eddd25
@@ -82,12 +82,21 @@ module Danger
82
82
 
83
83
  def ensure_commitish_exists_on_branch!(branch, commitish)
84
84
  puts "ensure_commitish_exists_on_branch(#{branch}, commitish=#{commitish})!"
85
- return if commit_exists?(commitish)
85
+
86
+ exists = commit_exists?(commitish)
87
+ # return if commit_exists?(commitish)
88
+
89
+ if (exists)
90
+ puts "The commit #{commitish} exists in #{branch}"
91
+ return
92
+ else
93
+ puts "The commit #{commitish} DOES NOT exist in #{branch}"
94
+ end
86
95
 
87
96
  puts "Is shallow repo:"
88
- exect("rev-parse --is-shallow-repository")
97
+ exec("rev-parse --is-shallow-repository")
89
98
 
90
- puts "last 5 commits befor starting git_fetch_branch_to_depth:"
99
+ puts "Last 5 commits befor starting git_fetch_branch_to_depth:"
91
100
  exec("--no-pager log -n 5")
92
101
 
93
102
  depth = 0
@@ -1,4 +1,4 @@
1
1
  module Danger
2
- VERSION = "0.0.5".freeze
2
+ VERSION = "0.0.6".freeze
3
3
  DESCRIPTION = "Like Unit Tests, but for your Team Culture.".freeze
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: danger-additional-logging
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Orta Therox
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2023-08-23 00:00:00.000000000 Z
12
+ date: 2023-08-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: claide