rubocop-git2 0.1.5 → 0.1.6

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: 4b3ebd323c15d20d452fff488d6f4710bb97104acf4cddab72faaaa2421f461a
4
- data.tar.gz: 3f502393adaf844a52f37bd9c85b5bca049c5c1fffa39bfd04391bd63ec6abac
3
+ metadata.gz: 33c1336d1d9972e366ea8154522b891ae1cdaa23240c370fe46568ad49f0a761
4
+ data.tar.gz: e6c987782b63ae45001ec606a3e031eccc6159a7e1503b0f8d837838b10c8b3f
5
5
  SHA512:
6
- metadata.gz: a301bd97fbefb05b71880a7e927ebc48b7789f040a3dfe4e85fe4f7731e68b2fa03b44f05a760525599f345b57d23b1bc9112c85c9ad0ae948a0de5d748e8dd5
7
- data.tar.gz: 00ec8f7a896238519a26f0c3007e65c8eedf0743d576f93cd7086e58e137615b3d9fb620e8b1c42a41bb9f87e5e9c52e243be0b82bcb0d7ae71affed6e6d2f17
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
- parsed_source = parse_source(file)
13
+ src = process_source(file)
14
14
  team = RuboCop::Cop::Team.new(enabled_cops, config, rubocop_options)
15
- team.inspect_file(parsed_source)
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 parse_source(file)
51
+ def process_source(file)
52
52
  source = RuboCop::ProcessedSource.new(
53
53
  file.content,
54
54
  config.target_ruby_version,
@@ -1,5 +1,5 @@
1
1
  module RuboCop
2
2
  module Git
3
- VERSION = '0.1.5'.freeze
3
+ VERSION = '0.1.6'.freeze
4
4
  end
5
5
  end
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.5
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: 2023-03-27 00:00:00.000000000 Z
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.4.1
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: []