From 7225c8d84fc62db60c0b53295cbbf8c20863ebd5 Mon Sep 17 00:00:00 2001 From: Phil Dibowitz Date: Thu, 25 Apr 2024 21:01:35 -0700 Subject: [PATCH] Version bump * changelog * bundle update * new rubocop * new version --- CHANGELOG.md | 15 +++++++++++++++ Gemfile.lock | 16 ++++++++-------- lib/sugarjar/commands.rb | 8 ++++---- lib/sugarjar/version.rb | 2 +- 4 files changed, 28 insertions(+), 13 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8849f04..84b4501 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,20 @@ # SugarJar Changelog +## 1.1.2 (2024-04-25) + +* Add support for 'subfeatures' +* Add support for building stacked PRs based on 'subfeatures' +* smartpullrequest: only autofill in the PR when a single commit exists between + the base and us +* smartpullrequest: Add `--fill` option to let people opt-out of autofilling the + PR +* smartpullrequest: State that we're autofilling the PR when we do +* feature: Fix some corner cases where feature-prefixing didn't work +* pullsuggestions: Print the diff in the correct order +* feature/subfeature: set tracked branch for the user +* subfeature: automatically update tracked branch when previous tracked branch + disappears + ## 1.1.1 (2024-02-12) * Relax ruby requirements to allow for easier packaging diff --git a/Gemfile.lock b/Gemfile.lock index de100d2..40146a4 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - sugarjar (1.1.1) + sugarjar (1.1.2) deep_merge mixlib-log mixlib-shellout @@ -11,12 +11,12 @@ GEM remote: https://rubygems.org/ specs: ast (2.4.2) - chef-utils (18.4.2) + chef-utils (18.4.12) concurrent-ruby concurrent-ruby (1.2.3) deep_merge (1.2.2) diff-lcs (1.5.1) - json (2.7.1) + json (2.7.2) kramdown (2.4.0) rexml kramdown-parser-gfm (1.1.0) @@ -56,8 +56,8 @@ GEM rspec-mocks (3.13.0) diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.13.0) - rspec-support (3.13.0) - rubocop (1.60.2) + rspec-support (3.13.1) + rubocop (1.63.3) json (~> 2.3) language_server-protocol (>= 3.17.0) parallel (~> 1.10) @@ -65,11 +65,11 @@ GEM rainbow (>= 2.2.2, < 4.0) regexp_parser (>= 1.8, < 3.0) rexml (>= 3.2.5, < 4.0) - rubocop-ast (>= 1.30.0, < 2.0) + rubocop-ast (>= 1.31.1, < 2.0) ruby-progressbar (~> 1.7) unicode-display_width (>= 2.4.0, < 3.0) - rubocop-ast (1.30.0) - parser (>= 3.2.1.0) + rubocop-ast (1.31.2) + parser (>= 3.3.0.4) ruby-progressbar (1.13.0) tomlrb (2.0.3) tty-color (0.6.0) diff --git a/lib/sugarjar/commands.rb b/lib/sugarjar/commands.rb index 5eae81d..e21ded6 100644 --- a/lib/sugarjar/commands.rb +++ b/lib/sugarjar/commands.rb @@ -764,11 +764,11 @@ def all_remote_branches(remote = 'origin') end def all_local_branches - branches = [] - git('branch', '--format', '%(refname)').stdout.lines.each do |line| - branches << branch_from_ref(line.strip) + git( + 'branch', '--format', '%(refname)' + ).stdout.lines.map do |line| + branch_from_ref(line.strip) end - branches end def all_remotes diff --git a/lib/sugarjar/version.rb b/lib/sugarjar/version.rb index 0a5ccf4..9c7d0ba 100644 --- a/lib/sugarjar/version.rb +++ b/lib/sugarjar/version.rb @@ -1,3 +1,3 @@ class SugarJar - VERSION = '1.1.1'.freeze + VERSION = '1.1.2'.freeze end