Skip to content

Commit 2c43241

Browse files
committed
Revert "Use version.rb in gemspec"
This reverts commit 55cfee6. Unfortunately, this doesn't work well in some places because RubyGems depends on openssl in some code paths. This ends up with defining OpenSSL::VERSION twice and producing warning: /work/ruby/ext/openssl/lib/openssl/version.rb:4: warning: already initialized constant OpenSSL::VERSION /work/ruby/.x86_64-linux/.ext/common/openssl/version.rb:5: warning: previous definition of VERSION was here
1 parent fc37d47 commit 2c43241

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

openssl.gemspec

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
1-
require_relative 'lib/openssl/version'
2-
31
Gem::Specification.new do |spec|
42
spec.name = "openssl"
5-
spec.version = OpenSSL::VERSION
3+
spec.version = "2.2.0"
64
spec.authors = ["Martin Bosslet", "SHIBATA Hiroshi", "Zachary Scott", "Kazuki Yamaguchi"]
75
spec.email = ["ruby-core@ruby-lang.org"]
86
spec.summary = %q{OpenSSL provides SSL, TLS and general purpose cryptography.}

0 commit comments

Comments
 (0)