aboutsummaryrefslogtreecommitdiffstats
path: root/openssl.gemspec
diff options
context:
space:
mode:
authorMSP-Greg <MSP-Greg@users.noreply.github.com>2020-02-22 17:10:02 -0600
committerMSP-Greg <MSP-Greg@users.noreply.github.com>2020-02-24 09:37:14 -0600
commit55cfee6edbc5c663cbe73323852b93292cf94a3f (patch)
treea76e7439699aa0eb8bc3b3737a2882321440b06e /openssl.gemspec
parentbf145c630ea99f7806f24e0729a2d80a8d10dafc (diff)
downloadruby-openssl-55cfee6edbc5c663cbe73323852b93292cf94a3f.tar.gz
Use version.rb in gemspec
Use version.rb in gemspec so version string exists in one location
Diffstat (limited to 'openssl.gemspec')
-rw-r--r--openssl.gemspec4
1 files changed, 3 insertions, 1 deletions
diff --git a/openssl.gemspec b/openssl.gemspec
index 471a3c42..1aa42d69 100644
--- a/openssl.gemspec
+++ b/openssl.gemspec
@@ -1,6 +1,8 @@
+require_relative 'lib/openssl/version'
+
Gem::Specification.new do |spec|
spec.name = "openssl"
- spec.version = "2.2.0"
+ 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.}