1
mirror of https://github.com/rapid7/metasploit-framework synced 2024-09-04 20:18:27 +02:00

locking the r7 managed gems to specific versions

this will force pro to use the same version of the gems
This commit is contained in:
darkbushido 2015-06-30 11:25:46 -05:00 committed by Brent Cook
parent 49d3b275b2
commit 7bdfcf2bce
3 changed files with 10 additions and 10 deletions

View File

@ -7,24 +7,24 @@ PATH
bcrypt
jsobfu (~> 0.2.0)
json
metasploit-concern (~> 1.0)
metasploit-model (~> 1.0)
metasploit-concern (= 1.0.0)
metasploit-model (= 1.0.0)
metasploit-payloads (= 1.0.4)
msgpack
nokogiri
packetfu (= 1.1.9)
railties
rb-readline-r7
recog (~> 2.0)
recog (= 2.0.6)
robots
rubyzip (~> 1.1)
sqlite3
tzinfo
metasploit-framework-db (4.11.0.pre.dev)
activerecord (>= 4.0.9, < 4.1.0)
metasploit-credential (~> 1.0)
metasploit-credential (= 1.0.0)
metasploit-framework (= 4.11.0.pre.dev)
metasploit_data_models (~> 1.2)
metasploit_data_models (= 1.2.5)
pg (>= 0.11)
metasploit-framework-pcap (4.11.0.pre.dev)
metasploit-framework (= 4.11.0.pre.dev)

View File

@ -29,9 +29,9 @@ Gem::Specification.new do |spec|
spec.add_runtime_dependency 'activerecord', *Metasploit::Framework::RailsVersionConstraint::RAILS_VERSION
# Metasploit::Credential database models
spec.add_runtime_dependency 'metasploit-credential', '~> 1.0'
spec.add_runtime_dependency 'metasploit-credential', '1.0.0'
# Database models shared between framework and Pro.
spec.add_runtime_dependency 'metasploit_data_models', '~> 1.2'
spec.add_runtime_dependency 'metasploit_data_models', '1.2.5'
# depend on metasploit-framewrok as the optional gems are useless with the actual code
spec.add_runtime_dependency 'metasploit-framework', "= #{spec.version}"
# Needed for module caching in Mdm::ModuleDetails

View File

@ -57,10 +57,10 @@ Gem::Specification.new do |spec|
# Needed for some admin modules (scrutinizer_add_user.rb)
spec.add_runtime_dependency 'json'
# Metasploit::Concern hooks
spec.add_runtime_dependency 'metasploit-concern', '~> 1.0'
spec.add_runtime_dependency 'metasploit-concern', '1.0.0'
# Things that would normally be part of the database model, but which
# are needed when there's no database
spec.add_runtime_dependency 'metasploit-model', '~> 1.0'
spec.add_runtime_dependency 'metasploit-model', '1.0.0'
# Needed for Meterpreter
spec.add_runtime_dependency 'metasploit-payloads', '1.0.4'
# Needed by msfgui and other rpc components
@ -72,7 +72,7 @@ Gem::Specification.new do |spec|
# Run initializers for metasploit-concern, metasploit-credential, metasploit_data_models Rails::Engines
spec.add_runtime_dependency 'railties'
# required for OS fingerprinting
spec.add_runtime_dependency 'recog', '~> 2.0'
spec.add_runtime_dependency 'recog', '2.0.6'
# rb-readline doesn't work with Ruby Installer due to error with Fiddle:
# NoMethodError undefined method `dlopen' for Fiddle:Module