bundleup 2.5.3 → 2.6.0

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: 44304ff755f6f8da1bcb6e38b0ef8466a8d6fceefbc186f8e8c345c4fcdd7cf2
4
- data.tar.gz: 301faf1ac23c387c37407301660caa3627088b752c51261fae2d11176c7249e1
3
+ metadata.gz: 866fe96d03e957f53e8f391f4e6e798a01482d5e06d6ebb83ca13b2d322afbc8
4
+ data.tar.gz: bcd474ad91867bc5c27a05d5eb77e537fbf8d25c24f25d0cb445038dbe6b6a75
5
5
  SHA512:
6
- metadata.gz: 0c3f112c7c86d83c840bdf399115261238b1710421ad63331e5671a649c33aebd6123a3b9696415f110029d2e1d9b906c0512af6c3577dd12d19bd6c727a716d
7
- data.tar.gz: 3e86bd5b901aa9267ae2ddddc07dcd58a7b412041db449b0016593d031703db9f28bd51ebeb326b225b0c1c8c0679e909a065872f2369dff273af54624563e70
6
+ metadata.gz: 9c7ad047a20a7b2d337dc5cf7e8adaeb554921fcbbbbade6f70afa2d7beb86290a6be2256ab5cda25d02fa79194b7159fd8e70cc1d7aecd726a90b50c4f381a6
7
+ data.tar.gz: 96fea222266d0811a7344cd5833f0a704cbdcac29d558f0f72a3f5a2e62b213694f4227e0090fe1fdfd25e2cb65038eca2553ac7cb53fd66359dc889602fff6e
data/LICENSE.txt CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2025 Matt Brictson
3
+ Copyright (c) 2026 Matt Brictson
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
data/README.md CHANGED
@@ -24,7 +24,7 @@ Here it is in action:
24
24
  ## Requirements
25
25
 
26
26
  - Bundler 1.16 or later
27
- - Ruby 3.1 or later
27
+ - Ruby 3.2 or later
28
28
 
29
29
  ## Usage
30
30
 
data/lib/bundleup/cli.rb CHANGED
@@ -6,6 +6,7 @@ module Bundleup
6
6
 
7
7
  include Colors
8
8
  extend Forwardable
9
+
9
10
  def_delegators :Bundleup, :commands, :logger
10
11
 
11
12
  attr_reader :updated_gems, :pinned_gems
@@ -7,6 +7,7 @@ module Bundleup
7
7
  OUTDATED_2_2_REGEXP = /^(\S+)\s\s+\S+\s\s+(\d\S+)\s\s+(\S.*?)(?:$|\s\s)/
8
8
 
9
9
  extend Forwardable
10
+
10
11
  def_delegators :Bundleup, :shell
11
12
 
12
13
  def check?
@@ -3,6 +3,7 @@ require "io/console"
3
3
  module Bundleup
4
4
  class Logger
5
5
  extend Forwardable
6
+
6
7
  def_delegators :@stdout, :print, :puts, :tty?
7
8
  def_delegators :@stdin, :gets
8
9
 
@@ -8,7 +8,7 @@ module Bundleup
8
8
  end
9
9
 
10
10
  def title
11
- return "Note that this gem is being held back:" if rows.count == 1
11
+ return "Note that this gem is being held back:" if rows.one?
12
12
 
13
13
  "Note that the following gems are being held back:"
14
14
  end
@@ -3,6 +3,7 @@ require "forwardable"
3
3
  module Bundleup
4
4
  class Report
5
5
  extend Forwardable
6
+
6
7
  def_delegators :rows, :empty?, :one?
7
8
 
8
9
  def many?
@@ -4,6 +4,7 @@ require "open3"
4
4
  module Bundleup
5
5
  class Shell
6
6
  extend Forwardable
7
+
7
8
  def_delegators :Bundleup, :logger
8
9
 
9
10
  def capture(command, raise_on_error: true)
@@ -7,7 +7,7 @@ module Bundleup
7
7
  end
8
8
 
9
9
  def title
10
- return "This gem will be updated:" if rows.count == 1
10
+ return "This gem will be updated:" if rows.one?
11
11
 
12
12
  "The following gems will be updated:"
13
13
  end
@@ -1,3 +1,3 @@
1
1
  module Bundleup
2
- VERSION = "2.5.3".freeze
2
+ VERSION = "2.6.0".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bundleup
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.5.3
4
+ version: 2.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Brictson
@@ -54,14 +54,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
54
54
  requirements:
55
55
  - - ">="
56
56
  - !ruby/object:Gem::Version
57
- version: '3.1'
57
+ version: '3.2'
58
58
  required_rubygems_version: !ruby/object:Gem::Requirement
59
59
  requirements:
60
60
  - - ">="
61
61
  - !ruby/object:Gem::Version
62
62
  version: '0'
63
63
  requirements: []
64
- rubygems_version: 3.6.7
64
+ rubygems_version: 4.0.3
65
65
  specification_version: 4
66
66
  summary: A friendlier command-line interface for Bundler’s `update` and `outdated`
67
67
  commands.