File tree 6 files changed +25
-25
lines changed
6 files changed +25
-25
lines changed Original file line number Diff line number Diff line change 13
13
fail-fast : false
14
14
matrix :
15
15
ruby :
16
- - ' 2.7'
17
- - ' 3.0'
18
16
- ' 3.1'
19
17
- ' 3.2'
20
18
- ' 3.3'
Original file line number Diff line number Diff line change 8
8
.buildpath
9
9
* ~
10
10
.bundle /
11
- lbin /
11
+ lbin /
12
+ vendor
Original file line number Diff line number Diff line change
1
+ require : rubocop-performance
2
+
1
3
AllCops :
2
- TargetRubyVersion : 2.4
4
+ TargetRubyVersion : 3.1
3
5
# RuboCop has a bunch of cops enabled by default. This setting tells RuboCop
4
6
# to ignore them, so only the ones explicitly set in this file are enabled.
5
7
DisabledByDefault : true
8
+ SuggestExtensions : false
6
9
7
10
Performance :
8
11
Exclude :
@@ -13,12 +16,6 @@ Performance:
13
16
Style/AndOr :
14
17
Enabled : true
15
18
16
- # Do not use braces for hash literals when they are the last argument of a
17
- # method call.
18
- Style/BracesAroundHashParameters :
19
- Enabled : true
20
- EnforcedStyle : context_dependent
21
-
22
19
# Align `when` with `case`.
23
20
Layout/CaseIndentation :
24
21
Enabled : true
@@ -127,26 +124,26 @@ Style/StringLiterals:
127
124
EnforcedStyle : double_quotes
128
125
129
126
# Detect hard tabs, no hard tabs.
130
- Layout/Tab :
127
+ Layout/IndentationStyle :
131
128
Enabled : true
132
129
133
130
# Blank lines should not have any spaces.
134
- Layout/TrailingBlankLines :
131
+ Layout/TrailingEmptyLines :
135
132
Enabled : true
136
133
137
134
# No trailing whitespace.
138
135
Layout/TrailingWhitespace :
139
136
Enabled : true
140
137
141
138
# Use quotes for string literals when they are enough.
142
- Style/UnneededPercentQ :
139
+ Style/RedundantPercentQ :
143
140
Enabled : true
144
141
145
142
# Use my_method(my_arg) not my_method( my_arg ) or my_method my_arg.
146
143
Lint/RequireParentheses :
147
144
Enabled : true
148
145
149
- Lint/StringConversionInInterpolation :
146
+ Lint/RedundantStringCoercion :
150
147
Enabled : true
151
148
152
149
Lint/UriEscapeUnescape :
Original file line number Diff line number Diff line change 1
1
## Unreleased
2
2
3
3
### Changed/Added
4
- - Add dependencies for ` csv ` and ` base64 ` if Ruby version higher or equal 3.4
4
+ - Add dependencies for ` csv ` and ` base64 ` if Ruby version higher or equal 3.4 [ 616] ( https://github.com/roo-rb/roo/pull/616 )
5
+ - Add dependency for ` logger ` if Ruby version higher or equal 3.4 [ 618] ( https://github.com/roo-rb/roo/pull/618 )
6
+ - Add changelog link to gemspec [ 605] ( https://github.com/roo-rb/roo/pull/605 )
7
+
8
+ ### Removed
9
+ - Support for ruby 2.7, 3.0
5
10
6
11
## [ 2.10.1] 2024-01-17
7
12
Original file line number Diff line number Diff line change @@ -2,15 +2,18 @@ source 'https://rubygems.org'
2
2
3
3
gemspec
4
4
5
+ gem 'rubocop'
6
+ gem 'rubocop-performance' , require : false
7
+
5
8
group :test do
6
9
# additional testing libs
7
10
gem 'shoulda'
8
- gem 'activesupport' , '< 5.1'
11
+ gem 'activesupport'
9
12
gem 'rspec' , '>= 3.0.0'
10
13
gem 'simplecov' , '>= 0.9.0' , require : false
11
14
gem 'coveralls' , require : false
12
15
gem "minitest-reporters"
13
- gem 'webrick' if RUBY_VERSION >= '3.0.0'
16
+ gem 'webrick'
14
17
end
15
18
16
19
group :local_development do
Original file line number Diff line number Diff line change @@ -17,25 +17,21 @@ Gem::Specification.new do |spec|
17
17
spec . files . reject! { |fn | fn . include? ( 'test/files' ) }
18
18
spec . require_paths = [ 'lib' ]
19
19
20
- if defined? ( RUBY_ENGINE ) && RUBY_ENGINE == 'jruby'
21
- spec . required_ruby_version = ">= 2.6.0"
22
- else
23
- spec . required_ruby_version = ">= 2.7.0"
24
- end
20
+ spec . required_ruby_version = ">= 3.1.0"
25
21
26
22
if RUBY_VERSION >= '3.4.0'
27
23
spec . add_dependency 'base64' , '~> 0.2'
28
24
spec . add_dependency 'csv' , '~> 3'
25
+ spec . add_dependency 'logger' , '~> 1'
29
26
end
27
+
30
28
spec . add_dependency 'nokogiri' , '~> 1'
31
29
spec . add_dependency 'rubyzip' , '>= 1.3.0' , '< 3.0.0'
32
30
33
31
spec . add_development_dependency 'rake'
34
32
spec . add_development_dependency 'minitest' , '~> 5.4' , '>= 5.4.3'
35
33
spec . add_development_dependency 'rack' , '~> 1.6' , '< 2.0.0'
36
- if RUBY_VERSION >= '3.0.0'
37
- spec . add_development_dependency 'matrix'
38
- end
34
+ spec . add_development_dependency 'matrix'
39
35
40
36
spec . metadata [ "changelog_uri" ] = spec . homepage + '/blob/master/CHANGELOG.md'
41
37
end
You can’t perform that action at this time.
0 commit comments