Skip to content
This repository has been archived by the owner on Dec 16, 2020. It is now read-only.

Commit

Permalink
Add minimum ruby and rubgems versions fo gemspec.
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Gauld committed Mar 7, 2019
1 parent 7e8c36b commit b412059
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
AllCops:
TargetRubyVersion: 2.5
TargetRubyVersion: 2.4
Style/SignalException:
Enabled: false
Metrics/MethodLength:
Expand Down
3 changes: 3 additions & 0 deletions rail_feeds.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ Gem::Specification.new do |s|
s.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }
s.require_paths = ['lib']

s.required_ruby_version = '>= 2.4'
s.required_rubygems_version = '>= 2.6.14'

s.add_dependency 'nokogiri', '~> 1.8'
s.add_dependency 'stomp', '~> 1.4'

Expand Down

0 comments on commit b412059

Please sign in to comment.