rubocop-git2 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/rubocop/git/style_guide.rb +3 -3
- data/lib/rubocop/git/version.rb +1 -1
- metadata +3 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 33c1336d1d9972e366ea8154522b891ae1cdaa23240c370fe46568ad49f0a761
|
4
|
+
data.tar.gz: e6c987782b63ae45001ec606a3e031eccc6159a7e1503b0f8d837838b10c8b3f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c303b1c5c1f6ae0cb962291b2a9a485b426dee2d91563661b455aecc5155b344fa3d2f76fb5fedc751ccc345878c8bb9e4056f3f6416fe7988d95861ce052e89
|
7
|
+
data.tar.gz: 0de7961ed72402b857a39d836c0d7a2a6a409a462f715079d85ed98c0615c43a667b6cea2a76581843dcbdfee4db73fe2e6e782c5f8e64b4ab703069685ff9a8
|
data/CHANGELOG.md
CHANGED
@@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
|
|
4
4
|
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
|
5
5
|
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
|
6
6
|
|
7
|
+
## [0.1.6] - 2023-03-27
|
8
|
+
|
9
|
+
### Fixed
|
10
|
+
|
11
|
+
- deprecation warning for rubocop >= 1.65.0
|
12
|
+
|
7
13
|
## [0.1.5] - 2023-03-27
|
8
14
|
|
9
15
|
### Fixed
|
@@ -10,9 +10,9 @@ class RuboCop::Git::StyleGuide
|
|
10
10
|
if ignored_file?(file)
|
11
11
|
[]
|
12
12
|
else
|
13
|
-
|
13
|
+
src = process_source(file)
|
14
14
|
team = RuboCop::Cop::Team.new(enabled_cops, config, rubocop_options)
|
15
|
-
team.inspect_file(
|
15
|
+
team.respond_to?(:investigate) ? team.investigate(src).offenses : team.inspect_file(src)
|
16
16
|
end
|
17
17
|
end
|
18
18
|
|
@@ -48,7 +48,7 @@ class RuboCop::Git::StyleGuide
|
|
48
48
|
config.file_to_exclude?(file.absolute_path)
|
49
49
|
end
|
50
50
|
|
51
|
-
def
|
51
|
+
def process_source(file)
|
52
52
|
source = RuboCop::ProcessedSource.new(
|
53
53
|
file.content,
|
54
54
|
config.target_ruby_version,
|
data/lib/rubocop/git/version.rb
CHANGED
metadata
CHANGED
@@ -1,15 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubocop-git2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Masaki Takeuchi
|
8
8
|
- Janosch Müller
|
9
|
-
autorequire:
|
10
9
|
bindir: exe
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2024-09-03 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: rubocop
|
@@ -71,7 +70,6 @@ homepage: https://github.com/jaynetics/rubocop-git2
|
|
71
70
|
licenses:
|
72
71
|
- MIT
|
73
72
|
metadata: {}
|
74
|
-
post_install_message:
|
75
73
|
rdoc_options: []
|
76
74
|
require_paths:
|
77
75
|
- lib
|
@@ -86,8 +84,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
86
84
|
- !ruby/object:Gem::Version
|
87
85
|
version: '0'
|
88
86
|
requirements: []
|
89
|
-
rubygems_version: 3.
|
90
|
-
signing_key:
|
87
|
+
rubygems_version: 3.6.0.dev
|
91
88
|
specification_version: 4
|
92
89
|
summary: RuboCop for git diff.
|
93
90
|
test_files: []
|