Gemfile in metasploit-model-0.30.2-java vs Gemfile in metasploit-model-1.0.0.pre.rails.pre.4.0
- old
+ new
@@ -14,20 +14,25 @@
group :test do
# rails is not used because activerecord should not be included, but rails would normally coordinate the versions
# between its dependencies, which is now handled by this constraint.
rails_version_constraint = [
- '>= 3.2.0',
- '< 4.0.0'
+ '>= 4.0.9',
+ '< 4.1.0'
]
# Dummy app uses actionpack for ActionController, but not rails since it doesn't use activerecord.
gem 'actionpack', *rails_version_constraint
# Uploads simplecov reports to coveralls.io
gem 'coveralls', require: false
# Engine tasks are loaded using railtie
gem 'railties', *rails_version_constraint
- gem 'rspec-rails', '~> 3.1'
+ gem 'rspec'
+ # need rspec-core >= 2.14.0 because 2.14.0 introduced RSpec::Core::SharedExampleGroup::TopLevel
+ gem 'rspec-core', '>= 2.14.0', '< 3.0.0'
+ # need rspec-rails >= 2.12.0 as 2.12.0 adds support for redefining named subject in nested context that uses the
+ # named subject from the outer context without causing a stack overflow.
+ gem 'rspec-rails', '>= 2.12.0'
# In a full rails project, factory_girl_rails would be in both the :development, and :test group, but since we only
# want rails in :test, factory_girl_rails must also only be in :test.
# add matchers from shoulda, such as validates_presence_of, which are useful for testing validations
gem 'shoulda-matchers'
# code coverage of tests