selective-ruby-core 0.1.7-arm64-darwin → 0.1.8-arm64-darwin

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: a6b2a7505ab8abece184b64bb2f8094c5334a8269ad98e737f6e76547443783c
4
- data.tar.gz: 0e674ee480d0142483f3213545305174787da5d3d76074971d85aa24ea11b577
3
+ metadata.gz: e952eb63c5251c16e0923e82ad0650e0a983afb0b4c01e100567778a4df9ccbc
4
+ data.tar.gz: bc3d75e86bfe37bc21722bbc7afbf6429e5ee27f149b77bf9fa22f34734b36ab
5
5
  SHA512:
6
- metadata.gz: 7f64a389227c118efd93520a498b3f256c452d83176e3ce6f1ae15516121c5a94840d008bc630a3c292b2b72ba25c5bd9845aad80be756cc59cf17665e85bf28
7
- data.tar.gz: f6d1237f0838537d0755820ebb4f2c688ec0a73c9c822aca5eaa32212caa8a37a5fe271d9451c9a77c8182f0c197bbb5abbbc55f887447957747d41df694ed0d
6
+ metadata.gz: bab488e14df432f6947e7b0583fb591fe9e1333c2882cfba5df80fd3ac401bea6f00c069e5b2cc31ada65a8a091fe73443490a342d642ae844f1934c98b9a89d
7
+ data.tar.gz: e0e37bc55905a66786991988bd14694071c1ae114d4913151db2f4831184ed8cb5f7b5f71942cb8eb516cc1965d0a6e8d78dc4c5c0601628b05c5c89ad06d173
@@ -291,12 +291,12 @@ module Selective
291
291
 
292
292
  def get_diff(num_commits)
293
293
  target_branch = build_env["target_branch"]
294
- return [] if target_branch.nil? || target_branch.empty?
294
+ return if target_branch.nil? || target_branch.empty?
295
295
 
296
296
  Open3.capture2e("git fetch origin #{target_branch} --depth=#{num_commits}").then do |output, status|
297
297
  unless status.success?
298
298
  print_warning "Selective was unable to fetch the target branch. This may result in a sub-optimal test order. If the issue persists, please contact support. The output was:\n\n#{output}"
299
- return []
299
+ return
300
300
  end
301
301
  end
302
302
 
@@ -305,7 +305,7 @@ module Selective
305
305
  output.split("\n")
306
306
  else
307
307
  print_warning "Selective was unable to diff with the target branch. This may result in a sub-optimal test order. If the issue persists, please contact support. The output was:\n\n#{output}"
308
- []
308
+ nil
309
309
  end
310
310
  end
311
311
  end
@@ -3,7 +3,7 @@
3
3
  module Selective
4
4
  module Ruby
5
5
  module Core
6
- VERSION = "0.1.7"
6
+ VERSION = "0.1.8"
7
7
  end
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: selective-ruby-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  platform: arm64-darwin
6
6
  authors:
7
7
  - Benjamin Wood