metasploit_data_models 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 56925093d1b65f879700c5e36663b600fcc41535
4
- data.tar.gz: aec5a56a97bd5afeb1b5e51502b2b11e0f5ae1f3
3
+ metadata.gz: 25eceec43c9e5fb37c7b184bee21d950d1ead779
4
+ data.tar.gz: 4504f3ddd2f4379685a963e70911844364c548bf
5
5
  SHA512:
6
- metadata.gz: ba9146272ae101f2f4e15546334d7a50ca0e1a74cb2150376582be992b3b0ec2bf13d01642fdbac98ab88ea9d01eabd18df1769b06bdb841da1623d879452e56
7
- data.tar.gz: 2bb46180f0879fb0f222ba384a84be59c48574b62e2aca3b9182e95e1703890b0f15c4a8f324a4a7f2f4bdd38114c7bb004594f026184b244a73c62f005dedaf
6
+ metadata.gz: 01e136d527c911b4feba3ee3a0050455eafed2953295407760f6410a5cd4a266c4b4f10a6099b6388c6a5d2161e36496ef7193f13179071d86abc31bc23eb582
7
+ data.tar.gz: a7e9e86609d95a1b95b2c14ada58a86e169ac7b06eb05dec426a949e7f0490af2b8335ddbb32537a1eb5236767403a69e5440e2610504e144d3b2d3776ab2e5d
@@ -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
- # Attributes
88
+ # Instance Methods
91
89
  #
92
90
 
93
- # @!attribute [rw] address
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
- # @return [String]
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
- # Attributes
43
+ # Instance Methods
46
44
  #
47
45
 
48
- # @!attribute [rw] address
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
- # @return [String]
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
@@ -10,7 +10,7 @@ module MetasploitDataModels
10
10
  # The minor version number, scoped to the {MAJOR} version number.
11
11
  MINOR = 0
12
12
  # The patch version number, scoped to the {MAJOR} and {MINOR} version numbers.
13
- PATCH = 0
13
+ PATCH = 1
14
14
 
15
15
  #
16
16
  # Module Methods
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.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-11 00:00:00.000000000 Z
14
+ date: 2015-05-12 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: metasploit-version