git 4.4.2 → 4.4.3
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/.gitignore +1 -0
- data/.release-please-manifest.json +1 -1
- data/CHANGELOG.md +11 -0
- data/LICENSE +1 -1
- data/git.gemspec +1 -1
- data/lib/git/base.rb +5 -4
- data/lib/git/lib.rb +1 -1
- data/lib/git/version.rb +1 -1
- data/tasks/rubocop.rake +9 -2
- metadata +5 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5edd3d97d763864b53bf259e67da06224fe1af8700e6229402af735395c48694
|
|
4
|
+
data.tar.gz: 0be5c354b15762008e8b83208aaa900d8bdadc4bf2e9b953526a112caad9b1c7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ba7c8e11c635383c3b502eeebe74f6bd8a38baf84c55375c623f24b90376c7a7012119770dfc32e87427970e9d613f25cb80ddeda4d315dd5058b64e37b284c4
|
|
7
|
+
data.tar.gz: 9fed231ffd42c844f736e19c286a968005050cbf84f2c64a2d3d68fa75982728534590c0ae482d9044b814ed9a631d95f458d82a65edc37ab2f36c2ba9532399
|
data/.gitignore
CHANGED
data/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,17 @@
|
|
|
5
5
|
|
|
6
6
|
# Change Log
|
|
7
7
|
|
|
8
|
+
## [4.4.3](https://github.com/ruby-git/ruby-git/compare/v4.4.2...v4.4.3) (2026-08-30)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Other Changes
|
|
12
|
+
|
|
13
|
+
* **deps:** Update process_executer to ~> 4.1 ([6f41964](https://github.com/ruby-git/ruby-git/commit/6f41964e400c7fa5a79ef9ec848144aaf56e8d06))
|
|
14
|
+
* Fix rubocop offenses on the 4.x branch ([0361cf5](https://github.com/ruby-git/ruby-git/commit/0361cf521895fb722cd3e1fdb42006ce6d0a6d3c))
|
|
15
|
+
* Ignore the git-versions directory ([2cc1bf5](https://github.com/ruby-git/ruby-git/commit/2cc1bf5f2cca6854d647634d2fef58e681fd90e3))
|
|
16
|
+
* Name maintainer and contributors in the LICENSE copyright notice ([9d0ac3c](https://github.com/ruby-git/ruby-git/commit/9d0ac3ca56c49e1d78deb6e869aaddcb30362cb6))
|
|
17
|
+
* Skip the rubocop rake task on JRuby and TruffleRuby ([da527c2](https://github.com/ruby-git/ruby-git/commit/da527c2314d5a81441b2590609cdadce9d394e17))
|
|
18
|
+
|
|
8
19
|
## [4.4.2](https://github.com/ruby-git/ruby-git/compare/v4.4.1...v4.4.2) (2026-08-19)
|
|
9
20
|
|
|
10
21
|
|
data/LICENSE
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
The MIT License
|
|
2
2
|
|
|
3
|
-
Copyright (c) 2008 Scott Chacon
|
|
3
|
+
Copyright (c) 2008 Scott Chacon, 2020 James Couball, and the ruby-git contributors
|
|
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/git.gemspec
CHANGED
|
@@ -31,7 +31,7 @@ Gem::Specification.new do |spec|
|
|
|
31
31
|
|
|
32
32
|
spec.add_dependency 'activesupport', '>= 5.0'
|
|
33
33
|
spec.add_dependency 'addressable', '~> 2.8'
|
|
34
|
-
spec.add_dependency 'process_executer', '~> 4.
|
|
34
|
+
spec.add_dependency 'process_executer', '~> 4.1'
|
|
35
35
|
spec.add_dependency 'rchardet', '~> 1.9'
|
|
36
36
|
|
|
37
37
|
spec.add_development_dependency 'create_github_release', '~> 2.1'
|
data/lib/git/base.rb
CHANGED
|
@@ -306,6 +306,7 @@ module Git
|
|
|
306
306
|
branch_names.include?(branch)
|
|
307
307
|
end
|
|
308
308
|
|
|
309
|
+
# @deprecated Use {#local_branch?} instead
|
|
309
310
|
def is_local_branch?(branch) # rubocop:disable Naming/PredicatePrefix
|
|
310
311
|
Git::Deprecation.warn(
|
|
311
312
|
'Git::Base#is_local_branch? is deprecated and will be removed in a future version. ' \
|
|
@@ -320,6 +321,7 @@ module Git
|
|
|
320
321
|
branch_names.include?(branch)
|
|
321
322
|
end
|
|
322
323
|
|
|
324
|
+
# @deprecated Use {#remote_branch?} instead
|
|
323
325
|
def is_remote_branch?(branch) # rubocop:disable Naming/PredicatePrefix
|
|
324
326
|
Git::Deprecation.warn(
|
|
325
327
|
'Git::Base#is_remote_branch? is deprecated and will be removed in a future version. ' \
|
|
@@ -334,6 +336,7 @@ module Git
|
|
|
334
336
|
branch_names.include?(branch)
|
|
335
337
|
end
|
|
336
338
|
|
|
339
|
+
# @deprecated Use {#branch?} instead
|
|
337
340
|
def is_branch?(branch) # rubocop:disable Naming/PredicatePrefix
|
|
338
341
|
Git::Deprecation.warn(
|
|
339
342
|
'Git::Base#is_branch? is deprecated and will be removed in a future version. ' \
|
|
@@ -710,11 +713,9 @@ module Git
|
|
|
710
713
|
# @example Check specific objects
|
|
711
714
|
# result = git.fsck('abc1234', 'def5678')
|
|
712
715
|
#
|
|
713
|
-
# rubocop:disable Style/ArgumentsForwarding
|
|
714
|
-
|
|
715
|
-
lib.fsck(*objects, **opts)
|
|
716
|
+
def fsck(*objects, **opts) # rubocop:disable Style/ArgumentsForwarding
|
|
717
|
+
lib.fsck(*objects, **opts) # rubocop:disable Style/ArgumentsForwarding
|
|
716
718
|
end
|
|
717
|
-
# rubocop:enable Style/ArgumentsForwarding
|
|
718
719
|
|
|
719
720
|
def apply(file)
|
|
720
721
|
return unless File.exist?(file)
|
data/lib/git/lib.rb
CHANGED
data/lib/git/version.rb
CHANGED
data/tasks/rubocop.rake
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
# RuboCop analyzes source text, so its verdict is fixed by TargetRubyVersion in
|
|
4
|
+
# .rubocop.yml, not by the host Ruby. Skipping it on JRuby and TruffleRuby loses no
|
|
5
|
+
# coverage (the MRI matrix jobs lint the same files) and avoids RuboCop internal
|
|
6
|
+
# cop errors on TruffleRuby.
|
|
7
|
+
#
|
|
8
|
+
unless RUBY_PLATFORM == 'java' || RUBY_ENGINE == 'truffleruby'
|
|
9
|
+
require 'rubocop/rake_task'
|
|
4
10
|
|
|
5
|
-
RuboCop::RakeTask.new
|
|
11
|
+
RuboCop::RakeTask.new
|
|
12
|
+
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.4.
|
|
4
|
+
version: 4.4.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Scott Chacon and others
|
|
@@ -43,14 +43,14 @@ dependencies:
|
|
|
43
43
|
requirements:
|
|
44
44
|
- - "~>"
|
|
45
45
|
- !ruby/object:Gem::Version
|
|
46
|
-
version: '4.
|
|
46
|
+
version: '4.1'
|
|
47
47
|
type: :runtime
|
|
48
48
|
prerelease: false
|
|
49
49
|
version_requirements: !ruby/object:Gem::Requirement
|
|
50
50
|
requirements:
|
|
51
51
|
- - "~>"
|
|
52
52
|
- !ruby/object:Gem::Version
|
|
53
|
-
version: '4.
|
|
53
|
+
version: '4.1'
|
|
54
54
|
- !ruby/object:Gem::Dependency
|
|
55
55
|
name: rchardet
|
|
56
56
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -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.4.
|
|
314
|
-
documentation_uri: https://rubydoc.info/gems/git/4.4.
|
|
313
|
+
changelog_uri: https://rubydoc.info/gems/git/4.4.3/file/CHANGELOG.md
|
|
314
|
+
documentation_uri: https://rubydoc.info/gems/git/4.4.3
|
|
315
315
|
rubygems_mfa_required: 'true'
|
|
316
316
|
rdoc_options: []
|
|
317
317
|
require_paths:
|