rubycritic 4.8.1 → 4.9.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 +4 -4
- data/CHANGELOG.md +23 -3
- data/README.md +30 -27
- data/Rakefile +1 -1
- data/lib/rubycritic/analysers/coverage.rb +4 -5
- data/lib/rubycritic/analysers/helpers/modules_locator.rb +1 -1
- data/lib/rubycritic/cli/options/argv.rb +5 -1
- data/lib/rubycritic/cli/options/file.rb +5 -0
- data/lib/rubycritic/commands/compare.rb +4 -0
- data/lib/rubycritic/configuration.rb +2 -1
- data/lib/rubycritic/generators/html/view_helpers.rb +4 -1
- data/lib/rubycritic/source_control_systems/git/churn.rb +10 -0
- data/lib/rubycritic/version.rb +1 -1
- metadata +61 -23
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9bea0ead82dce8ce7d27a1421044b70841199150f37e2293c41046ed4f96e50a
|
|
4
|
+
data.tar.gz: ef72c2062593c9c8cccea0c01e3f06904051c48de42ee55b3f0a2b672bf1186e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 57279fe99d97710ee3e5371adf8b001f8d4f272a69b9e1cb4ef06083404d8e3d5ce4c10671f59a8e2a3f5728d46b3f12fa7a77a41510a9d9618caee2745b338e
|
|
7
|
+
data.tar.gz: b1e216cf37893fcc573ece5d68e137f47797b490da322efed18e8ef060ef9935ba38be5a68fd293f516840ee942b25426f97487d4c97155f962f23f138498469
|
data/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,22 @@
|
|
|
1
|
-
# main [(unreleased)](https://github.com/whitesmith/rubycritic/compare/v4.
|
|
1
|
+
# main [(unreleased)](https://github.com/whitesmith/rubycritic/compare/v4.9.1...main)
|
|
2
|
+
|
|
3
|
+
# v4.9.1 / 2024-04-14 [(commits)](https://github.com/whitesmith/rubycritic/compare/v4.9.0...v4.9.1)
|
|
4
|
+
|
|
5
|
+
* [CHANGE] Bump cucumber, minitest, parser, rake, reek, rubocop, and ruby_parser dependencies (by [@faisal][])
|
|
6
|
+
* [CHANGE] Fix some typos (by [@jbampton][])
|
|
7
|
+
* [FEATURE] Add coverage_path configuration option (by [@exoego][])
|
|
8
|
+
|
|
9
|
+
# v4.9.0 / 2023-10-18 [(commits)](https://github.com/whitesmith/rubycritic/compare/v4.8.1...v4.9.0)
|
|
10
|
+
|
|
11
|
+
* [CHANGE] Bump aruba, cucumber, fakefs, flog, mdl, minitest, and rubocop dependencies (by [@faisal][])
|
|
12
|
+
* [CHANGE] Fix test warning related to `cucumber_opts` declaration (by [@faisal][])
|
|
13
|
+
* [BUGFIX] Stop using long-deprecated MiniTest module name, removed in 5.19.0 (by [@faisal][])
|
|
14
|
+
* [CHANGE] Disable VERBOSE warnings in test stubs (by [@fbuys][])
|
|
15
|
+
* [CHANGE] Add rexml dependency for Ruby 3.0.0+ support (by [@fbuys][])
|
|
16
|
+
* [BUGFIX] Raise error when the same branches are compared (by [@rishijain][])
|
|
17
|
+
* [BUGFIX] Churn score was always 0 when rubycritic was executed from a sub-directory (by [@rishijain][])
|
|
18
|
+
* [BUGFIX] Use overview.html as the fallback path when files does not exist during compare option (by [@rishijain][])
|
|
19
|
+
* [BUGFIX] Use name from the file path instead of fetching name from the parser (by [@rishijain][])
|
|
2
20
|
|
|
3
21
|
# v4.8.1 / 2023-05-17 [(commits)](https://github.com/whitesmith/rubycritic/compare/v4.8.0...v4.8.1)
|
|
4
22
|
|
|
@@ -91,7 +109,7 @@
|
|
|
91
109
|
|
|
92
110
|
# v4.3.0 / 2019-12-26 [(commits)](https://github.com/whitesmith/rubycritic/compare/v4.2.2...v4.3.0)
|
|
93
111
|
|
|
94
|
-
* [FEATURE] Show which files are
|
|
112
|
+
* [FEATURE] Show which files are uncommitted in git (by [@GeoffTidey][])
|
|
95
113
|
* [BUGFIX] Fixes TypeError when `.resultset.json` is not found (by [@etagwerker][])
|
|
96
114
|
|
|
97
115
|
# v4.2.2 / 2019-11-12 [(commits)](https://github.com/whitesmith/rubycritic/compare/v4.2.1...v4.2.2)
|
|
@@ -329,7 +347,7 @@
|
|
|
329
347
|
|
|
330
348
|
* [FEATURE] Add CI mode that only analyses the last commit
|
|
331
349
|
* [FEATURE] Add partial support for Mercurial
|
|
332
|
-
* [FEATURE] Allow using RubyCritic
|
|
350
|
+
* [FEATURE] Allow using RubyCritic programmatically
|
|
333
351
|
* [CHANGE] Update to Reek 1.6.0 (from 1.3.8)
|
|
334
352
|
* [BUGFIX] Fix issue #18 - Prevent encoding issues when using Git
|
|
335
353
|
|
|
@@ -429,3 +447,5 @@
|
|
|
429
447
|
[@faisal]: https://github.com/faisal
|
|
430
448
|
[@96RadhikaJadhav]: https://github.com/96RadhikaJadhav
|
|
431
449
|
[@Fito]: https://github.com/Fito
|
|
450
|
+
[@fbuys]: https://github.com/fbuys
|
|
451
|
+
[@exoego]: https://github.com/exoego
|
data/README.md
CHANGED
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
[](http://badge.fury.io/rb/rubycritic)
|
|
4
4
|
[](https://github.com/whitesmith/rubycritic/actions/workflows/main.yml)
|
|
5
|
-
[](https://travis-ci.org/whitesmith/rubycritic)
|
|
6
5
|
[](https://codeclimate.com/github/whitesmith/rubycritic)
|
|
7
6
|
|
|
8
7
|
<img src="https://github.com/whitesmith/rubycritic/raw/main/images/logo.png" alt="RubyCritic Icon" align="right">
|
|
@@ -11,17 +10,19 @@ RubyCritic is a gem that wraps around static analysis gems such as [Reek][1], [F
|
|
|
11
10
|
|
|
12
11
|
## Table of Contents
|
|
13
12
|
|
|
14
|
-
- [
|
|
15
|
-
- [
|
|
16
|
-
- [
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
- [
|
|
21
|
-
- [
|
|
22
|
-
- [
|
|
23
|
-
- [
|
|
24
|
-
- [
|
|
13
|
+
- [RubyCritic](#rubycritic)
|
|
14
|
+
- [Table of Contents](#table-of-contents)
|
|
15
|
+
- [Overview](#overview)
|
|
16
|
+
- [Getting Started](#getting-started)
|
|
17
|
+
- [Usage](#usage)
|
|
18
|
+
- [Analyzer Configuration](#analyzer-configuration)
|
|
19
|
+
- [Alternative Usage Methods](#alternative-usage-methods)
|
|
20
|
+
- [Rake Task](#rake-task)
|
|
21
|
+
- [Formatters](#formatters)
|
|
22
|
+
- [Compatibility](#compatibility)
|
|
23
|
+
- [Improving RubyCritic](#improving-rubycritic)
|
|
24
|
+
- [Contributors](#contributors)
|
|
25
|
+
- [Credits](#credits)
|
|
25
26
|
|
|
26
27
|
## Overview
|
|
27
28
|
|
|
@@ -108,19 +109,20 @@ For a full list of the command-line options run:
|
|
|
108
109
|
$ rubycritic --help
|
|
109
110
|
```
|
|
110
111
|
|
|
111
|
-
| Command flag
|
|
112
|
-
|
|
113
|
-
| `-v` / `--version`
|
|
114
|
-
| `-p` / `--path`
|
|
115
|
-
|
|
|
116
|
-
| `--
|
|
117
|
-
|
|
|
118
|
-
| `-
|
|
119
|
-
| `-
|
|
120
|
-
| `-
|
|
121
|
-
| `--
|
|
122
|
-
| `--
|
|
123
|
-
| `--
|
|
112
|
+
| Command flag | Description |
|
|
113
|
+
|----------------------------------|-----------------------------------------------------------------|
|
|
114
|
+
| `-v` / `--version` | Displays the current version and exits |
|
|
115
|
+
| `-p` / `--path` | Set path where report will be saved (tmp/rubycritic by default) |
|
|
116
|
+
| `--coverage-path` | Set path where SimpleCov will be saved (./coverage by default) |
|
|
117
|
+
| `-f` / `--format` | Report smells in the given format(s)<sup>1</sup> |
|
|
118
|
+
| `--custom-format path:classname` | Load and instantiate custom formatter(s)<sup>2</sup> |
|
|
119
|
+
| `-s` / `--minimum-score` | Set a minimum score (FLOAT: ex: 96.28), default: 0 |
|
|
120
|
+
| `-m` / `--mode-ci` | Use CI mode<sup>3</sup> |
|
|
121
|
+
| `-b` / `--branch` | Set branch to compare |
|
|
122
|
+
| `-t` / `--maximum-decrease` | Threshold for score difference between two branches<sup>4</sup> |
|
|
123
|
+
| `--deduplicate-symlinks` | De-duplicate symlinks based on their final target |
|
|
124
|
+
| `--suppress-ratings` | Suppress letter ratings |
|
|
125
|
+
| `--no-browser` | Do not open html report with browser |
|
|
124
126
|
|
|
125
127
|
1. Available output formats:
|
|
126
128
|
- `html` (default; will open in a browser)
|
|
@@ -141,6 +143,7 @@ mode_ci:
|
|
|
141
143
|
branch: 'production' # default is main
|
|
142
144
|
branch: 'production' # default is main
|
|
143
145
|
path: '/tmp/mycustompath' # Set path where report will be saved (tmp/rubycritic by default)
|
|
146
|
+
coverage_path: '/tmp/coverage' # Set path where SimpleCov coverage will be saved (./coverage by default)
|
|
144
147
|
threshold_score: 10 # default is 0
|
|
145
148
|
deduplicate_symlinks: true # default is false
|
|
146
149
|
suppress_ratings: true # default is false
|
|
@@ -236,11 +239,11 @@ See [formatters](docs/formatters.md)
|
|
|
236
239
|
RubyCritic is supporting Ruby versions:
|
|
237
240
|
|
|
238
241
|
| Ruby version | Latest RubyCritic version |
|
|
239
|
-
|
|
|
242
|
+
| --- | --- |
|
|
240
243
|
| 2.4 | [v4.7.0](https://github.com/whitesmith/rubycritic/tree/v4.7.0) |
|
|
241
244
|
| 2.5 | [v4.7.0](https://github.com/whitesmith/rubycritic/tree/v4.7.0) |
|
|
242
245
|
| 2.6 | [v4.7.0](https://github.com/whitesmith/rubycritic/tree/v4.7.0) |
|
|
243
|
-
| 2.7 |
|
|
246
|
+
| 2.7 | [v4.9.x](https://github.com/whitesmith/rubycritic/tree/v4.9.1) |
|
|
244
247
|
| 3.0 | latest |
|
|
245
248
|
| 3.1 | latest |
|
|
246
249
|
|
data/Rakefile
CHANGED
|
@@ -48,6 +48,9 @@ module RubyCritic
|
|
|
48
48
|
|
|
49
49
|
# The path to the cache file
|
|
50
50
|
def resultset_path
|
|
51
|
+
if (cp = Config.coverage_path)
|
|
52
|
+
SimpleCov.coverage_dir(cp)
|
|
53
|
+
end
|
|
51
54
|
File.join(SimpleCov.coverage_path, RESULTSET_FILENAME)
|
|
52
55
|
end
|
|
53
56
|
|
|
@@ -112,11 +115,7 @@ module RubyCritic
|
|
|
112
115
|
if Gem.loaded_specs['simplecov'].version >= Gem::Version.new('0.19')
|
|
113
116
|
::SimpleCov::Result.from_hash(resultset)
|
|
114
117
|
else
|
|
115
|
-
|
|
116
|
-
resultset.each do |command_name, data|
|
|
117
|
-
array << ::SimpleCov::Result.from_hash(command_name => data)
|
|
118
|
-
end
|
|
119
|
-
array
|
|
118
|
+
resultset.map { |command_name, data| ::SimpleCov::Result.from_hash(command_name => data) }
|
|
120
119
|
end
|
|
121
120
|
end
|
|
122
121
|
end
|
|
@@ -95,6 +95,10 @@ module RubyCritic
|
|
|
95
95
|
self.no_browser = true
|
|
96
96
|
end
|
|
97
97
|
|
|
98
|
+
opts.on('--coverage-path [PATH]', 'SimpleCov coverage will be saved (./coverage by default)') do |path|
|
|
99
|
+
@coverage_path = path
|
|
100
|
+
end
|
|
101
|
+
|
|
98
102
|
opts.on_tail('-v', '--version', "Show gem's version") do
|
|
99
103
|
self.mode = :version
|
|
100
104
|
end
|
|
@@ -129,7 +133,7 @@ module RubyCritic
|
|
|
129
133
|
|
|
130
134
|
attr_accessor :mode, :root, :formats, :formatters, :deduplicate_symlinks,
|
|
131
135
|
:suppress_ratings, :minimum_score, :churn_after, :no_browser,
|
|
132
|
-
:parser, :base_branch, :feature_branch, :threshold_score
|
|
136
|
+
:parser, :base_branch, :feature_branch, :threshold_score, :coverage_path
|
|
133
137
|
|
|
134
138
|
def paths
|
|
135
139
|
@argv unless @argv.empty?
|
|
@@ -22,6 +22,7 @@ module RubyCritic
|
|
|
22
22
|
{
|
|
23
23
|
mode: mode,
|
|
24
24
|
root: root,
|
|
25
|
+
coverage_path: coverage_path,
|
|
25
26
|
formats: formats,
|
|
26
27
|
deduplicate_symlinks: deduplicate_symlinks,
|
|
27
28
|
paths: paths,
|
|
@@ -59,6 +60,10 @@ module RubyCritic
|
|
|
59
60
|
options['path']
|
|
60
61
|
end
|
|
61
62
|
|
|
63
|
+
def coverage_path
|
|
64
|
+
options['coverage_path']
|
|
65
|
+
end
|
|
66
|
+
|
|
62
67
|
def threshold_score
|
|
63
68
|
options['threshold_score']
|
|
64
69
|
end
|
|
@@ -18,6 +18,10 @@ module RubyCritic
|
|
|
18
18
|
end
|
|
19
19
|
|
|
20
20
|
def execute
|
|
21
|
+
if Config.send(:base_branch) == Config.send(:feature_branch)
|
|
22
|
+
raise('The branch you are on and are comparing with are the same.
|
|
23
|
+
Please switch to a different branch or choose a different branch to compare.')
|
|
24
|
+
end
|
|
21
25
|
compare_branches
|
|
22
26
|
status_reporter.score = Config.feature_branch_score
|
|
23
27
|
status_reporter
|
|
@@ -6,7 +6,7 @@ module RubyCritic
|
|
|
6
6
|
class Configuration
|
|
7
7
|
attr_reader :root
|
|
8
8
|
attr_accessor :source_control_system, :mode, :formats, :formatters, :deduplicate_symlinks,
|
|
9
|
-
:suppress_ratings, :open_with, :no_browser, :base_branch,
|
|
9
|
+
:suppress_ratings, :open_with, :no_browser, :base_branch, :coverage_path,
|
|
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,
|
|
@@ -19,6 +19,7 @@ module RubyCritic
|
|
|
19
19
|
self.suppress_ratings = options[:suppress_ratings]
|
|
20
20
|
self.open_with = options[:open_with]
|
|
21
21
|
self.no_browser = options[:no_browser]
|
|
22
|
+
self.coverage_path = options[:coverage_path]
|
|
22
23
|
self.threshold_score = options[:threshold_score].to_i
|
|
23
24
|
setup_analysis_targets(options)
|
|
24
25
|
setup_version_control(options)
|
|
@@ -24,7 +24,10 @@ module RubyCritic
|
|
|
24
24
|
end
|
|
25
25
|
|
|
26
26
|
def code_index_path(root_directory, file_name)
|
|
27
|
-
|
|
27
|
+
root_directory_path = File.expand_path(root_directory)
|
|
28
|
+
index_path = "#{root_directory_path}/#{file_name}"
|
|
29
|
+
index_path = "#{root_directory_path}/overview.html" unless File.exist?(index_path)
|
|
30
|
+
file_path(index_path)
|
|
28
31
|
end
|
|
29
32
|
|
|
30
33
|
private
|
|
@@ -73,6 +73,7 @@ module RubyCritic
|
|
|
73
73
|
when /^[RC]/
|
|
74
74
|
process_rename(*rest)
|
|
75
75
|
else
|
|
76
|
+
rest = filename_for_subdirectory(rest[0])
|
|
76
77
|
process_file(*rest)
|
|
77
78
|
end
|
|
78
79
|
end
|
|
@@ -86,6 +87,15 @@ module RubyCritic
|
|
|
86
87
|
process_file(to)
|
|
87
88
|
end
|
|
88
89
|
|
|
90
|
+
def filename_for_subdirectory(filename)
|
|
91
|
+
git_path = Git.git('rev-parse --show-toplevel')
|
|
92
|
+
cd_path = Dir.pwd
|
|
93
|
+
if cd_path.length > git_path.length
|
|
94
|
+
filename = filename.sub(/^#{Regexp.escape("#{File.basename(cd_path)}/")}/, '')
|
|
95
|
+
end
|
|
96
|
+
[filename]
|
|
97
|
+
end
|
|
98
|
+
|
|
89
99
|
def process_file(filename)
|
|
90
100
|
record_commit(renames.current(filename), @date)
|
|
91
101
|
end
|
data/lib/rubycritic/version.rb
CHANGED
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.
|
|
4
|
+
version: 4.9.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Guilherme Simoes
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2024-04-15 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: flay
|
|
@@ -30,14 +30,14 @@ dependencies:
|
|
|
30
30
|
requirements:
|
|
31
31
|
- - "~>"
|
|
32
32
|
- !ruby/object:Gem::Version
|
|
33
|
-
version: '4.
|
|
33
|
+
version: '4.7'
|
|
34
34
|
type: :runtime
|
|
35
35
|
prerelease: false
|
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
|
37
37
|
requirements:
|
|
38
38
|
- - "~>"
|
|
39
39
|
- !ruby/object:Gem::Version
|
|
40
|
-
version: '4.
|
|
40
|
+
version: '4.7'
|
|
41
41
|
- !ruby/object:Gem::Dependency
|
|
42
42
|
name: launchy
|
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -58,14 +58,14 @@ dependencies:
|
|
|
58
58
|
requirements:
|
|
59
59
|
- - ">="
|
|
60
60
|
- !ruby/object:Gem::Version
|
|
61
|
-
version: 3.2.2.
|
|
61
|
+
version: 3.2.2.4
|
|
62
62
|
type: :runtime
|
|
63
63
|
prerelease: false
|
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
|
65
65
|
requirements:
|
|
66
66
|
- - ">="
|
|
67
67
|
- !ruby/object:Gem::Version
|
|
68
|
-
version: 3.2.2.
|
|
68
|
+
version: 3.2.2.4
|
|
69
69
|
- !ruby/object:Gem::Dependency
|
|
70
70
|
name: rainbow
|
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -89,7 +89,7 @@ dependencies:
|
|
|
89
89
|
version: '6.0'
|
|
90
90
|
- - "<"
|
|
91
91
|
- !ruby/object:Gem::Version
|
|
92
|
-
version: '
|
|
92
|
+
version: '6.2'
|
|
93
93
|
type: :runtime
|
|
94
94
|
prerelease: false
|
|
95
95
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -99,21 +99,35 @@ dependencies:
|
|
|
99
99
|
version: '6.0'
|
|
100
100
|
- - "<"
|
|
101
101
|
- !ruby/object:Gem::Version
|
|
102
|
-
version: '
|
|
102
|
+
version: '6.2'
|
|
103
|
+
- !ruby/object:Gem::Dependency
|
|
104
|
+
name: rexml
|
|
105
|
+
requirement: !ruby/object:Gem::Requirement
|
|
106
|
+
requirements:
|
|
107
|
+
- - ">="
|
|
108
|
+
- !ruby/object:Gem::Version
|
|
109
|
+
version: '0'
|
|
110
|
+
type: :runtime
|
|
111
|
+
prerelease: false
|
|
112
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
113
|
+
requirements:
|
|
114
|
+
- - ">="
|
|
115
|
+
- !ruby/object:Gem::Version
|
|
116
|
+
version: '0'
|
|
103
117
|
- !ruby/object:Gem::Dependency
|
|
104
118
|
name: ruby_parser
|
|
105
119
|
requirement: !ruby/object:Gem::Requirement
|
|
106
120
|
requirements:
|
|
107
121
|
- - "~>"
|
|
108
122
|
- !ruby/object:Gem::Version
|
|
109
|
-
version: '3.
|
|
123
|
+
version: '3.21'
|
|
110
124
|
type: :runtime
|
|
111
125
|
prerelease: false
|
|
112
126
|
version_requirements: !ruby/object:Gem::Requirement
|
|
113
127
|
requirements:
|
|
114
128
|
- - "~>"
|
|
115
129
|
- !ruby/object:Gem::Version
|
|
116
|
-
version: '3.
|
|
130
|
+
version: '3.21'
|
|
117
131
|
- !ruby/object:Gem::Dependency
|
|
118
132
|
name: simplecov
|
|
119
133
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -162,14 +176,14 @@ dependencies:
|
|
|
162
176
|
requirements:
|
|
163
177
|
- - "~>"
|
|
164
178
|
- !ruby/object:Gem::Version
|
|
165
|
-
version: 2.
|
|
179
|
+
version: 2.2.0
|
|
166
180
|
type: :development
|
|
167
181
|
prerelease: false
|
|
168
182
|
version_requirements: !ruby/object:Gem::Requirement
|
|
169
183
|
requirements:
|
|
170
184
|
- - "~>"
|
|
171
185
|
- !ruby/object:Gem::Version
|
|
172
|
-
version: 2.
|
|
186
|
+
version: 2.2.0
|
|
173
187
|
- !ruby/object:Gem::Dependency
|
|
174
188
|
name: bundler
|
|
175
189
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -210,14 +224,20 @@ dependencies:
|
|
|
210
224
|
requirements:
|
|
211
225
|
- - "~>"
|
|
212
226
|
- !ruby/object:Gem::Version
|
|
213
|
-
version:
|
|
227
|
+
version: 9.2.0
|
|
228
|
+
- - "!="
|
|
229
|
+
- !ruby/object:Gem::Version
|
|
230
|
+
version: 9.0.0
|
|
214
231
|
type: :development
|
|
215
232
|
prerelease: false
|
|
216
233
|
version_requirements: !ruby/object:Gem::Requirement
|
|
217
234
|
requirements:
|
|
218
235
|
- - "~>"
|
|
219
236
|
- !ruby/object:Gem::Version
|
|
220
|
-
version:
|
|
237
|
+
version: 9.2.0
|
|
238
|
+
- - "!="
|
|
239
|
+
- !ruby/object:Gem::Version
|
|
240
|
+
version: 9.0.0
|
|
221
241
|
- !ruby/object:Gem::Dependency
|
|
222
242
|
name: diff-lcs
|
|
223
243
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -238,19 +258,22 @@ dependencies:
|
|
|
238
258
|
requirements:
|
|
239
259
|
- - "~>"
|
|
240
260
|
- !ruby/object:Gem::Version
|
|
241
|
-
version: 2.
|
|
261
|
+
version: 2.5.0
|
|
242
262
|
type: :development
|
|
243
263
|
prerelease: false
|
|
244
264
|
version_requirements: !ruby/object:Gem::Requirement
|
|
245
265
|
requirements:
|
|
246
266
|
- - "~>"
|
|
247
267
|
- !ruby/object:Gem::Version
|
|
248
|
-
version: 2.
|
|
268
|
+
version: 2.5.0
|
|
249
269
|
- !ruby/object:Gem::Dependency
|
|
250
270
|
name: mdl
|
|
251
271
|
requirement: !ruby/object:Gem::Requirement
|
|
252
272
|
requirements:
|
|
253
273
|
- - "~>"
|
|
274
|
+
- !ruby/object:Gem::Version
|
|
275
|
+
version: 0.13.0
|
|
276
|
+
- - ">="
|
|
254
277
|
- !ruby/object:Gem::Version
|
|
255
278
|
version: 0.12.0
|
|
256
279
|
type: :development
|
|
@@ -258,12 +281,18 @@ dependencies:
|
|
|
258
281
|
version_requirements: !ruby/object:Gem::Requirement
|
|
259
282
|
requirements:
|
|
260
283
|
- - "~>"
|
|
284
|
+
- !ruby/object:Gem::Version
|
|
285
|
+
version: 0.13.0
|
|
286
|
+
- - ">="
|
|
261
287
|
- !ruby/object:Gem::Version
|
|
262
288
|
version: 0.12.0
|
|
263
289
|
- !ruby/object:Gem::Dependency
|
|
264
290
|
name: minitest
|
|
265
291
|
requirement: !ruby/object:Gem::Requirement
|
|
266
292
|
requirements:
|
|
293
|
+
- - "~>"
|
|
294
|
+
- !ruby/object:Gem::Version
|
|
295
|
+
version: 5.22.2
|
|
267
296
|
- - ">="
|
|
268
297
|
- !ruby/object:Gem::Version
|
|
269
298
|
version: 5.3.0
|
|
@@ -271,6 +300,9 @@ dependencies:
|
|
|
271
300
|
prerelease: false
|
|
272
301
|
version_requirements: !ruby/object:Gem::Requirement
|
|
273
302
|
requirements:
|
|
303
|
+
- - "~>"
|
|
304
|
+
- !ruby/object:Gem::Version
|
|
305
|
+
version: 5.22.2
|
|
274
306
|
- - ">="
|
|
275
307
|
- !ruby/object:Gem::Version
|
|
276
308
|
version: 5.3.0
|
|
@@ -300,21 +332,21 @@ dependencies:
|
|
|
300
332
|
requirements:
|
|
301
333
|
- - "~>"
|
|
302
334
|
- !ruby/object:Gem::Version
|
|
303
|
-
version: 2.0
|
|
335
|
+
version: 2.2.0
|
|
304
336
|
type: :development
|
|
305
337
|
prerelease: false
|
|
306
338
|
version_requirements: !ruby/object:Gem::Requirement
|
|
307
339
|
requirements:
|
|
308
340
|
- - "~>"
|
|
309
341
|
- !ruby/object:Gem::Version
|
|
310
|
-
version: 2.0
|
|
342
|
+
version: 2.2.0
|
|
311
343
|
- !ruby/object:Gem::Dependency
|
|
312
344
|
name: rake
|
|
313
345
|
requirement: !ruby/object:Gem::Requirement
|
|
314
346
|
requirements:
|
|
315
347
|
- - "~>"
|
|
316
348
|
- !ruby/object:Gem::Version
|
|
317
|
-
version: 13.0
|
|
349
|
+
version: 13.2.0
|
|
318
350
|
- - ">="
|
|
319
351
|
- !ruby/object:Gem::Version
|
|
320
352
|
version: 11.0.0
|
|
@@ -324,7 +356,7 @@ dependencies:
|
|
|
324
356
|
requirements:
|
|
325
357
|
- - "~>"
|
|
326
358
|
- !ruby/object:Gem::Version
|
|
327
|
-
version: 13.0
|
|
359
|
+
version: 13.2.0
|
|
328
360
|
- - ">="
|
|
329
361
|
- !ruby/object:Gem::Version
|
|
330
362
|
version: 11.0.0
|
|
@@ -348,14 +380,20 @@ dependencies:
|
|
|
348
380
|
requirements:
|
|
349
381
|
- - "~>"
|
|
350
382
|
- !ruby/object:Gem::Version
|
|
351
|
-
version: 1.
|
|
383
|
+
version: 1.59.0
|
|
384
|
+
- - ">="
|
|
385
|
+
- !ruby/object:Gem::Version
|
|
386
|
+
version: 1.54.0
|
|
352
387
|
type: :development
|
|
353
388
|
prerelease: false
|
|
354
389
|
version_requirements: !ruby/object:Gem::Requirement
|
|
355
390
|
requirements:
|
|
356
391
|
- - "~>"
|
|
357
392
|
- !ruby/object:Gem::Version
|
|
358
|
-
version: 1.
|
|
393
|
+
version: 1.59.0
|
|
394
|
+
- - ">="
|
|
395
|
+
- !ruby/object:Gem::Version
|
|
396
|
+
version: 1.54.0
|
|
359
397
|
- !ruby/object:Gem::Dependency
|
|
360
398
|
name: rubocop-minitest
|
|
361
399
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -541,7 +579,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
541
579
|
- !ruby/object:Gem::Version
|
|
542
580
|
version: '0'
|
|
543
581
|
requirements: []
|
|
544
|
-
rubygems_version: 3.
|
|
582
|
+
rubygems_version: 3.4.19
|
|
545
583
|
signing_key:
|
|
546
584
|
specification_version: 4
|
|
547
585
|
summary: RubyCritic is a Ruby code quality reporter
|