Skip to content
This repository has been archived by the owner on Apr 14, 2021. It is now read-only.

Commit

Permalink
Add OpenSSL::OPENSSL_VERSION to bundle env
Browse files Browse the repository at this point in the history
  • Loading branch information
chrismo committed Aug 10, 2016
1 parent a65a2db commit 0d2b7cc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/bundler/env.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ def report(options = {})
out << " GEM_PATH #{ENV["GEM_PATH"]}\n" unless ENV["GEM_PATH"] == ENV["GEM_HOME"]
out << " RVM #{ENV["rvm_version"]}\n" if ENV["rvm_version"]
out << " Git #{git_version}\n"
out << " OpenSSL #{OpenSSL::OPENSSL_VERSION}\n" if defined?(OpenSSL::OPENSSL_VERSION)
%w(rubygems-bundler open_gem).each do |name|
specs = Bundler.rubygems.find_name(name)
out << " #{name} (#{specs.map(&:version).join(",")})\n" unless specs.empty?
Expand Down
1 change: 1 addition & 0 deletions spec/bundler/env_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
expect(out).to include(Gem::VERSION)
expect(out).to include(env.send(:ruby_version))
expect(out).to include(env.send(:git_version))
expect(out).to include(OpenSSL::OPENSSL_VERSION)
end

context "when there is a Gemfile and a lockfile and print_gemfile is true" do
Expand Down

0 comments on commit 0d2b7cc

Please sign in to comment.