Skip to content

Commit 749a0fa

Browse files
authored
Remove Ruby version conditional logic for syslog from gemspec (#302)
Signed-off-by: nikhil2611 <[email protected]>
1 parent 1ef64b6 commit 749a0fa

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

chef-cli.gemspec

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,5 @@ Gem::Specification.new do |gem|
5151
gem.add_dependency "pastel", "~> 0.7" # used for policyfile differ
5252
gem.add_dependency "license-acceptance", ">= 1.0.11", "< 3"
5353
gem.add_dependency "chef-licensing", "~> 1.0"
54-
55-
# This gem was removed from the Ruby standard library starting with version 3.4
56-
# See: https://stdgems.org/new-in/3.4
57-
if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new("3.4")
58-
gem.add_dependency "syslog", "~> 0.3"
59-
end
54+
gem.add_dependency "syslog", "~> 0.3" # syslog was removed from Ruby's standard library in 3.4; see https://stdgems.org/new-in/3.4
6055
end

0 commit comments

Comments
 (0)