2014-12-19 17:37:23 +00:00
|
|
|
# Records the Bundler-style dependency constraint for the version of Rails to be
|
|
|
|
# used with the Metasploit Framework and Metasploit Pro.
|
|
|
|
module Metasploit
|
|
|
|
module Framework
|
|
|
|
module RailsVersionConstraint
|
2014-12-19 19:54:13 +00:00
|
|
|
|
2014-12-19 17:37:23 +00:00
|
|
|
# The Metasploit ecosystem is not ready for Rails 4 as it uses features of
|
|
|
|
# Rails 3.X that are removed in Rails 4.
|
2014-12-19 19:54:13 +00:00
|
|
|
RAILS_VERSION = [ '>= 3.2.21', '< 4.0.0' ]
|
2014-12-19 17:37:23 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|