File tree Expand file tree Collapse file tree 8 files changed +14
-19
lines changed Expand file tree Collapse file tree 8 files changed +14
-19
lines changed Original file line number Diff line number Diff line change 29
29
fail-fast : false
30
30
matrix :
31
31
ruby-version :
32
- - ' 2.4'
33
32
- ' 2.5'
34
33
- ' 2.6'
35
34
- ' 2.7'
63
62
fail-fast : false
64
63
matrix :
65
64
ruby-version :
66
- - ' 2.4'
67
65
- ' 2.5'
68
66
- ' 2.6'
69
67
- ' 2.7'
96
94
fail-fast : false
97
95
matrix :
98
96
ruby-version :
99
- - ' 2.4'
100
97
- ' 2.5'
101
98
- ' 2.6'
102
99
- ' 2.7'
@@ -129,7 +126,6 @@ jobs:
129
126
fail-fast : false
130
127
matrix :
131
128
ruby-version :
132
- - ' 2.4'
133
129
- ' 2.5'
134
130
- ' 2.6'
135
131
- ' 2.7'
Original file line number Diff line number Diff line change 5
5
- ' tmp/**/*'
6
6
- ' vendor/**/*'
7
7
- ' gemfiles/*'
8
- TargetRubyVersion : 2.4
8
+ TargetRubyVersion : 2.5
9
9
10
10
Metrics/BlockLength :
11
11
Enabled : false
Original file line number Diff line number Diff line change 1
1
# main [ (unreleased)] ( https://github.com/whitesmith/rubycritic/compare/v4.7.0...main )
2
2
3
+ * [ CHANGE] Drop support for Ruby 2.4.x (by [ @rishijain ] [ ] )
4
+
3
5
# v4.7.0 / 2022-05-06 [ (commits)] ( https://github.com/whitesmith/rubycritic/compare/v4.6.1...v4.7.0 )
4
6
5
7
* [ CHANGE] Run test suite with Ruby 3.1 (by [ @etagwerker ] [ ] )
Original file line number Diff line number Diff line change @@ -235,7 +235,6 @@ See [formatters](docs/formatters.md)
235
235
236
236
RubyCritic is supporting Ruby versions :
237
237
238
- * 2.4
239
238
* 2.5
240
239
* 2.6
241
240
* 2.7
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ Gem::Specification.new do |spec|
14
14
spec . summary = 'RubyCritic is a Ruby code quality reporter'
15
15
spec . homepage = 'https://github.com/whitesmith/rubycritic'
16
16
spec . license = 'MIT'
17
- spec . required_ruby_version = '>= 2.4 .0'
17
+ spec . required_ruby_version = '>= 2.5 .0'
18
18
19
19
spec . files = [
20
20
'CHANGELOG.md' ,
Original file line number Diff line number Diff line change @@ -29,17 +29,15 @@ def capture_output_streams
29
29
30
30
def with_cloned_fs
31
31
FakeFS do
32
- begin
33
- FakeFS ::FileSystem . clone ( PathHelper . project_path )
32
+ FakeFS ::FileSystem . clone ( PathHelper . project_path )
34
33
35
- # reek schema is required to init reek
36
- FakeFS ::FileSystem . clone ( PathHelper . reek_schema_path )
34
+ # reek schema is required to init reek
35
+ FakeFS ::FileSystem . clone ( PathHelper . reek_schema_path )
37
36
38
- Dir . chdir ( PathHelper . project_path )
39
- yield
40
- ensure
41
- FakeFS ::FileSystem . clear
42
- end
37
+ Dir . chdir ( PathHelper . project_path )
38
+ yield
39
+ ensure
40
+ FakeFS ::FileSystem . clear
43
41
end
44
42
end
45
43
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
set -ev
3
- if [ " ${TRAVIS_RUBY_VERSION} " != " 2.4 " ] && [ " ${TRAVIS_RUBY_VERSION} " != " 3.0" ]; then
3
+ if [ " ${TRAVIS_RUBY_VERSION} " != " 3.0" ]; then
4
4
bundle exec appraisal install
5
5
fi
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
set -ev
3
3
echo " Using Ruby v${TRAVIS_RUBY_VERSION} "
4
- if [ " ${TRAVIS_RUBY_VERSION} " = " 2.4 " ] || [ " ${TRAVIS_RUBY_VERSION} " = " 3.0" ]; then
4
+ if [ " ${TRAVIS_RUBY_VERSION} " = " 3.0" ]; then
5
5
bundle exec rake test
6
6
else
7
7
bundle exec appraisal rake test
8
- fi
8
+ fi
You can’t perform that action at this time.
0 commit comments