File tree 6 files changed +37
-6
lines changed
6 files changed +37
-6
lines changed Original file line number Diff line number Diff line change 19
19
uses : ruby/setup-ruby@v1
20
20
with :
21
21
ruby-version : ${{ matrix.ruby-version }}
22
+ - name : Remove vscode gems
23
+ run : bundle config set --local without vscode
22
24
- name : Install dependencies
23
25
run : bundle install
24
26
- name : Run rubocop
25
- run : bundle exec rubocop
27
+ run : bundle exec rubocop
Original file line number Diff line number Diff line change 19
19
uses : ruby/setup-ruby@v1
20
20
with :
21
21
ruby-version : ${{ matrix.ruby-version }}
22
+ - name : Remove vscode gems
23
+ run : bundle config set --local without vscode
22
24
- name : Install dependencies
23
25
run : bundle install
26
+ - name : Enable file transport in git
27
+ run : git config --global protocol.file.allow always
24
28
- name : Run tests
25
29
run : bundle exec rake test
26
30
env :
Original file line number Diff line number Diff line change
1
+ inherit_from : .rubocop_todo.yml
2
+
1
3
inherit_gem :
2
4
rubocop-rock : defaults.yml
3
5
@@ -111,4 +113,4 @@ Style/GlobalStdStream:
111
113
Enabled : false
112
114
113
115
Style/OptionalBooleanParameter :
114
- Enabled : false
116
+ Enabled : false
Original file line number Diff line number Diff line change
1
+ # This configuration was generated by
2
+ # `rubocop --auto-gen-config`
3
+ # on 2024-07-10 18:16:42 UTC using RuboCop version 1.28.2.
4
+ # The point is for the user to remove these configuration records
5
+ # one by one as the offenses are removed from the code base.
6
+ # Note that changes in the inspected code, or installation of new
7
+ # versions of RuboCop, may require this file to be generated again.
8
+
9
+ # Offense count: 2
10
+ # Configuration parameters: Include.
11
+ # Include: **/*.gemspec
12
+ Gemspec/RubyVersionGlobalsUsage :
13
+ Exclude :
14
+ - ' autobuild.gemspec'
Original file line number Diff line number Diff line change @@ -2,12 +2,17 @@ source 'https://rubygems.org'
2
2
3
3
gemspec
4
4
5
+ group :lint do
6
+ gem 'parallel' , '1.24.0'
7
+ gem 'rubocop' , '1.28.2'
8
+ gem 'rubocop-ast' , '1.17.0'
9
+ gem 'rubocop-rock'
10
+ end
11
+
5
12
group :vscode do
6
13
gem 'debase' , '>= 0.2.2.beta10'
7
14
gem 'pry'
8
15
gem 'pry-byebug'
9
- gem 'rubocop' , '>= 0.6.0'
10
- gem 'rubocop-rock'
11
16
gem 'ruby-debug-ide' , '>= 0.6.0'
12
17
gem 'solargraph'
13
18
end
Original file line number Diff line number Diff line change @@ -24,7 +24,9 @@ Gem::Specification.new do |s|
24
24
. reject { |f | f . match ( %r{^(test|spec|features)/} ) }
25
25
26
26
s . add_runtime_dependency "concurrent-ruby" , "~> 1.1"
27
- s . add_runtime_dependency "net-smtp" if Gem ::Version . new ( RUBY_VERSION ) >= Gem ::Version . new ( "3.1.0" )
27
+ if Gem ::Version . new ( RUBY_VERSION ) >= Gem ::Version . new ( "3.1.0" )
28
+ s . add_runtime_dependency "net-smtp"
29
+ end
28
30
s . add_runtime_dependency "pastel" , "~> 0.7.0"
29
31
s . add_runtime_dependency "rake" , "~> 13.0"
30
32
s . add_runtime_dependency 'tty-cursor' , '~> 0.7.0'
@@ -36,5 +38,7 @@ Gem::Specification.new do |s|
36
38
s . add_development_dependency "minitest" , "~> 5.0" , ">= 5.0"
37
39
s . add_development_dependency "simplecov"
38
40
s . add_development_dependency "timecop"
39
- s . add_development_dependency "webrick" if Gem ::Version . new ( RUBY_VERSION ) >= Gem ::Version . new ( "3.0.0" )
41
+ if Gem ::Version . new ( RUBY_VERSION ) >= Gem ::Version . new ( "3.0.0" )
42
+ s . add_development_dependency "webrick"
43
+ end
40
44
end
You can’t perform that action at this time.
0 commit comments