Skip to content

Commit

Permalink
we don't need ruby-backports anymore (or maybe we can use it more con…
Browse files Browse the repository at this point in the history
…ditionally on Ruby 2.6), it uses a lot of memory
  • Loading branch information
busterb committed Dec 2, 2019
1 parent 945f26e commit 92cec61
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 9 deletions.
2 changes: 0 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ PATH
aws-sdk-ec2
aws-sdk-iam
aws-sdk-s3
backports
bcrypt (= 3.1.12)
bcrypt_pbkdf
bit-struct
Expand Down Expand Up @@ -136,7 +135,6 @@ GEM
aws-sigv4 (~> 1.1)
aws-sigv4 (1.1.0)
aws-eventstream (~> 1.0, >= 1.0.2)
backports (3.15.0)
bcrypt (3.1.12)
bcrypt_pbkdf (1.0.1)
bindata (2.4.4)
Expand Down
3 changes: 0 additions & 3 deletions lib/msf/core.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@
#
###

# Include backported features for older versions of Ruby
require 'backports'

# The framework-core depends on Rex
require 'rex'
require 'rex/ui'
Expand Down
2 changes: 0 additions & 2 deletions metasploit-framework.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,6 @@ Gem::Specification.new do |spec|
spec.add_runtime_dependency 'activesupport', *Metasploit::Framework::RailsVersionConstraint::RAILS_VERSION
# Needed for config.action_view for view plugin compatibility for Pro
spec.add_runtime_dependency 'actionpack', *Metasploit::Framework::RailsVersionConstraint::RAILS_VERSION
# Backports Ruby features across language versions
spec.add_runtime_dependency 'backports'
# Needed for some admin modules (cfme_manageiq_evm_pass_reset.rb)
spec.add_runtime_dependency 'bcrypt', '3.1.12'
# Needed for Javascript obfuscation
Expand Down
2 changes: 0 additions & 2 deletions msfupdate
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ while File.symlink?(msfbase)
msfbase = File.expand_path(File.readlink(msfbase), File.dirname(msfbase))
end

require 'backports'

class Msfupdate
attr_reader :stdin
attr_reader :stdout
Expand Down

0 comments on commit 92cec61

Please sign in to comment.