rubycritic 4.7.0 → 4.8.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9223069d4934bf55e41bd199b4610e9b230b4115d36196354d4aa93d87b8ea01
4
- data.tar.gz: 7d1b324b4df74ac99bb1103c6f80678a90e872418eac4faa87dd2f687cdb87cc
3
+ metadata.gz: 025aff87e62b4fde94b8920973574ff4231503b8d1ed614705b223c61ab8cf17
4
+ data.tar.gz: b3e0521dd5d2859a7535c51a92f5b5bf2666f7cb02ad26a0171e503861ca308c
5
5
  SHA512:
6
- metadata.gz: 91abe36adad615bf645187214511346e8175f28f913462baaa31b0be4bdf1986fa01e3841ff71866fa80f5de9d2e10d0ed6cd53dded35c30b04d2ad1910a5d6f
7
- data.tar.gz: 6764cabd0cac4338072f4eadde37819095a10c3c5d5fd78d76d75ffe0e68d12ee58afe0169c286f3ea32fad9e91df145a9396e42154cbd446e78f8ee64b579ad
6
+ metadata.gz: 6b8d0d03d8d9332e90899854e2f4e76e6b293dbc83e2bd76f0e6991fcce087294364bc2f6a1aceefa1cf101b20e6d94522464c61c1f18f06e3be2bc2c206e992
7
+ data.tar.gz: 8103598ab67398b6f5761ff3608e4a60879474f6b9b312700ccc6c48ecc59dc09ec5728d10a654daa11318bdaba316346be0b1360d8193337d68390c7ffa55a8
data/CHANGELOG.md CHANGED
@@ -1,4 +1,27 @@
1
- # main [(unreleased)](https://github.com/whitesmith/rubycritic/compare/v4.7.0...main)
1
+ # main [(unreleased)](https://github.com/whitesmith/rubycritic/compare/v4.8.0...main)
2
+
3
+ # v4.8.0 / 2023-05-12 [(commits)](https://github.com/whitesmith/rubycritic/compare/v4.7.0...v4.8.0)
4
+
5
+ * [CHORE] Fix syntax of contributor references in this file
6
+ * [CHANGE] Updated branch references from master to main (by [@96RadhikaJadhav][] and [@faisal][])
7
+ * [CHORE] Test gem with Ruby 3.2 (by [@etagwerker][])
8
+ * [CHORE] Test gem with Ruby 3.1 (by [@etagwerker][])
9
+ * [CHANGE] Drop support for JRuby 9.3.x (by [@faisal][])
10
+ * [CHANGE] Drop support for Ruby 2.6.x (by [@faisal][])
11
+ * [CHANGE] Drop support for Ruby 2.5.x (by [@cleicar][])
12
+ * [CHANGE] Drop support for Ruby 2.4.x (by [@rishijain][])
13
+ * [FEATURE] Add ruby_extensions configuration option (by [@stufro][])
14
+ * [CHANGE] Include files which have a ruby shebang (by [@stufro][])
15
+ * [CHANGE] Fix some typos (by [@ydah][])
16
+ * [CHANGE] Remove wrong Rubocop reference in contributing file (by [@itsmeurbi][])
17
+ * [BUGFIX] Restore missing smell status label (by [@itsmeurbi][])
18
+ * [BUGFIX] Fix changelog @user links and update README (by [@kcamcam][])
19
+ * [BUGFIX] Fix CI rubocop using ruby-head (by [@juanvqz][])
20
+ * [BUGFIX] Fix CI Update FakeFs to use ruby-head (by [@juanvqz][])
21
+ * [BUGFIX] Fix CI, test didn't include the ruby_extensions (by [@aisayo][] and [@juanvqz][])
22
+ * [FEATURE] Support a branch in 'detached HEAD' state (by [@h-r-k-matsumoto][])
23
+ * [BUGFIX] Fix CI, tests did not work with JRuby (by [@etagwerker][] and [@h-r-k-matsumoto][])
24
+ * [CHANGE] Add continuous integration status badge to README (by [@kcamcam][])
2
25
 
3
26
  # v4.7.0 / 2022-05-06 [(commits)](https://github.com/whitesmith/rubycritic/compare/v4.6.1...v4.7.0)
4
27
 
@@ -20,8 +43,7 @@
20
43
  * [CHANGE] Make Github Linguist ignore vendored files (by [@sl4vr][])
21
44
  * [BUGFIX] Fix directory structure of reports when comparing branches (by [@denny][])
22
45
  * [BUGFIX] Restrict simplecov to versions before data format changed (by [@denny][])
23
-
24
- * [BUGFIX] Handle missing comparison file in html template (by @lauratpa)
46
+ * [BUGFIX] Handle missing comparison file in html template (by [@lauratpa][])
25
47
 
26
48
  # v4.5.2 / 2020-08-20 [(commits)](https://github.com/whitesmith/rubycritic/compare/v4.5.1...v4.5.2)
27
49
 
@@ -30,7 +52,6 @@
30
52
  # v4.5.1 / 2020-06-29 [(commits)](https://github.com/whitesmith/rubycritic/compare/v4.5.0...v4.5.1)
31
53
 
32
54
  * [BUGFIX] Handle git --name-status Copied (C) operation (by [@rizalmuthi][])
33
-
34
55
  * [FEATURE] Add --churn-after (only supports git) to limit churn analysis to recent history (by [@jackcasey][])
35
56
 
36
57
  # v4.5.0 / 2020-05-14 [(commits)](https://github.com/whitesmith/rubycritic/compare/v4.4.1...v4.5.0)
@@ -99,8 +120,8 @@
99
120
 
100
121
  # 4.0.0 / 2019-02-27 [(commits)](https://github.com/whitesmith/rubycritic/compare/v3.5.1...v4.0.0)
101
122
 
102
- * [FEATURE] Allow generating reports in multiple formats in one run (by [@katafrakt])
103
- * [FEATURE] Allow to accept a config file (by [@mfbmina])
123
+ * [FEATURE] Allow generating reports in multiple formats in one run (by [@katafrakt][])
124
+ * [FEATURE] Allow to accept a config file (by [@mfbmina][])
104
125
  * [CHANGE] Update `reek` to 5.3 (by [@taitran19][] and [@onumis][])
105
126
  * [CHANGE] Update `parser` to 2.6.0 (by [@onumis][])
106
127
  * [CHANGE] Update `tty-which` to 0.4.0 (by [@onumis][])
@@ -377,3 +398,24 @@
377
398
  [@sl4vr]: https://github.com/sl4vr
378
399
  [@denny]: https://github.com/denny
379
400
  [@RyanSnodgrass]: https://github.com/RyanSnodgrass
401
+ [@ydah]: https://github.com/ydah
402
+ [@stufro]: https://github.com/stufro
403
+ [@rishijain]: https://github.com/rishijain
404
+ [@cleicar]: https://github.com/cleicar
405
+ [@anicholson]: https://github.com/anicholson
406
+ [@borisrorsvort]: https://github.com/borisrorsvort
407
+ [@lauratpa]: https://github.com/lauratpa
408
+ [@MZiserman]: https://github.com/MZiserman
409
+ [@rizalmuthi]: https://github.com/rizalmuthi
410
+ [@jsantos]: https://github.com/jsantos
411
+ [@teohm]: https://github.com/teohm
412
+ [@itsmeurbi]: https://github.com/itsmeurbi
413
+ [@kcamcam]: https://github.com/kcamcam
414
+ [@aisayo]: https://github.com/aisayo
415
+ [@h-r-k-matsumoto]: https://github.com/h-r-k-matsumoto
416
+ [@juanvqz]: https://github.com/juanvqz
417
+ [@eitoball]: https://github.com/eitoball
418
+ [@marcgrimme]: https://github.com/marcgrimme
419
+ [@katafrakt]: https://github.com/katafrakt
420
+ [@faisal]: https://github.com/faisal
421
+ [@96RadhikaJadhav]: https://github.com/
data/CONTRIBUTING.md CHANGED
@@ -32,7 +32,7 @@ Each commit should do one thing and one thing only. For example, all whitespace
32
32
 
33
33
  9. Push the branch to GitHub (`git push origin my-new-feature`).
34
34
 
35
- 10. [Create a Pull Request] and send it to be merged with the master branch.
35
+ 10. [Create a Pull Request] and send it to be merged with the main branch.
36
36
 
37
37
  11. After your code is reviewed, [hide the sausage making]. We follow the "one commit per pull request" [principle](http://ndlib.github.io/practices/one-commit-per-pull-request/) since this allows for a clean git history, easy handling of features and convenient rollbacks when things go wrong. Or in one sentence: You can have as many commits as you want in your pull request, but after the final review and before the merge you need to squash all of those in one single commit.
38
38
  For a more in-depth look at interactive rebasing, be sure to check [how to rewrite history] as well.
@@ -85,9 +85,9 @@ Here are a few examples:
85
85
  ```
86
86
 
87
87
  * Mark it up in [Markdown syntax](http://daringfireball.net/projects/markdown/syntax).
88
- * Add your entry in the `master (unreleased)` section.
88
+ * Add your entry in the `main (unreleased)` section.
89
89
  * The entry line should start with `* ` (an asterisk and a space).
90
90
  * Start with the change type BUGFIX / CHANGE / FEATURE.
91
91
  * Describe the brief of the change.
92
92
  * At the end of the entry, add an implicit link to your GitHub user page as `([@username][])`.
93
- * If this is your first contribution to RuboCop project, add a link definition for the implicit link to the bottom of the changelog as `[@username]: https://github.com/username`.
93
+ * If this is your first contribution to RubyCritic project, add a link definition for the implicit link to the bottom of the changelog as `[@username]: https://github.com/username`.
data/README.md CHANGED
@@ -1,6 +1,7 @@
1
1
  # RubyCritic
2
2
 
3
3
  [![Gem Version](https://badge.fury.io/rb/rubycritic.svg)](http://badge.fury.io/rb/rubycritic)
4
+ [![Continuous Integration](https://github.com/whitesmith/rubycritic/actions/workflows/main.yml/badge.svg?branch=main)](https://github.com/whitesmith/rubycritic/actions/workflows/main.yml)
4
5
  [![Build Status](https://travis-ci.org/whitesmith/rubycritic.svg?branch=master)](https://travis-ci.org/whitesmith/rubycritic)
5
6
  [![Code Climate](https://codeclimate.com/github/whitesmith/rubycritic/badges/gpa.svg)](https://codeclimate.com/github/whitesmith/rubycritic)
6
7
 
@@ -16,6 +17,7 @@ RubyCritic is a gem that wraps around static analysis gems such as [Reek][1], [F
16
17
  + [Analyzer Configuration](#analyzer-configuration)
17
18
  + [Alternative Usage Methods](#alternative-usage-methods)
18
19
  + [Rake Task](#rake-task)
20
+ - [Formatters](#formatters)
19
21
  - [Compatibility](#compatibility)
20
22
  - [Improving RubyCritic](#improving-rubyCritic)
21
23
  - [Contributors](#contributors)
@@ -26,15 +28,12 @@ RubyCritic is a gem that wraps around static analysis gems such as [Reek][1], [F
26
28
  This gem provides features such as:
27
29
 
28
30
  1. An overview of your project:
29
-
30
31
  ![RubyCritic overview screenshot](https://github.com/whitesmith/rubycritic/raw/main/images/overview.png)
31
32
 
32
33
  2. An index of the project files with their respective number of smells:
33
-
34
34
  ![RubyCritic code index screenshot](https://github.com/whitesmith/rubycritic/raw/main/images/code.png)
35
35
 
36
36
  3. An index of the smells detected:
37
-
38
37
  ![RubyCritic smells index screenshot](https://github.com/whitesmith/rubycritic/raw/main/images/smells.png)
39
38
 
40
39
  4. When analysing code like the following:
@@ -61,10 +60,10 @@ This gem provides features such as:
61
60
  are currently supported) to compare your currently uncommitted
62
61
  changes with your last commit.
63
62
 
64
- **Warning**: If your code is not as you expect it to be after running
65
- RubyCritic, please check your source control system stash.
63
+ **Warning**: If your code is not as you expect it to be after running
64
+ RubyCritic, please check your source control system stash.
66
65
 
67
- Checkout the `/docs` if you want to read more about our [core metrics](https://github.com/whitesmith/rubycritic/blob/master/docs/core-metrics.md).
66
+ Checkout the `/docs` if you want to read more about our [core metrics](https://github.com/whitesmith/rubycritic/blob/main/docs/core-metrics.md).
68
67
 
69
68
  ## Getting Started
70
69
 
@@ -128,7 +127,7 @@ $ rubycritic --help
128
127
  - `console`
129
128
  - `lint`
130
129
  2. See [custom formatters docs](/docs/formatters.md)
131
- 3. Faster, analyses diffs w.r.t base_branch (default: master), see `-b`
130
+ 3. Faster, analyses diffs w.r.t base_branch (default: main), see `-b`
132
131
  4. Works only with `-b`, default: 0
133
132
 
134
133
  You also can use a config file. Just create a `.rubycritic.yml` on your project root path.
@@ -138,8 +137,8 @@ Here are one example:
138
137
  ```yml
139
138
  mode_ci:
140
139
  enabled: true # default is false
141
- branch: 'production' # default is master
142
- branch: 'production' # default is master
140
+ branch: 'production' # default is main
141
+ branch: 'production' # default is main
143
142
  path: '/tmp/mycustompath' # Set path where report will be saved (tmp/rubycritic by default)
144
143
  threshold_score: 10 # default is 0
145
144
  deduplicate_symlinks: true # default is false
@@ -159,7 +158,7 @@ paths: # Files to analyse.
159
158
  This means that if you have an existing `Reek` configuration file, you can just put this into your
160
159
  project root and `RubyCritic` will respect this configuration.
161
160
  * [`flay`](https://github.com/seattlerb/flay): We use `flay`'s default configuration.
162
- * [`flog`](https://github.com/seattlerb/flog): We use `flog`'s default configuration with a couple of [smaller tweaks](https://github.com/whitesmith/rubycritic/blob/master/lib/rubycritic/analysers/helpers/flog.rb#L5):
161
+ * [`flog`](https://github.com/seattlerb/flog): We use `flog`'s default configuration with a couple of [smaller tweaks](https://github.com/whitesmith/rubycritic/blob/main/lib/rubycritic/analysers/helpers/flog.rb#L5):
163
162
  * `all`: Forces `flog` to report scores on all classes and methods. Without this option `flog` will only give results up to a certain threshold.
164
163
  * `continue`: Makes it so that `flog` does not abort when a ruby file cannot be parsed.
165
164
  * `methods`: Configures `flog` to skip code outside of methods. It prevents `flog` from reporting on the "methods" `private` and `protected`. It also prevents `flog` from reporting on Rails methods like `before_action` and `has_many`.
@@ -235,11 +234,14 @@ See [formatters](docs/formatters.md)
235
234
 
236
235
  RubyCritic is supporting Ruby versions:
237
236
 
238
- * 2.4
239
- * 2.5
240
- * 2.6
241
- * 2.7
242
- * 3.0
237
+ | Ruby version | Latest RubyCritic version |
238
+ | - | - |
239
+ | 2.4 | [v4.7.0](https://github.com/whitesmith/rubycritic/tree/v4.7.0) |
240
+ | 2.5 | [v4.7.0](https://github.com/whitesmith/rubycritic/tree/v4.7.0) |
241
+ | 2.6 | [v4.7.0](https://github.com/whitesmith/rubycritic/tree/v4.7.0) |
242
+ | 2.7 | latest |
243
+ | 3.0 | latest |
244
+ | 3.1 | latest |
243
245
 
244
246
  ## Improving RubyCritic
245
247
 
@@ -249,7 +251,7 @@ Arguably, the [better_errors gem][7] only got popular after receiving a [(pretty
249
251
 
250
252
  Similarly, Pull Requests that improve the look and feel of the gem, that tweak the calculation of ratings or that fix existing issues will be most welcome. Just commenting on an issue and giving some insight into how something should work will be appreciated. No contribution is too small.
251
253
 
252
- See RubyCritic's [contributing guidelines](https://github.com/whitesmith/rubycritic/blob/master/CONTRIBUTING.md) about how to proceed.
254
+ See RubyCritic's [contributing guidelines](https://github.com/whitesmith/rubycritic/blob/main/CONTRIBUTING.md) about how to proceed.
253
255
 
254
256
  ## Contributors
255
257
 
@@ -272,7 +274,7 @@ RubyCritic is maintained and funded by [Whitesmith][9]. Tweet your questions or
272
274
  [3]: https://github.com/seattlerb/flog
273
275
  [4]: https://github.com/whitesmith/guard-rubycritic
274
276
  [5]: http://jenkins-ci.org/
275
- [6]: https://github.com/whitesmith/rubycritic/blob/master/docs/building-own-code-climate.md
277
+ [6]: https://github.com/whitesmith/rubycritic/blob/main/docs/building-own-code-climate.md
276
278
  [7]: https://github.com/charliesome/better_errors
277
279
  [8]: https://github.com/charliesome/better_errors/pull/22
278
280
  [9]: http://www.whitesmith.co/
@@ -57,7 +57,7 @@ module RubyCritic
57
57
  'Instantiate a given class as formatter and call report for reporting.',
58
58
  'Two ways are possible to load the formatter.',
59
59
  'If the class is not autorequired the REQUIREPATH can be given together',
60
- 'with the CLASSNAME to be loaded seperated by a :.',
60
+ 'with the CLASSNAME to be loaded separated by a :.',
61
61
  'Example: rubycritic/markdown/reporter.rb:RubyCritic::MarkDown::Reporter',
62
62
  'or if the file is already required the CLASSNAME is enough',
63
63
  'Example: RubyCritic::MarkDown::Reporter',
@@ -77,8 +77,8 @@ module RubyCritic
77
77
  end
78
78
 
79
79
  opts.on('-m', '--mode-ci [BASE_BRANCH]',
80
- 'Use CI mode (faster, analyses diffs w.r.t base_branch (default: master))') do |branch|
81
- self.base_branch = branch || 'master'
80
+ 'Use CI mode (faster, analyses diffs w.r.t base_branch (default: main))') do |branch|
81
+ self.base_branch = branch || 'main'
82
82
  set_current_branch
83
83
  self.mode = :ci
84
84
  end
@@ -130,6 +130,7 @@ module RubyCritic
130
130
  attr_accessor :mode, :root, :formats, :formatters, :deduplicate_symlinks,
131
131
  :suppress_ratings, :minimum_score, :churn_after, :no_browser,
132
132
  :parser, :base_branch, :feature_branch, :threshold_score
133
+
133
134
  def paths
134
135
  @argv unless @argv.empty?
135
136
  end
@@ -38,7 +38,7 @@ module RubyCritic
38
38
  private
39
39
 
40
40
  def base_branch
41
- return options.dig('mode_ci', 'branch') || 'master' if options.dig('mode_ci', 'enabled').to_s == 'true'
41
+ return options.dig('mode_ci', 'branch') || 'main' if options.dig('mode_ci', 'enabled').to_s == 'true'
42
42
 
43
43
  options['branch']
44
44
  end
@@ -10,7 +10,7 @@ module RubyCritic
10
10
  :feature_branch, :base_branch_score, :feature_branch_score,
11
11
  :base_root_directory, :feature_root_directory,
12
12
  :compare_root_directory, :threshold_score, :base_branch_collection,
13
- :feature_branch_collection, :churn_after
13
+ :feature_branch_collection, :churn_after, :ruby_extensions
14
14
 
15
15
  def set(options)
16
16
  self.mode = options[:mode] || :default
@@ -20,6 +20,7 @@ module RubyCritic
20
20
  self.open_with = options[:open_with]
21
21
  self.no_browser = options[:no_browser]
22
22
  self.threshold_score = options[:threshold_score].to_i
23
+ self.ruby_extensions = options[:ruby_extensions] || %w[.rb .rake .thor]
23
24
  setup_version_control(options)
24
25
  setup_formats(options)
25
26
  end
@@ -12,7 +12,7 @@ module RubyCritic
12
12
  attribute :locations, Array, default: []
13
13
  attribute :message
14
14
  attribute :score
15
- attribute :status
15
+ attribute :status, Symbol, default: :new
16
16
  attribute :type
17
17
  attribute :analyser
18
18
 
@@ -32,7 +32,7 @@
32
32
  <% if @show_status %>
33
33
  <ul class="nav nav-pills">
34
34
  <li role="presentation">
35
- <td class="centered-cell"><span class="status-<%= smell.status %> circled-text circle"><%= smell.status %></span></td>
35
+ <span class="status-<%= smell.status %> circled-text circle"><%= smell.status %></span>
36
36
  </li>
37
37
  </ul>
38
38
  <% end %>
@@ -18,7 +18,7 @@ module RubyCritic
18
18
  end
19
19
 
20
20
  def erb_template
21
- @erb_template ||= ERB.new(File.read(TEMPLATE_PATH), nil, '-')
21
+ @erb_template ||= ERB.new(File.read(TEMPLATE_PATH), trim_mode: '-')
22
22
  end
23
23
  end
24
24
 
@@ -10,7 +10,7 @@ module RubyCritic
10
10
  TEMPLATE_PATH = File.expand_path('templates/list.erb', __dir__)
11
11
 
12
12
  def erb_template
13
- @erb_template ||= ERB.new(File.read(TEMPLATE_PATH), nil, '-')
13
+ @erb_template ||= ERB.new(File.read(TEMPLATE_PATH), trim_mode: '-')
14
14
  end
15
15
  end
16
16
 
@@ -81,7 +81,9 @@ module RubyCritic
81
81
 
82
82
  def self.current_branch
83
83
  branch_list = `git branch`
84
- branch_list.match(/\*.*$/)[0].gsub('* ', '')
84
+ branch = branch_list.match(/\*.*$/)[0].gsub('* ', '')
85
+ branch = branch.gsub(/\(HEAD detached at (.*)\)$/, '\1') if branch =~ /\(HEAD detached at (.*)\)$/
86
+ branch
85
87
  end
86
88
 
87
89
  private
@@ -7,6 +7,7 @@ module RubyCritic
7
7
  class SourceLocator
8
8
  RUBY_EXTENSION = '.rb'.freeze
9
9
  RUBY_FILES = File.join('**', "*#{RUBY_EXTENSION}")
10
+ RUBY_SHEBANG = '#!/usr/bin/env ruby'.freeze
10
11
 
11
12
  def initialize(paths)
12
13
  @initial_paths = Array(paths)
@@ -39,7 +40,7 @@ module RubyCritic
39
40
  path_list = @initial_paths.flat_map do |path|
40
41
  if File.directory?(path)
41
42
  Pathname.glob(File.join(path, RUBY_FILES))
42
- elsif File.exist?(path) && File.extname(path) == RUBY_EXTENSION
43
+ elsif File.exist?(path) && ruby_file?(path)
43
44
  Pathname.new(path)
44
45
  end
45
46
  end.compact
@@ -48,5 +49,9 @@ module RubyCritic
48
49
 
49
50
  path_list.map(&:cleanpath)
50
51
  end
52
+
53
+ def ruby_file?(path)
54
+ Config.ruby_extensions.include?(File.extname(path)) || File.open(path, &:gets).to_s.match?(RUBY_SHEBANG)
55
+ end
51
56
  end
52
57
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RubyCritic
4
- VERSION = '4.7.0'.freeze
4
+ VERSION = '4.8.0'.freeze
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubycritic
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.7.0
4
+ version: 4.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Guilherme Simoes
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-05-06 00:00:00.000000000 Z
11
+ date: 2023-05-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: flay
@@ -270,7 +270,7 @@ dependencies:
270
270
  requirements:
271
271
  - - "~>"
272
272
  - !ruby/object:Gem::Version
273
- version: 1.3.2
273
+ version: 1.4.1
274
274
  - - "<"
275
275
  - !ruby/object:Gem::Version
276
276
  version: 2.0.0
@@ -280,7 +280,7 @@ dependencies:
280
280
  requirements:
281
281
  - - "~>"
282
282
  - !ruby/object:Gem::Version
283
- version: 1.3.2
283
+ version: 1.4.1
284
284
  - - "<"
285
285
  - !ruby/object:Gem::Version
286
286
  version: 2.0.0
@@ -392,14 +392,14 @@ dependencies:
392
392
  requirements:
393
393
  - - "~>"
394
394
  - !ruby/object:Gem::Version
395
- version: 0.65.0
395
+ version: 0.75.0
396
396
  type: :development
397
397
  prerelease: false
398
398
  version_requirements: !ruby/object:Gem::Requirement
399
399
  requirements:
400
400
  - - "~>"
401
401
  - !ruby/object:Gem::Version
402
- version: 0.65.0
402
+ version: 0.75.0
403
403
  description: RubyCritic is a tool that wraps around various static analysis gems to
404
404
  provide a quality report of your Ruby code.
405
405
  email:
@@ -535,14 +535,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
535
535
  requirements:
536
536
  - - ">="
537
537
  - !ruby/object:Gem::Version
538
- version: 2.4.0
538
+ version: 2.7.0
539
539
  required_rubygems_version: !ruby/object:Gem::Requirement
540
540
  requirements:
541
541
  - - ">="
542
542
  - !ruby/object:Gem::Version
543
543
  version: '0'
544
544
  requirements: []
545
- rubygems_version: 3.2.15
545
+ rubygems_version: 3.1.6
546
546
  signing_key:
547
547
  specification_version: 4
548
548
  summary: RubyCritic is a Ruby code quality reporter