We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 52c15f0 commit cbecd43Copy full SHA for cbecd43
1 file changed
ruby2_keywords.gemspec
@@ -1,4 +1,5 @@
1
version = IO.popen(%W[git -C #{__dir__} describe --tags --match v[0-9]*], &:read)[/\Av?(\d+(?:\.\d+)*)/, 1]
2
+abort "Version must not reach 1" if version[/\d+/].to_i >= 1
3
4
Gem::Specification.new do |s|
5
s.name = "ruby2_keywords"
0 commit comments