Skip to content

Commit

Permalink
(PUP-4601) Add ruby version requirement to .gemspec.
Browse files Browse the repository at this point in the history
This will prevent gem upgrade on environments with ruby 1.8.7
  • Loading branch information
VladRassokhin authored and Peter Huene committed May 12, 2015
1 parent e034275 commit 98213cc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .gemspec
Expand Up @@ -25,6 +25,7 @@ Gem::Specification.new do |s|
s.version = mdata ? mdata[1] : version

s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version=
s.required_ruby_version = Gem::Requirement.new(">= 1.9.3") if s.respond_to? :required_ruby_version=
s.authors = ["Puppet Labs"]
s.date = "2012-08-17"
s.description = "Puppet, an automated configuration management tool"
Expand Down

0 comments on commit 98213cc

Please sign in to comment.