Skip to content

Commit e8cc712

Browse files
authored
Merge pull request #105 from RadiusNetworks/adds-rubocop-rspec
Addresses a dependabot versioning expansion (1.8.2) and adds rubocop-…
2 parents 9db5731 + b2c7966 commit e8cc712

File tree

4 files changed

+16
-2
lines changed

4 files changed

+16
-2
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
Gemfile.lock
3333
.ruby-version
3434
.ruby-gemset
35+
.tool-versions
3536

3637
# unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
3738
.rvmrc

common_rubocop_rails.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
require: rubocop-rails
1+
plugins:
2+
- rubocop-rails
3+
- rubocop-rspec
4+
- rubocop-rspec_rails
25

36
inherit_mode:
47
merge:
@@ -23,6 +26,15 @@ AllCops:
2326
Style/Documentation:
2427
Enabled: false
2528

29+
RSpecRails:
30+
Enabled: false
31+
32+
RSpec:
33+
Enabled: false
34+
35+
RSpec/Focus:
36+
Enabled: true
37+
2638
# Rails foreign keys and indexes can get long. We want to ignore our annotation
2739
# comments which are for these entries.
2840
#

lib/radius/spec/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22

33
module Radius
44
module Spec
5-
VERSION = "0.14.0"
5+
VERSION = "0.15.0"
66
end
77
end

radius-spec.gemspec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,5 @@ Gem::Specification.new do |spec|
3434
spec.add_dependency "rspec", "~> 3.7"
3535
spec.add_dependency "rubocop", ">= 1.25", "< 1.82"
3636
spec.add_dependency "rubocop-rails", ">= 2.13", "< 2.34"
37+
spec.add_dependency "rubocop-rspec_rails", "~> 2.31"
3738
end

0 commit comments

Comments
 (0)