diff options
author | Samuel Williams <samuel.williams@oriontransfer.co.nz> | 2019-10-31 16:29:05 +1300 |
---|---|---|
committer | Samuel Williams <samuel.williams@oriontransfer.co.nz> | 2019-12-29 11:20:33 +1300 |
commit | 0cddb0b736c8be8de71e231a82c08efc13f580ed (patch) | |
tree | aa8c395f3e33b7ef04233f585de6e9945b95c15b /openssl.gemspec | |
parent | 3e48c7ac3dcb8318815577f22cf4e40820e85f43 (diff) | |
download | ruby-openssl-0cddb0b736c8be8de71e231a82c08efc13f580ed.tar.gz |
Simplify handling of version constant.
Diffstat (limited to 'openssl.gemspec')
-rw-r--r-- | openssl.gemspec | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/openssl.gemspec b/openssl.gemspec index f721f247..5a688ff7 100644 --- a/openssl.gemspec +++ b/openssl.gemspec @@ -1,6 +1,9 @@ + +require_relative 'lib/openssl/version' + Gem::Specification.new do |spec| spec.name = "openssl" - spec.version = "2.1.2" + spec.version = OpenSSL::VERSION spec.authors = ["Martin Bosslet", "SHIBATA Hiroshi", "Zachary Scott", "Kazuki Yamaguchi"] spec.email = ["ruby-core@ruby-lang.org"] spec.summary = %q{OpenSSL provides SSL, TLS and general purpose cryptography.} |