Skip to content

Commit

Permalink
Upgrade min Ruby patch version & Rubocop version
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick Campbell committed May 24, 2019
1 parent d560938 commit d0babe3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
inherit_gem:
gc_ruboconfig: rubocop.yml

AllCops:
TargetRubyVersion: 2.5

Metrics/MethodLength:
Max: 15

Expand Down
4 changes: 2 additions & 2 deletions companies-house-rest.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ Gem::Specification.new do |spec|
spec.bindir = "exe"
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]
spec.required_ruby_version = ">= 2.5.1"
spec.required_ruby_version = ">= 2.5.5"

spec.add_runtime_dependency "activesupport", ">= 4.2", "< 6"
spec.add_runtime_dependency "virtus", "~> 1.0", ">= 1.0.5"

spec.add_development_dependency "gc_ruboconfig", "~> 2.3"
spec.add_development_dependency "gc_ruboconfig", "~> 2.4"
spec.add_development_dependency "rake", "~> 12.0"
spec.add_development_dependency "rspec", "~> 3.5"
spec.add_development_dependency "rspec_junit_formatter", "~> 0.4.1"
Expand Down

0 comments on commit d0babe3

Please sign in to comment.