selective-ruby-core 0.1.7-x86_64-linux → 0.1.8-x86_64-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: 3ee42cddb33203a7cf1604187c67426b3b7f5af1fa0e6fbb0d1516724c3e6c8e
4
- data.tar.gz: d58c25995521db66960c51a860a778303bdb5eb5be5d11b81cf00c066d552b26
3
+ metadata.gz: 8fc1593cbdf10f86bea4aa1bda2da083d9adbd598a5a4c18898968b214b32a6b
4
+ data.tar.gz: 1974dcafb418d40f3434a5b97c0afb50f3cadb50da7bea4d2687ea2199723657
5
5
  SHA512:
6
- metadata.gz: 85d543fc9a3fd71ce55d8968eb4093c327a900841717f23307edc03a0476b7f10df81622edc4133b0d6fd9c7164689cc031d2a68faefc9700819a64026917ccc
7
- data.tar.gz: 36648d460cfb7c7e3604d066645571e936ed3a00b2dcfb44326aa399758190a446313e18575f06e3b9ebcb4fb6748982c9dc066f1d8b22863d1fb253a79783a8
6
+ metadata.gz: 753cf27d67588c65727223edc78821eb2e0b03921466bec6b952a4c9299c45c04e43584cd7412f9b4cc1398d481b3cac0ebdf7149f88548c05c3223386d0d734
7
+ data.tar.gz: 36940e88e60ee06fbad277099ceafcef7677ba8be9d7a82a61df1afd3dd6b09d458cb806f13de80542177a35332d6d9be440777b3039cd4702a503f2e9f8742f
@@ -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: x86_64-linux
6
6
  authors:
7
7
  - Benjamin Wood