diff options
author | Miklos Fazekas <mfazekas@szemafor.com> | 2016-03-26 11:47:43 +0100 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2019-08-03 09:29:56 +0900 |
commit | a12557dbfdb63282b844f35ad0c8804bf182dfbf (patch) | |
tree | 8acc58358a1c6de8bf4433ab129f8c989db23143 /lib/bundler/templates | |
parent | b014a2157f3b43d7ac85b27ad2cc47705487251e (diff) | |
download | ruby-a12557dbfdb63282b844f35ad0c8804bf182dfbf.tar.gz |
[bundler/bundler] Add `required_ruby_version` to gemspec template
https://github.com/bundler/bundler/commit/f47421f92d
Diffstat (limited to 'lib/bundler/templates')
-rw-r--r-- | lib/bundler/templates/newgem/newgem.gemspec.tt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/bundler/templates/newgem/newgem.gemspec.tt b/lib/bundler/templates/newgem/newgem.gemspec.tt index 18060942c3..7feae6b18c 100644 --- a/lib/bundler/templates/newgem/newgem.gemspec.tt +++ b/lib/bundler/templates/newgem/newgem.gemspec.tt @@ -12,6 +12,7 @@ Gem::Specification.new do |spec| <%- if config[:mit] -%> spec.license = "MIT" <%- end -%> + spec.required_ruby_version = Gem::Requirement.new(">= 2.3.0") spec.metadata["allowed_push_host"] = "TODO: Set to 'http://mygemserver.com'" |