git 4.3.0 → 4.3.1

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: e100c7e550894cd173db6f141a4a79963d1ccb832d028a459cf7e4193ae968ec
4
- data.tar.gz: 9275a29a6a88c441e44084a9ba26dbbd0d40889784225635d410965dafaea2af
3
+ metadata.gz: ce05faa211be55d9467eb7d8daa65b72f1068cc5b1c5b4144b70fc21b75324dd
4
+ data.tar.gz: 8d52ea0fd9b590f162f4ccaef24f6e6504136fe7cfc5b330188c2f6a8f8b125c
5
5
  SHA512:
6
- metadata.gz: e29086daa9c6089c6e7f1e4b889aae7cac9e1cd199937f3e8eb44e5b59dccaa3c484d85dab56f2da07172161b6e2f87269b78e5aab868b947a2f161e7c9de977
7
- data.tar.gz: f09a9f3a7e7e9cdc218016737e2dc444392351191f456b6ace8dd32088c17517b43de0f93b6f6925e0d9ec2a8e8be9866d4b35b28420ebc7f6e43adc889e4bab
6
+ metadata.gz: 71b65725f8b3b156c81965861157a192d088d777aac15ca24e6f0b8d39fdb3fd67eb596d423e6423480edfe3861a0646c9907bd11be289f601cce7d1dbd00ca0
7
+ data.tar.gz: 3d28b71cb77959e0f01cb6d3b83a39862b461bd4c0e061a9646a0a993785e8f8feea2c614cc4c26ff2271fba8736ce292dc7ccf892188ac1f99c9c91c2fd8bc8
@@ -1,3 +1,3 @@
1
1
  {
2
- ".": "4.3.0"
2
+ ".": "4.3.1"
3
3
  }
data/CHANGELOG.md CHANGED
@@ -5,6 +5,13 @@
5
5
 
6
6
  # Change Log
7
7
 
8
+ ## [4.3.1](https://github.com/ruby-git/ruby-git/compare/v4.3.0...v4.3.1) (2026-02-20)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * Resolve NoMethodError for Git::Base#cat_file ([#1058](https://github.com/ruby-git/ruby-git/issues/1058)) ([310bc73](https://github.com/ruby-git/ruby-git/commit/310bc73c1a62e7548eb43e5d3ef844af0b266fc7))
14
+
8
15
  ## [4.3.0](https://github.com/ruby-git/ruby-git/compare/v4.2.0...v4.3.0) (2026-01-15)
9
16
 
10
17
 
data/lib/git/base.rb CHANGED
@@ -812,8 +812,19 @@ module Git
812
812
  lib.ls_tree(objectish, opts)
813
813
  end
814
814
 
815
+ # Returns the contents of a git object
816
+ #
817
+ # Uses `git cat-file -p` to pretty-print the contents of the given object.
818
+ #
819
+ # @param objectish [String] a SHA, branch name, tag, or other revision reference
820
+ # to the git object
821
+ #
822
+ # @return [String] the contents of the object
823
+ #
824
+ # @see https://git-scm.com/docs/git-cat-file git-cat-file
825
+ #
815
826
  def cat_file(objectish)
816
- lib.cat_file(objectish)
827
+ lib.cat_file_contents(objectish)
817
828
  end
818
829
 
819
830
  # The name of the branch HEAD refers to or 'HEAD' if detached
data/lib/git/version.rb CHANGED
@@ -3,5 +3,5 @@
3
3
  module Git
4
4
  # The current gem version
5
5
  # @return [String] the current gem version.
6
- VERSION = '4.3.0'
6
+ VERSION = '4.3.1'
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: git
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.3.0
4
+ version: 4.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Scott Chacon and others
@@ -310,8 +310,8 @@ licenses:
310
310
  metadata:
311
311
  homepage_uri: http://github.com/ruby-git/ruby-git
312
312
  source_code_uri: http://github.com/ruby-git/ruby-git
313
- changelog_uri: https://rubydoc.info/gems/git/4.3.0/file/CHANGELOG.md
314
- documentation_uri: https://rubydoc.info/gems/git/4.3.0
313
+ changelog_uri: https://rubydoc.info/gems/git/4.3.1/file/CHANGELOG.md
314
+ documentation_uri: https://rubydoc.info/gems/git/4.3.1
315
315
  rubygems_mfa_required: 'true'
316
316
  rdoc_options: []
317
317
  require_paths: