@@ -3,16 +3,25 @@ source 'https://rubygems.org'
3
3
# spec.add_runtime_dependency '<name>', [<version requirements>]
4
4
gemspec name : 'metasploit-framework'
5
5
6
+ # TODO: Rails 4
7
+ # move these back into the root gemspec
8
+ gem 'metasploit-concern' , :github => 'rapid7/metasploit-concern' , :branch => 'staging/rails-4.0'
9
+ gem 'metasploit-model' , :github => 'rapid7/metasploit-model' , :branch => 'staging/rails-4.0'
10
+
6
11
# separate from test as simplecov is not run on travis-ci
7
12
group :coverage do
8
13
# code coverage for tests
9
14
# any version newer than 0.5.4 gives an Encoding error when trying to read the source files.
10
15
# see: https://github.com/colszowka/simplecov/issues/127 (hopefully fixed in 0.8.0)
11
- gem 'simplecov' , '0.5.4' , :require => false
16
+ gem 'simplecov'
12
17
end
13
18
14
19
group :db do
15
20
gemspec name : 'metasploit-framework-db'
21
+ # TODO: Rails 4
22
+ # move these back into the metasploit-framework-db gemspec
23
+ gem 'metasploit-credential' , :github => 'rapid7/metasploit-credential' , :branch => 'staging/rails-4.0'
24
+ gem 'metasploit_data_models' , :github => 'rapid7/metasploit_data_models' , :branch => 'staging/rails-4.0'
16
25
end
17
26
18
27
group :development do
@@ -25,12 +34,8 @@ group :development do
25
34
end
26
35
27
36
group :development , :test do
28
- # supplies factories for producing model instance for specs
29
- # Version 4.1.0 or newer is needed to support generate calls without the
30
- # 'FactoryGirl.' in factory definitions syntax.
31
- gem 'factory_girl' , '>= 4.1.0'
32
37
# automatically include factories from spec/factories
33
- gem 'factory_girl_rails'
38
+ gem 'factory_girl_rails' , '~> 4.5.0'
34
39
# Make rspec output shorter and more useful
35
40
gem 'fivemat' , '1.2.1'
36
41
# running documentation generation tasks and rspec tasks
0 commit comments