Skip to content

Commit dfb33c7

Browse files
committed
Add radius-spec gem
This adds and configures our radius-spec gem. One difference to the standard config is we need to tell Rubocop we are targeting an old version. This is necessary so it doesn't suggest syntax (i.e. safe navigator operator) which would break on those versions. Hopefully, we can drop the older versions very soon.
1 parent 540b90f commit dfb33c7

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

.rubocop.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
inherit_mode:
2+
merge:
3+
- AllowedNames
4+
- Exclude
5+
- IgnoredPatterns
6+
7+
inherit_gem:
8+
radius-spec: common_rubocop_rails.yml
9+
10+
AllCops:
11+
TargetRubyVersion: 2.2.3 # Until we can drop support

kracken.gemspec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,6 @@ Gem::Specification.new do |s|
2525
s.add_development_dependency 'rspec-rails', '~> 3.5'
2626
s.add_development_dependency 'pry'
2727
s.add_development_dependency 'pry-nav'
28+
s.add_development_dependency 'radius-spec', '~> 0.4'
2829
s.add_development_dependency 'webmock'
2930
end

0 commit comments

Comments
 (0)