metasploit-model 0.26.1 → 0.27.0.pre.dep.pre.railties
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -13
- data/lib/metasploit/model/engine.rb +20 -27
- data/lib/metasploit/model/version.rb +3 -2
- data/metasploit-model.gemspec +1 -0
- metadata +25 -11
checksums.yaml
CHANGED
@@ -1,15 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
5
|
-
data.tar.gz: !binary |-
|
6
|
-
NmJjYTg0NWIwZGIxNzUyZGMwYmUyOTVlMzdlMGNmNGU5MDNkNjJiMQ==
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 7926985bb0bcac362243970eb42db559a1e2d1a1
|
4
|
+
data.tar.gz: 2d0c3a6b77fabd8a40285933f00bc0c4a43b0aaa
|
7
5
|
SHA512:
|
8
|
-
metadata.gz:
|
9
|
-
|
10
|
-
YTVmOGY1YWI1ZTVkZDdkMDJkN2M1NzU0ZGUzMmVkNDBiMThlZGVhMTg3MmRh
|
11
|
-
ZmQwZDI0NGJlYWRhMTQ3YTg5MDFiNmVlNDNiYjZjMzAwZWI4MjM=
|
12
|
-
data.tar.gz: !binary |-
|
13
|
-
OWJmNTc3ZGM2MmJmZjUwNjJlZTUzZTI0NTY1ZjRjZWVhNWNkYWFiODQ4YjAz
|
14
|
-
OGJlZjM4ZDI5NjJkODI5MjdlOTEzZDVjYTI2YmRkMGJmMjNjMDUzOTM3NTVh
|
15
|
-
YTUyODRhMDViOWJiODg0Zjc5ZDI0NmQxYTg3M2VlNmEwNzdhNzA=
|
6
|
+
metadata.gz: 6846770b940b19e3d9ac67fa34d84341b132edee34ccd5aff39c9150bb229b5ed3c31b14522825e6566e1bf64a18a7a8cbd1be7c050059491df9b8f14eabab66
|
7
|
+
data.tar.gz: 143967683de5189b9090a81cef7bf19250b6b463f18422321b74f4acbd1a7a228f938ab5ee6a5a461ee052c878b5cf7d3bc1fe87aa5b38bba46386228eff07a8
|
@@ -1,32 +1,25 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
#
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
config.generators do |g|
|
16
|
-
g.assets false
|
17
|
-
g.fixture_replacement :factory_girl, :dir => 'spec/factories'
|
18
|
-
g.helper false
|
19
|
-
g.test_framework :rspec, :fixture => false
|
20
|
-
end
|
1
|
+
require 'rails'
|
2
|
+
module Metasploit
|
3
|
+
module Model
|
4
|
+
# Rails engine for Metasploit::Model. Will automatically be used if `Rails` is defined when
|
5
|
+
# 'metasploit/model' is required, as should be the case in any normal Rails application Gemfile where
|
6
|
+
# gem 'rails' is the first gem in the Gemfile.
|
7
|
+
class Engine < Rails::Engine
|
8
|
+
# @see http://viget.com/extend/rails-engine-testing-with-rspec-capybara-and-factorygirl
|
9
|
+
config.generators do |g|
|
10
|
+
g.assets false
|
11
|
+
g.fixture_replacement :factory_girl, :dir => 'spec/factories'
|
12
|
+
g.helper false
|
13
|
+
g.test_framework :rspec, :fixture => false
|
14
|
+
end
|
21
15
|
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
16
|
+
initializer 'metasploit-model.prepend_factory_path', :after => 'factory_girl.set_factory_paths' do
|
17
|
+
if defined? FactoryGirl
|
18
|
+
relative_definition_file_path = config.generators.options[:factory_girl][:dir]
|
19
|
+
definition_file_path = root.join(relative_definition_file_path)
|
26
20
|
|
27
|
-
|
28
|
-
|
29
|
-
end
|
21
|
+
# unshift so that dependent gems can modify metasploit-model's factories
|
22
|
+
FactoryGirl.definition_file_paths.unshift definition_file_path
|
30
23
|
end
|
31
24
|
end
|
32
25
|
end
|
@@ -5,9 +5,10 @@ module Metasploit
|
|
5
5
|
# The major version number.
|
6
6
|
MAJOR = 0
|
7
7
|
# The minor version number, scoped to the {MAJOR} version number.
|
8
|
-
MINOR =
|
8
|
+
MINOR = 27
|
9
9
|
# The patch number, scoped to the {MINOR} version number.
|
10
|
-
PATCH =
|
10
|
+
PATCH = 0
|
11
|
+
PRERELEASE = 'dep-railties'
|
11
12
|
|
12
13
|
# The full version string, including the {MAJOR}, {MINOR}, {PATCH}, and optionally, the {PRERELEASE} in the
|
13
14
|
# {http://semver.org/spec/v2.0.0.html semantic versioning v2.0.0} format.
|
data/metasploit-model.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metasploit-model
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.27.0.pre.dep.pre.railties
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Luke Imhoff
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-09-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -28,14 +28,14 @@ dependencies:
|
|
28
28
|
name: rake
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - '>='
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '0'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - '>='
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
@@ -56,28 +56,42 @@ dependencies:
|
|
56
56
|
name: activesupport
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- -
|
59
|
+
- - '>='
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: '0'
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- -
|
66
|
+
- - '>='
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: railties
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - <
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: 4.0.0
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - <
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: 4.0.0
|
69
83
|
- !ruby/object:Gem::Dependency
|
70
84
|
name: redcarpet
|
71
85
|
requirement: !ruby/object:Gem::Requirement
|
72
86
|
requirements:
|
73
|
-
- -
|
87
|
+
- - '>='
|
74
88
|
- !ruby/object:Gem::Version
|
75
89
|
version: '0'
|
76
90
|
type: :development
|
77
91
|
prerelease: false
|
78
92
|
version_requirements: !ruby/object:Gem::Requirement
|
79
93
|
requirements:
|
80
|
-
- -
|
94
|
+
- - '>='
|
81
95
|
- !ruby/object:Gem::Version
|
82
96
|
version: '0'
|
83
97
|
description: Common code, such as validators and mixins, that are shared between ActiveModels
|
@@ -491,14 +505,14 @@ require_paths:
|
|
491
505
|
- lib
|
492
506
|
required_ruby_version: !ruby/object:Gem::Requirement
|
493
507
|
requirements:
|
494
|
-
- -
|
508
|
+
- - '>='
|
495
509
|
- !ruby/object:Gem::Version
|
496
510
|
version: '0'
|
497
511
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
498
512
|
requirements:
|
499
|
-
- -
|
513
|
+
- - '>'
|
500
514
|
- !ruby/object:Gem::Version
|
501
|
-
version:
|
515
|
+
version: 1.3.1
|
502
516
|
requirements: []
|
503
517
|
rubyforge_project:
|
504
518
|
rubygems_version: 2.2.2
|