selective-ruby-core 0.1.7-aarch64-linux → 0.1.8-aarch64-linux

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
  SHA256:
3
- metadata.gz: cda7bb49825b1322ab9bb0d3bc643744bf79dc70c7a8a611fd4cc39cba7ca494
4
- data.tar.gz: 596d3053cb1de84eba9ca0a1488600fc559c647fe963c882cfd62b6b34b60686
3
+ metadata.gz: 8581fdba462a963722f885b5719b841df3cac11b035ec74466e14bd326af4f25
4
+ data.tar.gz: 40cd5c0d8d328261ba710752c17462759beea5b860b43a4befbea661b6a3fa59
5
5
  SHA512:
6
- metadata.gz: 72ed3aba011eafbb171074eff2681ec2003144de42f2cdfdf86299604a88500d6bc510b849664befaab8a4d5b60e60a7168de64c271186bce58ba793c28d451f
7
- data.tar.gz: 685d9c77788edc0d1e1b4f2b923982989fdc347fa7710b503b5a3f9beae4238ec3810df37c4491d53ef002d4eaf70502978011ce6b11641a5261f80c546da92b
6
+ metadata.gz: b06ceb59f9e54bd9acd4b78f8899f7865ac11b02203afd6c7c8fdb60c728725069bdcd08c3d9b8d818f40466d5f0dedeaed00b3ea0a32db335797ee13ab7b620
7
+ data.tar.gz: 99f44f9cbc612233a6c04c6587ad3d5a4ca64e5c133ec4d33dd55494ae02847af99a3cd025ba083da92ababe654a44fb20493f5c6fe31fa1f6387653d7d9fef9
@@ -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: aarch64-linux
6
6
  authors:
7
7
  - Benjamin Wood