metasploit-model 0.27.3-java → 0.27.4-java

Sign up to get free protection for your applications and to get access to all the features.
Files changed (127) hide show
  1. checksums.yaml +4 -4
  2. data/.rspec +1 -1
  3. data/app/models/metasploit/model/association/reflection.rb +0 -3
  4. data/app/models/metasploit/model/module/ancestor/spec/template.rb +0 -3
  5. data/app/models/metasploit/model/module/class/spec/template.rb +0 -4
  6. data/app/models/metasploit/model/module/instance/spec/template.rb +0 -4
  7. data/app/models/metasploit/model/search/group/base.rb +0 -3
  8. data/app/models/metasploit/model/search/group/intersection.rb +0 -3
  9. data/app/models/metasploit/model/search/group/union.rb +0 -3
  10. data/app/models/metasploit/model/search/operation/association.rb +0 -2
  11. data/app/models/metasploit/model/search/operation/base.rb +0 -3
  12. data/app/models/metasploit/model/search/operation/boolean.rb +0 -2
  13. data/app/models/metasploit/model/search/operation/date.rb +0 -2
  14. data/app/models/metasploit/model/search/operation/group/base.rb +0 -2
  15. data/app/models/metasploit/model/search/operation/group/intersection.rb +0 -2
  16. data/app/models/metasploit/model/search/operation/group/union.rb +0 -2
  17. data/app/models/metasploit/model/search/operation/integer.rb +1 -5
  18. data/app/models/metasploit/model/search/operation/null.rb +0 -2
  19. data/app/models/metasploit/model/search/operation/set.rb +5 -2
  20. data/app/models/metasploit/model/search/operation/set/integer.rb +1 -3
  21. data/app/models/metasploit/model/search/operation/set/string.rb +1 -3
  22. data/app/models/metasploit/model/search/operation/string.rb +1 -5
  23. data/app/models/metasploit/model/search/operator/association.rb +0 -2
  24. data/app/models/metasploit/model/search/operator/attribute.rb +0 -2
  25. data/app/models/metasploit/model/search/operator/base.rb +0 -4
  26. data/app/models/metasploit/model/search/operator/delegation.rb +0 -2
  27. data/app/models/metasploit/model/search/operator/deprecated/app.rb +0 -2
  28. data/app/models/metasploit/model/search/operator/deprecated/author.rb +0 -2
  29. data/app/models/metasploit/model/search/operator/deprecated/authority.rb +0 -2
  30. data/app/models/metasploit/model/search/operator/deprecated/platform.rb +0 -2
  31. data/app/models/metasploit/model/search/operator/deprecated/ref.rb +0 -2
  32. data/app/models/metasploit/model/search/operator/deprecated/text.rb +0 -2
  33. data/app/models/metasploit/model/search/operator/group/base.rb +0 -2
  34. data/app/models/metasploit/model/search/operator/group/intersection.rb +0 -2
  35. data/app/models/metasploit/model/search/operator/group/union.rb +0 -2
  36. data/app/models/metasploit/model/search/operator/null.rb +0 -2
  37. data/app/models/metasploit/model/search/operator/single.rb +0 -2
  38. data/app/models/metasploit/model/search/query.rb +0 -3
  39. data/app/models/metasploit/model/spec/template.rb +0 -3
  40. data/app/models/metasploit/model/visitation/visitor.rb +0 -3
  41. data/lib/metasploit/model.rb +14 -8
  42. data/lib/metasploit/model/architecture.rb +320 -326
  43. data/lib/metasploit/model/association.rb +43 -46
  44. data/lib/metasploit/model/association/error.rb +29 -33
  45. data/lib/metasploit/model/association/tree.rb +119 -125
  46. data/lib/metasploit/model/author.rb +45 -51
  47. data/lib/metasploit/model/authority.rb +139 -146
  48. data/lib/metasploit/model/authority/bid.rb +0 -2
  49. data/lib/metasploit/model/authority/cve.rb +0 -2
  50. data/lib/metasploit/model/authority/msb.rb +0 -2
  51. data/lib/metasploit/model/authority/osvdb.rb +0 -2
  52. data/lib/metasploit/model/authority/pmasa.rb +0 -2
  53. data/lib/metasploit/model/authority/secunia.rb +0 -2
  54. data/lib/metasploit/model/authority/us_cert_vu.rb +0 -2
  55. data/lib/metasploit/model/authority/waraxe.rb +0 -2
  56. data/lib/metasploit/model/authority/zdi.rb +0 -2
  57. data/lib/metasploit/model/base.rb +0 -2
  58. data/lib/metasploit/model/derivation.rb +95 -99
  59. data/lib/metasploit/model/derivation/full_name.rb +16 -22
  60. data/lib/metasploit/model/email_address.rb +122 -128
  61. data/lib/metasploit/model/engine.rb +26 -21
  62. data/lib/metasploit/model/error.rb +3 -7
  63. data/lib/metasploit/model/file.rb +0 -2
  64. data/lib/metasploit/model/invalid.rb +11 -17
  65. data/lib/metasploit/model/login.rb +0 -3
  66. data/lib/metasploit/model/login/status.rb +0 -2
  67. data/lib/metasploit/model/module.rb +19 -23
  68. data/lib/metasploit/model/module/action.rb +50 -58
  69. data/lib/metasploit/model/module/ancestor.rb +456 -465
  70. data/lib/metasploit/model/module/ancestor/spec.rb +3 -2
  71. data/lib/metasploit/model/module/architecture.rb +27 -35
  72. data/lib/metasploit/model/module/author.rb +38 -47
  73. data/lib/metasploit/model/module/class.rb +358 -366
  74. data/lib/metasploit/model/module/class/spec.rb +3 -2
  75. data/lib/metasploit/model/module/handler.rb +28 -34
  76. data/lib/metasploit/model/module/instance.rb +586 -596
  77. data/lib/metasploit/model/module/instance/spec.rb +3 -2
  78. data/lib/metasploit/model/module/path.rb +157 -166
  79. data/lib/metasploit/model/module/platform.rb +25 -33
  80. data/lib/metasploit/model/module/rank.rb +71 -79
  81. data/lib/metasploit/model/module/reference.rb +25 -33
  82. data/lib/metasploit/model/module/stance.rb +15 -21
  83. data/lib/metasploit/model/module/target.rb +76 -84
  84. data/lib/metasploit/model/module/target/architecture.rb +27 -37
  85. data/lib/metasploit/model/module/target/platform.rb +27 -37
  86. data/lib/metasploit/model/module/type.rb +35 -41
  87. data/lib/metasploit/model/nilify_blanks.rb +39 -43
  88. data/lib/metasploit/model/platform.rb +231 -237
  89. data/lib/metasploit/model/real_pathname.rb +12 -16
  90. data/lib/metasploit/model/realm.rb +0 -2
  91. data/lib/metasploit/model/realm/key.rb +0 -2
  92. data/lib/metasploit/model/reference.rb +102 -108
  93. data/lib/metasploit/model/search.rb +94 -97
  94. data/lib/metasploit/model/search/association.rb +163 -169
  95. data/lib/metasploit/model/search/attribute.rb +131 -139
  96. data/lib/metasploit/model/search/group.rb +5 -2
  97. data/lib/metasploit/model/search/operation.rb +32 -29
  98. data/lib/metasploit/model/search/operation/group.rb +5 -2
  99. data/lib/metasploit/model/search/operation/value.rb +7 -0
  100. data/lib/metasploit/model/search/operation/{integer/value.rb → value/integer.rb} +1 -1
  101. data/lib/metasploit/model/search/operation/{string/value.rb → value/string.rb} +1 -1
  102. data/lib/metasploit/model/search/operator.rb +65 -65
  103. data/lib/metasploit/model/search/operator/deprecated.rb +8 -2
  104. data/lib/metasploit/model/search/operator/group.rb +5 -2
  105. data/lib/metasploit/model/search/operator/help.rb +71 -79
  106. data/lib/metasploit/model/search/with.rb +72 -78
  107. data/lib/metasploit/model/spec.rb +133 -136
  108. data/lib/metasploit/model/spec/error.rb +3 -9
  109. data/lib/metasploit/model/spec/i18n_exception_handler.rb +0 -2
  110. data/lib/metasploit/model/spec/pathname_collision.rb +19 -27
  111. data/lib/metasploit/model/spec/template/write.rb +0 -2
  112. data/lib/metasploit/model/spec/temporary_pathname.rb +47 -56
  113. data/lib/metasploit/model/translation.rb +0 -2
  114. data/lib/metasploit/model/version.rb +1 -1
  115. data/lib/metasploit/model/visitation.rb +7 -10
  116. data/lib/metasploit/model/visitation/visit.rb +79 -85
  117. data/metasploit-model.gemspec +1 -1
  118. data/spec/app/models/metasploit/model/search/operation/integer_spec.rb +1 -1
  119. data/spec/app/models/metasploit/model/search/operation/set/integer_spec.rb +1 -1
  120. data/spec/app/models/metasploit/model/search/operation/set/string_spec.rb +1 -1
  121. data/spec/app/models/metasploit/model/search/operation/string_spec.rb +1 -1
  122. data/spec/dummy/config/application.rb +1 -0
  123. data/spec/lib/metasploit/model/search/operation/{integer/value_spec.rb → value/integer_spec.rb} +2 -2
  124. data/spec/lib/metasploit/model/search/operation/{string/value_spec.rb → value/string_spec.rb} +2 -2
  125. data/spec/support/shared/examples/metasploit/model/search/operation/{integer/value.rb → value/integer.rb} +2 -2
  126. data/spec/support/shared/examples/metasploit/model/search/operation/{string/value.rb → value/string.rb} +2 -2
  127. metadata +16 -13
@@ -1,5 +1,3 @@
1
- require 'metasploit/model'
2
-
3
1
  # ActiveRecord::Translation is a dirty bastard and overrides `ActiveModel::Translation#lookup_ancestors`, so that it
4
2
  # will only count superclasses, and not all ancestors. Metasploit::Model needs the original behavior so that its
5
3
  # {Metasploit::Model::Module} modules can supply translations to both `ActiveRecord::Base` descendants in `Mdm` and
@@ -7,7 +7,7 @@ module Metasploit
7
7
  # The minor version number, scoped to the {MAJOR} version number.
8
8
  MINOR = 27
9
9
  # The patch number, scoped to the {MINOR} version number.
10
- PATCH = 3
10
+ PATCH = 4
11
11
 
12
12
  # The full version string, including the {MAJOR}, {MINOR}, {PATCH}, and optionally, the {PRERELEASE} in the
13
13
  # {http://semver.org/spec/v2.0.0.html semantic versioning v2.0.0} format.
@@ -1,11 +1,8 @@
1
- module Metasploit
2
- module Model
3
- # Namespace for `metasploit-model`'s implementation of the {http://en.wikipedia.org/wiki/Visitor_pattern visitor
4
- # pattern}.
5
- module Visitation
6
- extend ActiveSupport::Autoload
1
+ # Namespace for `metasploit-model`'s implementation of the {http://en.wikipedia.org/wiki/Visitor_pattern visitor
2
+ # pattern}.
3
+ module Metasploit::Model::Visitation
4
+ extend ActiveSupport::Autoload
7
5
 
8
- autoload :Visit
9
- end
10
- end
11
- end
6
+ autoload :Visit
7
+ autoload :Visitor
8
+ end
@@ -1,103 +1,97 @@
1
- module Metasploit
2
- module Model
3
- module Visitation
4
- # {ClassMethods#visit DSL} to declare {Metasploit::Model::Visitation::Visitor visitors} for a given `Module#name`
5
- # (or any Class that has an ancestor in `Class#ancestors` with that `Module#name`) and then use then to {#visit}
6
- # instances of those class and/or modules.
7
- module Visit
8
- extend ActiveSupport::Concern
1
+ # {ClassMethods#visit DSL} to declare {Metasploit::Model::Visitation::Visitor visitors} for a given `Module#name`
2
+ # (or any Class that has an ancestor in `Class#ancestors` with that `Module#name`) and then use then to {#visit}
3
+ # instances of those class and/or modules.
4
+ module Metasploit::Model::Visitation::Visit
5
+ extend ActiveSupport::Concern
9
6
 
10
- # Adds {#visit} DSL to class to declare {Metasploit::Model::Visitation::Visitor visitors}.
11
- module ClassMethods
12
- # Defines how to visit a node with one or more `Module#names` in its `Module#ancestors`.
13
- #
14
- # @param module_names [Array<String>] Names of class/module to be visited with block.
15
- # @yield [node] Block instance_exec'd on instance of the class {#visit} was called.
16
- # @yieldparam node [Object]
17
- # @return [Array<Metasploit::Model::Visitation::Visitor>] visitors created.
18
- # @raise [ArgumentError] if `module_names` is empty
19
- # @raise [Metasploit::Model::Invalid] unless `block` is given.
20
- def visit(*module_names, &block)
21
- if module_names.empty?
22
- raise ArgumentError,
23
- "At least one Modul#name must be passed to #{__method__} so the visitor(s) knows which Modules " \
7
+ # Adds {#visit} DSL to class to declare {Metasploit::Model::Visitation::Visitor visitors}.
8
+ module ClassMethods
9
+ # Defines how to visit a node with one or more `Module#names` in its `Module#ancestors`.
10
+ #
11
+ # @param module_names [Array<String>] Names of class/module to be visited with block.
12
+ # @yield [node] Block instance_exec'd on instance of the class {#visit} was called.
13
+ # @yieldparam node [Object]
14
+ # @return [Array<Metasploit::Model::Visitation::Visitor>] visitors created.
15
+ # @raise [ArgumentError] if `module_names` is empty
16
+ # @raise [Metasploit::Model::Invalid] unless `block` is given.
17
+ def visit(*module_names, &block)
18
+ if module_names.empty?
19
+ raise ArgumentError,
20
+ "At least one Modul#name must be passed to #{__method__} so the visitor(s) knows which Modules " \
24
21
  "it/they can visit."
25
- end
22
+ end
26
23
 
27
- module_names.collect do |module_name|
28
- visitor = Metasploit::Model::Visitation::Visitor.new(
29
- :module_name => module_name,
30
- :parent => self,
31
- &block
32
- )
33
- visitor.valid!
24
+ module_names.collect do |module_name|
25
+ visitor = Metasploit::Model::Visitation::Visitor.new(
26
+ :module_name => module_name,
27
+ :parent => self,
28
+ &block
29
+ )
30
+ visitor.valid!
34
31
 
35
- visitor_by_module_name[visitor.module_name] = visitor
36
- end
37
- end
32
+ visitor_by_module_name[visitor.module_name] = visitor
33
+ end
34
+ end
38
35
 
39
- # {Metasploit::Model::Visitation::Visitor Visitor} for `klass` or one of its `Class#ancestors`.
40
- #
41
- # @return [Metasploit::Model::Visitation::Visitor]
42
- # @raise [TypeError] if there is not visitor for `klass` or one of its ancestors.
43
- def visitor(klass)
44
- visitor = visitor_by_module[klass]
36
+ # {Metasploit::Model::Visitation::Visitor Visitor} for `klass` or one of its `Class#ancestors`.
37
+ #
38
+ # @return [Metasploit::Model::Visitation::Visitor]
39
+ # @raise [TypeError] if there is not visitor for `klass` or one of its ancestors.
40
+ def visitor(klass)
41
+ visitor = visitor_by_module[klass]
45
42
 
46
- unless visitor
47
- klass.ancestors.each do |mod|
48
- visitor = visitor_by_module[mod]
43
+ unless visitor
44
+ klass.ancestors.each do |mod|
45
+ visitor = visitor_by_module[mod]
49
46
 
50
- unless visitor
51
- visitor = visitor_by_module_name[mod.name]
52
- end
47
+ unless visitor
48
+ visitor = visitor_by_module_name[mod.name]
49
+ end
53
50
 
54
- if visitor
55
- visitor_by_module[klass] = visitor
51
+ if visitor
52
+ visitor_by_module[klass] = visitor
56
53
 
57
- break
58
- end
59
- end
60
- end
54
+ break
55
+ end
56
+ end
57
+ end
61
58
 
62
- unless visitor
63
- raise TypeError,
64
- "No visitor that handles #{klass} or " \
59
+ unless visitor
60
+ raise TypeError,
61
+ "No visitor that handles #{klass} or " \
65
62
  "any of its ancestors (#{klass.ancestors.map(&:name).to_sentence})"
66
- end
63
+ end
67
64
 
68
- visitor
69
- end
65
+ visitor
66
+ end
70
67
 
71
- # Allows {Metasploit::Model::Visitation::Visitor visitors} to be looked up by Module instead of `Module#name`.
72
- #
73
- # @return [Hash{Class => Metasploit::Model::Visitation::Visitor}]
74
- def visitor_by_module
75
- @visitor_by_module ||= {}
76
- end
68
+ # Allows {Metasploit::Model::Visitation::Visitor visitors} to be looked up by Module instead of `Module#name`.
69
+ #
70
+ # @return [Hash{Class => Metasploit::Model::Visitation::Visitor}]
71
+ def visitor_by_module
72
+ @visitor_by_module ||= {}
73
+ end
77
74
 
78
- # Maps `Module#name` passed to {ClassMethods#visit} through :module_name to the
79
- # {Metasploit::Model::Visitation::Visitor} with the `Module#name` as
80
- # {Metasploit::Model::Visitation::Visitor#module_name}.
81
- #
82
- # @return [Hash{String => Metasploit::Model::Visitation::Visitor}]
83
- def visitor_by_module_name
84
- @visitor_by_module_name ||= {}
85
- end
86
- end
75
+ # Maps `Module#name` passed to {ClassMethods#visit} through :module_name to the
76
+ # {Metasploit::Model::Visitation::Visitor} with the `Module#name` as
77
+ # {Metasploit::Model::Visitation::Visitor#module_name}.
78
+ #
79
+ # @return [Hash{String => Metasploit::Model::Visitation::Visitor}]
80
+ def visitor_by_module_name
81
+ @visitor_by_module_name ||= {}
82
+ end
83
+ end
87
84
 
88
- #
89
- # Instance Methods
90
- #
85
+ #
86
+ # Instance Methods
87
+ #
91
88
 
92
- # Visits `node`
93
- #
94
- # @return (see Metasploit::Model::Visitation::Visitor#visit)
95
- def visit(node)
96
- visitor = self.class.visitor(node.class)
89
+ # Visits `node`
90
+ #
91
+ # @return (see Metasploit::Model::Visitation::Visitor#visit)
92
+ def visit(node)
93
+ visitor = self.class.visitor(node.class)
97
94
 
98
- visitor.visit(self, node)
99
- end
100
- end
101
- end
95
+ visitor.visit(self, node)
102
96
  end
103
- end
97
+ end
@@ -14,7 +14,7 @@ Gem::Specification.new do |spec|
14
14
  spec.files = `git ls-files`.split($/)
15
15
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
16
16
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
17
- spec.require_paths = ['lib']
17
+ spec.require_paths = %w{app/models app/validators lib}
18
18
 
19
19
  spec.add_development_dependency 'bundler', '~> 1.3'
20
20
  spec.add_development_dependency 'rake'
@@ -5,5 +5,5 @@ describe Metasploit::Model::Search::Operation::Integer do
5
5
  it { should validate_numericality_of(:value).only_integer }
6
6
  end
7
7
 
8
- it_should_behave_like 'Metasploit::Model::Search::Operation::Integer::Value'
8
+ it_should_behave_like 'Metasploit::Model::Search::Operation::Value::Integer'
9
9
  end
@@ -3,5 +3,5 @@ require 'spec_helper'
3
3
  describe Metasploit::Model::Search::Operation::Set::Integer do
4
4
  it { should be_a Metasploit::Model::Search::Operation::Set }
5
5
 
6
- it_should_behave_like 'Metasploit::Model::Search::Operation::Integer::Value'
6
+ it_should_behave_like 'Metasploit::Model::Search::Operation::Value::Integer'
7
7
  end
@@ -3,5 +3,5 @@ require 'spec_helper'
3
3
  describe Metasploit::Model::Search::Operation::Set::String do
4
4
  it { should be_a Metasploit::Model::Search::Operation::Set }
5
5
 
6
- it_should_behave_like 'Metasploit::Model::Search::Operation::String::Value'
6
+ it_should_behave_like 'Metasploit::Model::Search::Operation::Value::String'
7
7
  end
@@ -5,5 +5,5 @@ describe Metasploit::Model::Search::Operation::String do
5
5
  it { should validate_presence_of(:value) }
6
6
  end
7
7
 
8
- it_should_behave_like 'Metasploit::Model::Search::Operation::String::Value'
8
+ it_should_behave_like 'Metasploit::Model::Search::Operation::Value::String'
9
9
  end
@@ -3,6 +3,7 @@ require File.expand_path('../boot', __FILE__)
3
3
  require 'rails/all'
4
4
 
5
5
  Bundler.require(*Rails.groups)
6
+
6
7
  # require the engine being tested. In a non-dummy app this would be handled by the engine's gem being in the Gemfile
7
8
  # for real app and Bundler.require requiring the gem.
8
9
  require 'metasploit/model'
@@ -1,7 +1,7 @@
1
1
  require 'spec_helper'
2
2
 
3
- describe Metasploit::Model::Search::Operation::Integer::Value do
4
- it_should_behave_like 'Metasploit::Model::Search::Operation::Integer::Value' do
3
+ describe Metasploit::Model::Search::Operation::Value::Integer do
4
+ it_should_behave_like 'Metasploit::Model::Search::Operation::Value::Integer' do
5
5
  let(:operation_class) do
6
6
  described_class = self.described_class
7
7
 
@@ -1,7 +1,7 @@
1
1
  require 'spec_helper'
2
2
 
3
- describe Metasploit::Model::Search::Operation::String::Value do
4
- it_should_behave_like 'Metasploit::Model::Search::Operation::String::Value' do
3
+ describe Metasploit::Model::Search::Operation::Value::String do
4
+ it_should_behave_like 'Metasploit::Model::Search::Operation::Value::String' do
5
5
  let(:operation_class) do
6
6
  described_class = self.described_class
7
7
 
@@ -1,4 +1,4 @@
1
- shared_examples_for 'Metasploit::Model::Search::Operation::Integer::Value' do
1
+ shared_examples_for 'Metasploit::Model::Search::Operation::Value::Integer' do
2
2
  let(:operation_class) do
3
3
  described_class
4
4
  end
@@ -8,7 +8,7 @@ shared_examples_for 'Metasploit::Model::Search::Operation::Integer::Value' do
8
8
  operation_class
9
9
  end
10
10
 
11
- it { should include Metasploit::Model::Search::Operation::Integer::Value }
11
+ it { should include Metasploit::Model::Search::Operation::Value::Integer }
12
12
  end
13
13
 
14
14
  context '#value' do
@@ -1,4 +1,4 @@
1
- shared_examples_for 'Metasploit::Model::Search::Operation::String::Value' do
1
+ shared_examples_for 'Metasploit::Model::Search::Operation::Value::String' do
2
2
  let(:operation_class) do
3
3
  described_class
4
4
  end
@@ -8,7 +8,7 @@ shared_examples_for 'Metasploit::Model::Search::Operation::String::Value' do
8
8
  operation_class
9
9
  end
10
10
 
11
- it { should include Metasploit::Model::Search::Operation::String::Value }
11
+ it { should include Metasploit::Model::Search::Operation::Value::String }
12
12
  end
13
13
 
14
14
  context '#value' do
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.27.3
4
+ version: 0.27.4
5
5
  platform: java
6
6
  authors:
7
7
  - Luke Imhoff
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-09-24 00:00:00.000000000 Z
11
+ date: 2014-09-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -215,8 +215,9 @@ files:
215
215
  - lib/metasploit/model/search/group.rb
216
216
  - lib/metasploit/model/search/operation.rb
217
217
  - lib/metasploit/model/search/operation/group.rb
218
- - lib/metasploit/model/search/operation/integer/value.rb
219
- - lib/metasploit/model/search/operation/string/value.rb
218
+ - lib/metasploit/model/search/operation/value.rb
219
+ - lib/metasploit/model/search/operation/value/integer.rb
220
+ - lib/metasploit/model/search/operation/value/string.rb
220
221
  - lib/metasploit/model/search/operator.rb
221
222
  - lib/metasploit/model/search/operator/deprecated.rb
222
223
  - lib/metasploit/model/search/operator/group.rb
@@ -415,8 +416,8 @@ files:
415
416
  - spec/lib/metasploit/model/search/association/tree_spec.rb
416
417
  - spec/lib/metasploit/model/search/association_spec.rb
417
418
  - spec/lib/metasploit/model/search/attribute_spec.rb
418
- - spec/lib/metasploit/model/search/operation/integer/value_spec.rb
419
- - spec/lib/metasploit/model/search/operation/string/value_spec.rb
419
+ - spec/lib/metasploit/model/search/operation/value/integer_spec.rb
420
+ - spec/lib/metasploit/model/search/operation/value/string_spec.rb
420
421
  - spec/lib/metasploit/model/search/operation_spec.rb
421
422
  - spec/lib/metasploit/model/search/operator/help_spec.rb
422
423
  - spec/lib/metasploit/model/search/with_spec.rb
@@ -462,8 +463,8 @@ files:
462
463
  - spec/support/shared/examples/metasploit/model/platform.rb
463
464
  - spec/support/shared/examples/metasploit/model/real_pathname.rb
464
465
  - spec/support/shared/examples/metasploit/model/reference.rb
465
- - spec/support/shared/examples/metasploit/model/search/operation/integer/value.rb
466
- - spec/support/shared/examples/metasploit/model/search/operation/string/value.rb
466
+ - spec/support/shared/examples/metasploit/model/search/operation/value/integer.rb
467
+ - spec/support/shared/examples/metasploit/model/search/operation/value/string.rb
467
468
  - spec/support/shared/examples/metasploit/model/search/operator/help.rb
468
469
  - spec/support/shared/examples/metasploit/model/translation.rb
469
470
  - spec/support/shared/examples/search/query.rb
@@ -495,6 +496,8 @@ metadata: {}
495
496
  post_install_message:
496
497
  rdoc_options: []
497
498
  require_paths:
499
+ - app/models
500
+ - app/validators
498
501
  - lib
499
502
  required_ruby_version: !ruby/object:Gem::Requirement
500
503
  requirements:
@@ -508,7 +511,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
508
511
  version: '0'
509
512
  requirements: []
510
513
  rubyforge_project:
511
- rubygems_version: 2.1.9
514
+ rubygems_version: 2.3.0
512
515
  signing_key:
513
516
  specification_version: 4
514
517
  summary: Metasploit Model Mixins and Validators
@@ -693,8 +696,8 @@ test_files:
693
696
  - spec/lib/metasploit/model/search/association/tree_spec.rb
694
697
  - spec/lib/metasploit/model/search/association_spec.rb
695
698
  - spec/lib/metasploit/model/search/attribute_spec.rb
696
- - spec/lib/metasploit/model/search/operation/integer/value_spec.rb
697
- - spec/lib/metasploit/model/search/operation/string/value_spec.rb
699
+ - spec/lib/metasploit/model/search/operation/value/integer_spec.rb
700
+ - spec/lib/metasploit/model/search/operation/value/string_spec.rb
698
701
  - spec/lib/metasploit/model/search/operation_spec.rb
699
702
  - spec/lib/metasploit/model/search/operator/help_spec.rb
700
703
  - spec/lib/metasploit/model/search/with_spec.rb
@@ -740,8 +743,8 @@ test_files:
740
743
  - spec/support/shared/examples/metasploit/model/platform.rb
741
744
  - spec/support/shared/examples/metasploit/model/real_pathname.rb
742
745
  - spec/support/shared/examples/metasploit/model/reference.rb
743
- - spec/support/shared/examples/metasploit/model/search/operation/integer/value.rb
744
- - spec/support/shared/examples/metasploit/model/search/operation/string/value.rb
746
+ - spec/support/shared/examples/metasploit/model/search/operation/value/integer.rb
747
+ - spec/support/shared/examples/metasploit/model/search/operation/value/string.rb
745
748
  - spec/support/shared/examples/metasploit/model/search/operator/help.rb
746
749
  - spec/support/shared/examples/metasploit/model/translation.rb
747
750
  - spec/support/shared/examples/search/query.rb