Skip to content

Commit

Permalink
CI: resolve dependency issues on Ruby 2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
orien committed Feb 17, 2024
1 parent 4581499 commit 275374f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
8 changes: 4 additions & 4 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# frozen_string_literal: true

source "https://rubygems.org"

# Specify your gem's dependencies in pagerduty.gemspec
gemspec

group :test do
gem "rspec-given", "< 3.8.1" if Gem::Version.new(RUBY_VERSION) < Gem::Version.new("2.6")
group :development, :test do
gem "rake"
gem "rspec-given", (Gem::Version.new(RUBY_VERSION) < Gem::Version.new("2.6") ? "< 3.8.1" : "~> 3")
gem "rubocop", (Gem::Version.new(RUBY_VERSION) < Gem::Version.new("2.4") ? "~> 0" : "~> 1")
end
5 changes: 0 additions & 5 deletions pagerduty.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,4 @@ Gem::Specification.new do |gem|
f.match(%r{^(?:README|LICENSE|CHANGELOG|lib/)})
end
gem.required_ruby_version = ">= 2.3"

gem.add_development_dependency "bundler"
gem.add_development_dependency "rake"
gem.add_development_dependency "rspec-given"
gem.add_development_dependency "rubocop", "~> 1"
end

0 comments on commit 275374f

Please sign in to comment.