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 +4 -4
- data/.release-please-manifest.json +1 -1
- data/CHANGELOG.md +7 -0
- data/lib/git/base.rb +12 -1
- data/lib/git/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ce05faa211be55d9467eb7d8daa65b72f1068cc5b1c5b4144b70fc21b75324dd
|
|
4
|
+
data.tar.gz: 8d52ea0fd9b590f162f4ccaef24f6e6504136fe7cfc5b330188c2f6a8f8b125c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 71b65725f8b3b156c81965861157a192d088d777aac15ca24e6f0b8d39fdb3fd67eb596d423e6423480edfe3861a0646c9907bd11be289f601cce7d1dbd00ca0
|
|
7
|
+
data.tar.gz: 3d28b71cb77959e0f01cb6d3b83a39862b461bd4c0e061a9646a0a993785e8f8feea2c614cc4c26ff2271fba8736ce292dc7ccf892188ac1f99c9c91c2fd8bc8
|
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.
|
|
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
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.
|
|
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.
|
|
314
|
-
documentation_uri: https://rubydoc.info/gems/git/4.3.
|
|
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:
|