@@ -23,7 +23,7 @@ Gem::Specification.new do |spec|
2323 spec . homepage = 'https://www.metasploit.com'
2424 spec . license = 'BSD-3-clause'
2525
26- spec . files = `git ls-files` . split ( $/ ) . reject { |file |
26+ spec . files = Dir [ "**/*" ] . reject { | f | File . directory? ( f ) } . reject { |file |
2727 file =~ /^config/
2828 }
2929 spec . bindir = '.'
@@ -54,22 +54,22 @@ Gem::Specification.new do |spec|
5454 # Needed for config.action_view for view plugin compatibility for Pro
5555 spec . add_runtime_dependency 'actionpack' , rails_version_constraint
5656 # Needed for some admin modules (cfme_manageiq_evm_pass_reset.rb)
57- spec . add_runtime_dependency 'bcrypt'
57+ spec . add_runtime_dependency 'bcrypt' , '3.1.7'
5858 # Needed for Javascript obfuscation
5959 spec . add_runtime_dependency 'jsobfu' , '~> 0.2.0'
6060 # Needed for some admin modules (scrutinizer_add_user.rb)
61- spec . add_runtime_dependency 'json'
61+ spec . add_runtime_dependency 'json' , '1.8.1'
6262 # Metasploit::Concern hooks
63- spec . add_runtime_dependency 'metasploit-concern' , '~> 0.3.0'
63+ spec . add_runtime_dependency 'metasploit-concern' , '0.3.0'
6464 # Things that would normally be part of the database model, but which
6565 # are needed when there's no database
6666 spec . add_runtime_dependency 'metasploit-model' , '~> 0.28.0'
6767 # Needed for Meterpreter on Windows, soon others.
6868 spec . add_runtime_dependency 'meterpreter_bins' , '0.0.12'
6969 # Needed by msfgui and other rpc components
70- spec . add_runtime_dependency 'msgpack'
70+ spec . add_runtime_dependency 'msgpack' , '0.5.5'
7171 # Needed by anemone crawler
72- spec . add_runtime_dependency 'nokogiri'
72+ spec . add_runtime_dependency 'nokogiri' , '1.6.0'
7373 # Needed by db.rb and Msf::Exploit::Capture
7474 spec . add_runtime_dependency 'packetfu' , '1.1.9'
7575 # Run initializers for metasploit-concern, metasploit-credential, metasploit_data_models Rails::Engines
@@ -89,7 +89,7 @@ Gem::Specification.new do |spec|
8989 # Needed by some modules
9090 spec . add_runtime_dependency 'rubyzip' , '~> 1.1'
9191 # Needed for some post modules
92- spec . add_runtime_dependency 'sqlite3'
92+ spec . add_runtime_dependency 'sqlite3' , '1.3.9'
9393 # required for Time::TZInfo in ActiveSupport
9494 spec . add_runtime_dependency 'tzinfo'
9595end
0 commit comments