metasploit_data_models 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CONTRIBUTING.md +11 -0
- data/app/models/mdm/wmap_request.rb +7 -6
- data/app/models/mdm/wmap_target.rb +7 -6
- data/lib/metasploit_data_models/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 25eceec43c9e5fb37c7b184bee21d950d1ead779
|
4
|
+
data.tar.gz: 4504f3ddd2f4379685a963e70911844364c548bf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 01e136d527c911b4feba3ee3a0050455eafed2953295407760f6410a5cd4a266c4b4f10a6099b6388c6a5d2161e36496ef7193f13179071d86abc31bc23eb582
|
7
|
+
data.tar.gz: a7e9e86609d95a1b95b2c14ada58a86e169ac7b06eb05dec426a949e7f0490af2b8335ddbb32537a1eb5236767403a69e5440e2610504e144d3b2d3776ab2e5d
|
data/CONTRIBUTING.md
CHANGED
@@ -40,9 +40,15 @@ Make your changes or however many commits you like, committing each with `git co
|
|
40
40
|
|
41
41
|
### Pre-Pull Request Testing
|
42
42
|
|
43
|
+
#### Specs
|
43
44
|
1. Run specs one last time before opening the Pull Request: `rake spec`
|
44
45
|
2. Verify there was no failures.
|
45
46
|
|
47
|
+
#### Documentation
|
48
|
+
1. Generate yard documentation to ensure all new code is documented: `rake yard`
|
49
|
+
2. Verify there were no `[warn]`ings.
|
50
|
+
3. Verify there were no undocumented objects.
|
51
|
+
|
46
52
|
### Push
|
47
53
|
|
48
54
|
Push your branch to your fork on github: `git push TYPE/ISSUE/SUMMARY`
|
@@ -60,6 +66,11 @@ Push your branch to your fork on github: `git push TYPE/ISSUE/SUMMARY`
|
|
60
66
|
## `rake spec`
|
61
67
|
- [ ] `rake spec`
|
62
68
|
- [ ] VERIFY no failures
|
69
|
+
|
70
|
+
## `rake yard`
|
71
|
+
- [ ] `rake yard`
|
72
|
+
- [ ] VERIFY no `[warn]`ings
|
73
|
+
- [ ] VERIFY no undocumented objects
|
63
74
|
```
|
64
75
|
|
65
76
|
You should also include at least one scenario to manually check the changes outside of specs.
|
@@ -84,17 +84,18 @@ class Mdm::WmapRequest < ActiveRecord::Base
|
|
84
84
|
# @!endgroup
|
85
85
|
#
|
86
86
|
|
87
|
-
Metasploit::Concern.run(self)
|
88
|
-
|
89
87
|
#
|
90
|
-
#
|
88
|
+
# Instance Methods
|
91
89
|
#
|
92
90
|
|
93
|
-
#
|
94
|
-
# The IP address for this request. Necessary to avoid coercion to an `IPAddr` object.
|
91
|
+
# @note Necessary to avoid coercion to an `IPAddr` object.
|
95
92
|
#
|
96
|
-
#
|
93
|
+
# The IP address for this request.
|
94
|
+
#
|
95
|
+
# @return [String]
|
97
96
|
def address
|
98
97
|
self[:address].to_s
|
99
98
|
end
|
99
|
+
|
100
|
+
Metasploit::Concern.run(self)
|
100
101
|
end
|
@@ -39,17 +39,18 @@ class Mdm::WmapTarget < ActiveRecord::Base
|
|
39
39
|
#
|
40
40
|
# @return [DateTime]
|
41
41
|
|
42
|
-
Metasploit::Concern.run(self)
|
43
|
-
|
44
42
|
#
|
45
|
-
#
|
43
|
+
# Instance Methods
|
46
44
|
#
|
47
45
|
|
48
|
-
#
|
49
|
-
# The IP address for this target. Necessary to avoid coercion to an `IPAddr` object.
|
46
|
+
# @note Necessary to avoid coercion to an `IPAddr` object.
|
50
47
|
#
|
51
|
-
#
|
48
|
+
# The IP address for this target.
|
49
|
+
#
|
50
|
+
# @return [String]
|
52
51
|
def address
|
53
52
|
self[:address].to_s
|
54
53
|
end
|
54
|
+
|
55
|
+
Metasploit::Concern.run(self)
|
55
56
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metasploit_data_models
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samuel Huckins
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2015-05-
|
14
|
+
date: 2015-05-12 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: metasploit-version
|