mj 0.9.0 → 0.9.1

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: 40c3258afb7e8d688b06de487bb9286f0acb6999355a7156b099a77095206cc5
4
- data.tar.gz: 301506dcf36dee5629e0912a6fd5d89e6d130f73daab6255a86aefc802e14763
3
+ metadata.gz: 7633320d7570f27d4c5b83809bea232a4463b846f2e1aaaabb87e46c9ab372c1
4
+ data.tar.gz: 48926343cc8c279b3b79bd62bf5151334bcafc94e928d31fd2cf313fd5cc549f
5
5
  SHA512:
6
- metadata.gz: 32a385ff987a4ff7ebb24b4b4329bdbbe018194e976aea69c4dc650cf66679e690d609550f8be34a914adb480a82751241d1f4090921a8319176bcacb3a0c6c5
7
- data.tar.gz: b2ef3335c6cab5e6d6da130755130f07b5e829dd1a703e6f4ecda2a5b8098a61c427d18a68923ff262a352b0ac7b15cbbc53b655a7211f0d0be891d2e51e75cf
6
+ metadata.gz: 1f27f435a2446273b4c9f79c09397d10ec5c161e3882b4b95ba2052c22cb1da02a3a651acfb9f9076a208cd759f0cdcc63e1148465f8d168f22ca7e7af68d2a8
7
+ data.tar.gz: d657912df47bf7450436df748f041c4283f25626c4dedf045a61b9248e0a4e577db1e6ef085c9ab51e542bee313d50b154d92aaa695c5ce4372527f823ac7545
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- mj (0.9.0)
4
+ mj (0.9.1)
5
5
  colorize
6
6
  koine-rest_client
7
7
  mj-hash_utils
@@ -22,6 +22,11 @@ module Mj
22
22
 
23
23
  winner = branches.min_by(&:length)
24
24
 
25
+ if winner.nil?
26
+ puts("No branche found matching #{command.branch}", color: :red)
27
+ exit(1)
28
+ end
29
+
25
30
  puts(winner.checkout_command, color: :green)
26
31
 
27
32
  if command.dry_run?
data/lib/mj/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Mj
4
- VERSION = "0.9.0"
4
+ VERSION = "0.9.1"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mj
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marcelo Jacobus
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-08-11 00:00:00.000000000 Z
11
+ date: 2024-08-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: colorize