Skip to content

Commit 92cec61

Browse files
committed
we don't need ruby-backports anymore (or maybe we can use it more conditionally on Ruby 2.6), it uses a lot of memory
1 parent 945f26e commit 92cec61

File tree

4 files changed

+0
-9
lines changed

4 files changed

+0
-9
lines changed

Diff for: Gemfile.lock

-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ PATH
88
aws-sdk-ec2
99
aws-sdk-iam
1010
aws-sdk-s3
11-
backports
1211
bcrypt (= 3.1.12)
1312
bcrypt_pbkdf
1413
bit-struct
@@ -136,7 +135,6 @@ GEM
136135
aws-sigv4 (~> 1.1)
137136
aws-sigv4 (1.1.0)
138137
aws-eventstream (~> 1.0, >= 1.0.2)
139-
backports (3.15.0)
140138
bcrypt (3.1.12)
141139
bcrypt_pbkdf (1.0.1)
142140
bindata (2.4.4)

Diff for: lib/msf/core.rb

-3
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,6 @@
1010
#
1111
###
1212

13-
# Include backported features for older versions of Ruby
14-
require 'backports'
15-
1613
# The framework-core depends on Rex
1714
require 'rex'
1815
require 'rex/ui'

Diff for: metasploit-framework.gemspec

-2
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,6 @@ Gem::Specification.new do |spec|
5252
spec.add_runtime_dependency 'activesupport', *Metasploit::Framework::RailsVersionConstraint::RAILS_VERSION
5353
# Needed for config.action_view for view plugin compatibility for Pro
5454
spec.add_runtime_dependency 'actionpack', *Metasploit::Framework::RailsVersionConstraint::RAILS_VERSION
55-
# Backports Ruby features across language versions
56-
spec.add_runtime_dependency 'backports'
5755
# Needed for some admin modules (cfme_manageiq_evm_pass_reset.rb)
5856
spec.add_runtime_dependency 'bcrypt', '3.1.12'
5957
# Needed for Javascript obfuscation

Diff for: msfupdate

-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ while File.symlink?(msfbase)
1313
msfbase = File.expand_path(File.readlink(msfbase), File.dirname(msfbase))
1414
end
1515

16-
require 'backports'
17-
1816
class Msfupdate
1917
attr_reader :stdin
2018
attr_reader :stdout

0 commit comments

Comments
 (0)