rubocop-git2 0.1.6 → 0.1.7

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: 33c1336d1d9972e366ea8154522b891ae1cdaa23240c370fe46568ad49f0a761
4
- data.tar.gz: e6c987782b63ae45001ec606a3e031eccc6159a7e1503b0f8d837838b10c8b3f
3
+ metadata.gz: ac45e4164a5510b31784af505fe32ed431bc2e227d3f6657e2f184751a1211c4
4
+ data.tar.gz: dca02c93e25b703faffef6bbc5c39047ef167057c6111a42c4044e43a2ffb042
5
5
  SHA512:
6
- metadata.gz: c303b1c5c1f6ae0cb962291b2a9a485b426dee2d91563661b455aecc5155b344fa3d2f76fb5fedc751ccc345878c8bb9e4056f3f6416fe7988d95861ce052e89
7
- data.tar.gz: 0de7961ed72402b857a39d836c0d7a2a6a409a462f715079d85ed98c0615c43a667b6cea2a76581843dcbdfee4db73fe2e6e782c5f8e64b4ab703069685ff9a8
6
+ metadata.gz: 965f61d6adb82981b31b601599f2c23cd512b60b4e10eb7e092d09cd51c930315115f3768bfd38b834acdde72ddbb8df680478a4db8064e9d4442e6a22f0cbb2
7
+ data.tar.gz: c4680da7833b692bc5b4b518259544778362334a3b283dda3d4dbd925fea9d4c9fc6a87e434d037e275011777c8a87e4e9e96c9c29da212d99d7a4d47fce98db
data/CHANGELOG.md CHANGED
@@ -4,6 +4,13 @@ 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.7] - 2024-02-04
8
+
9
+ ### Fixed
10
+
11
+ - deprecation warning for rubocop >= 1.68.0
12
+
13
+
7
14
  ## [0.1.6] - 2023-03-27
8
15
 
9
16
  ### Fixed
@@ -11,7 +11,8 @@ class RuboCop::Git::StyleGuide
11
11
  []
12
12
  else
13
13
  src = process_source(file)
14
- team = RuboCop::Cop::Team.new(enabled_cops, config, rubocop_options)
14
+ t_class = RuboCop::Cop::Team
15
+ team = t_class.send(t_class.respond_to?(:mobilize) ? :mobilize : :new, enabled_cops, config, rubocop_options)
15
16
  team.respond_to?(:investigate) ? team.investigate(src).offenses : team.inspect_file(src)
16
17
  end
17
18
  end
@@ -1,5 +1,5 @@
1
1
  module RuboCop
2
2
  module Git
3
- VERSION = '0.1.6'.freeze
3
+ VERSION = '0.1.7'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-git2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Masaki Takeuchi
8
8
  - Janosch Müller
9
+ autorequire:
9
10
  bindir: exe
10
11
  cert_chain: []
11
- date: 2024-09-03 00:00:00.000000000 Z
12
+ date: 2025-02-04 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: rubocop
@@ -70,6 +71,7 @@ homepage: https://github.com/jaynetics/rubocop-git2
70
71
  licenses:
71
72
  - MIT
72
73
  metadata: {}
74
+ post_install_message:
73
75
  rdoc_options: []
74
76
  require_paths:
75
77
  - lib
@@ -84,7 +86,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
84
86
  - !ruby/object:Gem::Version
85
87
  version: '0'
86
88
  requirements: []
87
- rubygems_version: 3.6.0.dev
89
+ rubygems_version: 3.5.22
90
+ signing_key:
88
91
  specification_version: 4
89
92
  summary: RuboCop for git diff.
90
93
  test_files: []