rubocop-gitlab_formatter 0.1.0 → 0.1.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dc653c05f38b15dd3819c0b4ad9141d402c7f62809a3c2e8aaa931f75c3caa2a
4
- data.tar.gz: 950eb51ff5dbcd2dc6bace396a7111d1689353f4d24c49dffe68deaecd6bd4ee
3
+ metadata.gz: a85760335c66f418d3ab30fa8ec18165b2f6554c7e7c2cb99dd5feb4272428cf
4
+ data.tar.gz: d4185ac0d3b63a0f553f3aae2d9331c5e84225c5e83e6f1e8404772460020cfb
5
5
  SHA512:
6
- metadata.gz: eb09f4a99cc22cb7a188088db6ad0b04161cb7b654a3542660426bb937cdb242e77a5b14b91c97b2951da93f303a227b67fa04e9e581e7aacb8c549d1630188f
7
- data.tar.gz: 9ffd97a5bbbb30dfc6263b1376347cb9569c3e07655d913ae3bf7e0514faa065b3c1b604c933138fe50aa110788292ee57f76be080c789f71a1e0d2ba6601a13
6
+ metadata.gz: 2006c45ef15e3431891d1630e5aee2f39368bed692c69468b33e46df6fb76e826ab729b6b421b024a579e96576b002d6bc928916e275e766f93e01c2782ff38f
7
+ data.tar.gz: '089d3834f622bd5f8d2564fd146dfa9736b3c762b2f1a62bb51da5c02b80e9c54efe093e5a7ff93e8e0b554e59efbfea4a3a6ab3365d2690051e29709343f9a9'
data/README.md CHANGED
@@ -50,12 +50,6 @@ rubocop:
50
50
 
51
51
  And enjoy the Code Quality features :tada:
52
52
 
53
- ## Development
54
-
55
- After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
56
-
57
- To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).
58
-
59
53
  ## Contributing
60
54
 
61
55
  Bug reports and pull requests are welcome on GitHub at https://github.com/jojos003/rubocop-gitlab_formatter.
@@ -40,7 +40,8 @@ module RuboCop
40
40
  def hash_for_offense(file, offense)
41
41
  {
42
42
  description: offense.message,
43
- fingerprint: offense.hash,
43
+ check_name: offense.cop_name,
44
+ fingerprint: offense.hash.to_s,
44
45
  severity: SEVERITY_MAPPING[offense.severity.code.to_sym],
45
46
  location: hash_for_location(file, offense.location)
46
47
  }
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-gitlab_formatter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonathan Georges
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2022-03-31 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: rubocop
@@ -72,14 +71,14 @@ dependencies:
72
71
  requirements:
73
72
  - - "~>"
74
73
  - !ruby/object:Gem::Version
75
- version: '2.9'
74
+ version: '3.0'
76
75
  type: :development
77
76
  prerelease: false
78
77
  version_requirements: !ruby/object:Gem::Requirement
79
78
  requirements:
80
79
  - - "~>"
81
80
  - !ruby/object:Gem::Version
82
- version: '2.9'
81
+ version: '3.0'
83
82
  description: A very simple RuboCop formatter that renders a json compliant with the
84
83
  Gitlab CodeQuality format.
85
84
  email:
@@ -99,7 +98,6 @@ metadata:
99
98
  rubygems_mfa_required: 'true'
100
99
  homepage_uri: https://github.com/jojos003/rubocop-gitlab_formatter
101
100
  source_code_uri: https://github.com/jojos003/rubocop-gitlab_formatter
102
- post_install_message:
103
101
  rdoc_options: []
104
102
  require_paths:
105
103
  - lib
@@ -114,8 +112,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
114
112
  - !ruby/object:Gem::Version
115
113
  version: '0'
116
114
  requirements: []
117
- rubygems_version: 3.3.7
118
- signing_key:
115
+ rubygems_version: 3.6.9
119
116
  specification_version: 4
120
117
  summary: A RuboCop formatter for GitLab CodeQuality reports
121
118
  test_files: []