pwn.gemspec in pwn-0.4.417 vs pwn.gemspec in pwn-0.4.418
- old
+ new
@@ -5,10 +5,11 @@
require 'pwn/version'
Gem::Specification.new do |spec|
# Switch back when RVM has stable 3.1.2 (i.e. not just preview / p20)
# spec.required_ruby_version = ">= #{File.read('.ruby-version')}"
- spec.required_ruby_version = '>= 3.1.2.p20'
+ required_minor_ruby_version = File.read('.ruby-version').split('.')[0..1].join('.')
+ spec.required_ruby_version = ">= #{required_minor_ruby_version}"
spec.name = 'pwn'
spec.version = PWN::VERSION
spec.authors = ['0day Inc.']
spec.email = ['request.pentest@0dayinc.com']
spec.summary = 'Automated Security Testing for CI/CD Pipelines & Beyond'