windows_error 0.0.2 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f7075b71656b5eec535a33fe0b0fe9843631c2f2
4
- data.tar.gz: 89c78c6b5c914a1852753d86e458ebf6018b1523
3
+ metadata.gz: 373307c535b0b9644b22c2ca5f49894fdd80d7f5
4
+ data.tar.gz: 4d5acbd737ddd746f6473ab735c02d57508b9083
5
5
  SHA512:
6
- metadata.gz: a22e867cfaeaea3115f6bd192ff4d285af1d09b2dcd16234aa705af34cd062219ddf81f9ce7f576e7ebb08c87e28e8c197e1533e23e848fcacbe137141554eb3
7
- data.tar.gz: 93ac2dc922d2cc043c8ec355092a0e215213f93bd27ec91dcc25b7de156bff6b14864b6a3c3b62f4b22ae381556ebc1934395d42082af4d4b186453234a88f2a
6
+ metadata.gz: 874ee30c7ee25b95b28b611a0a87e36571d0e6ee36a2fdb8f70ed69a9563cd248abb9a31f2fa6ea4b9b40a621265478de3f3ffc385edc24cbed9525ea07f5158
7
+ data.tar.gz: 923b9b6554caa54dd20ede4eb006acb00779cd6262ad9c70571e73541a53b1a4c1372b4c8595f085447dc6b4b5c3466881e0f1cd552775ac7296e2c034e5a399
Binary file
@@ -0,0 +1 @@
1
+ Q�ڠ~-�3�',((G٭��E*��`7�'F��� ��O����/��,8�����@<"n:���t�^"�g�.�*���k�R6A@`L}Z �t�2������f�E�� 4
@@ -0,0 +1,6 @@
1
+ ---
2
+ notifications:
3
+ pullrequest:
4
+ comment: verbose
5
+ languages:
6
+ - ruby
@@ -2,4 +2,5 @@ language: ruby
2
2
  rvm:
3
3
  - '2.1'
4
4
  - '2.2'
5
- - 'jruby-9000'
5
+ - '2.3.3'
6
+ - '2.4.0'
data/Gemfile CHANGED
@@ -10,6 +10,4 @@ group :test do
10
10
  gem 'rspec', '~> 3.0'
11
11
  # Coverage reports
12
12
  gem 'simplecov', require: false
13
-
14
- gem 'metasploit-version'
15
- end
13
+ end
data/README.md CHANGED
@@ -1,6 +1,10 @@
1
1
  # WindowsError
2
+ [![Gem Version](https://badge.fury.io/rb/windows_error.svg)](http://badge.fury.io/rb/windows_error)
2
3
  [![Build Status](https://travis-ci.org/rapid7/windows_error.svg)](https://travis-ci.org/rapid7/windows_error)
3
4
  [![Code Climate](https://codeclimate.com/github/rapid7/windows_error/badges/gpa.svg)](https://codeclimate.com/github/rapid7/windows_error)
5
+ [![Coverage Status](https://coveralls.io/repos/rapid7/windows_error/badge.svg?branch=master)](https://coveralls.io/r/rapid7/windows_error?branch=master)
6
+ [![PullReview stats](https://www.pullreview.com/github/rapid7/windows_error/badges/master.svg?)](https://www.pullreview.com/github/rapid7/windows_error/reviews/master)
7
+
4
8
 
5
9
  The WindowsError gem provides an easily accessible reference for standard Windows API Error Codes. It allows you to do comparisons as well as direct lookups of error codes to translate the numerical value returned by the API, into a meaningful and human readable message. WindowsError currently supports [NTSTATUS](https://msdn.microsoft.com/en-us/library/cc231200.aspx) and [Win32 Error Codes](https://msdn.microsoft.com/en-us/library/cc231199.aspx). See [Windows Error Codes](https://msdn.microsoft.com/en-us/library/cc231196.aspx) for more details on all Windows Error Codes.
6
10
 
data/Rakefile CHANGED
@@ -16,3 +16,5 @@ YARD::Rake::YardocTask.new do |t|
16
16
  'README.md', 'LICENSE.txt'
17
17
  ]
18
18
  end
19
+
20
+ task :default => :spec
@@ -8,17 +8,17 @@ module WindowsError
8
8
  attr_reader :description
9
9
  # @return [String] the name of the error code
10
10
  attr_reader :name
11
- # @return [Fixnum] the error code that was given as a return value
11
+ # @return [Integer] the error code that was given as a return value
12
12
  attr_reader :value
13
13
 
14
14
  # @param [String] name the 'name' of the error code (i.e STATUS_SUCCESS)
15
- # @param [Fixnum] value the return value that represents that error
15
+ # @param [Integer] value the return value that represents that error
16
16
  # @param [String] description the verbose description of the error
17
17
  # @raise [ArgumentError] if any of the parameters are of an invalid type
18
- def initialize(name,value,description)
19
- raise ArgumentError, "Invalid Error Name!" unless name.kind_of? String and !(name.empty?)
20
- raise ArgumentError, "Invalid Error Code Value!" unless value.kind_of? Fixnum
21
- raise ArgumentError, "Invalid Error Description!" unless description.kind_of? String and !(description.empty?)
18
+ def initialize(name, value, description)
19
+ raise ArgumentError, 'Invalid Error Name!' unless name.kind_of? String and !(name.empty?)
20
+ raise ArgumentError, 'Invalid Error Code Value!' unless value.kind_of? Integer
21
+ raise ArgumentError, 'Invalid Error Description!' unless description.kind_of? String and !(description.empty?)
22
22
  @name = name
23
23
  @value = value
24
24
  @description = description
@@ -32,12 +32,12 @@ module WindowsError
32
32
  # always tested against the #value of the error code.
33
33
  #
34
34
  # @param [Object] other_object the object to test equality against
35
- # @raise [ArgumentError] if the other object is not either another ErrorCode or a Fixnum
35
+ # @raise [ArgumentError] if the other object is not either another ErrorCode or a Integer
36
36
  # @return [Boolean] whether the equality test passed
37
37
  def ==(other_object)
38
38
  if other_object.kind_of? self.class
39
39
  self.value == other_object.value
40
- elsif other_object.kind_of? Fixnum
40
+ elsif other_object.kind_of? Integer
41
41
  self.value == other_object
42
42
  else
43
43
  raise ArgumentError, "Cannot compare a #{self.class} to a #{other_object.class}"
@@ -8,11 +8,11 @@ module WindowsError
8
8
  # Returns all the {WindowsError::ErrorCode} objects that match
9
9
  # the return value supplied.
10
10
  #
11
- # @param [Fixnum] retval the return value you want the error code for
12
- # @raise [ArgumentError] if something other than a Fixnum is supplied
11
+ # @param [Integer] retval the return value you want the error code for
12
+ # @raise [ArgumentError] if something other than a Integer is supplied
13
13
  # @return [Array<WindowsError::ErrorCode>] all NTStatus ErrorCodes that matched
14
14
  def self.find_by_retval(retval)
15
- raise ArgumentError, "Invalid Return Code!" unless retval.kind_of? Fixnum
15
+ raise ArgumentError, "Invalid Return Code!" unless retval.kind_of? Integer
16
16
  error_codes = []
17
17
  self.constants.each do |constant_name|
18
18
  error_code = self.const_get(constant_name)
@@ -5404,4 +5404,4 @@ module WindowsError
5404
5404
  STATUS_VHD_DIFFERENCING_CHAIN_CYCLE_DETECTED = WindowsError::ErrorCode.new("STATUS_VHD_DIFFERENCING_CHAIN_CYCLE_DETECTED",0xC03A0018,"The chain of virtual hard disks is corrupted. A differencing disk is indicated in its own parent chain.")
5405
5405
 
5406
5406
  end
5407
- end
5407
+ end
@@ -1,41 +1,3 @@
1
1
  module WindowsError
2
- # Holds components of {VERSION} as defined by {http://semver.org/spec/v2.0.0.html semantic versioning v2.0.0}.
3
- module Version
4
- # The major version number.
5
- MAJOR = 0
6
- # The minor version number, scoped to the {MAJOR} version number.
7
- MINOR = 0
8
- # The patch number, scoped to the {MINOR} version number.
9
- PATCH = 2
10
-
11
- # The full version string, including the {MAJOR}, {MINOR}, {PATCH}, and optionally, the `PRERELEASE` in the
12
- # {http://semver.org/spec/v2.0.0.html semantic versioning v2.0.0} format.
13
- #
14
- # @return [String] '{MAJOR}.{MINOR}.{PATCH}' on master. '{MAJOR}.{MINOR}.{PATCH}-PRERELEASE' on any branch
15
- # other than master.
16
- def self.full
17
- version = "#{MAJOR}.#{MINOR}.#{PATCH}"
18
-
19
- if defined? PRERELEASE
20
- version = "#{version}-#{PRERELEASE}"
21
- end
22
-
23
- version
24
- end
25
-
26
- # The full gem version string, including the {MAJOR}, {MINOR}, {PATCH}, and optionally, the `PRERELEASE` in the
27
- # {http://guides.rubygems.org/specification-reference/#version RubyGems versioning} format.
28
- #
29
- # @return [String] '{MAJOR}.{MINOR}.{PATCH}' on master. '{MAJOR}.{MINOR}.{PATCH}.PRERELEASE' on any branch
30
- # other than master.
31
- def self.gem
32
- full.gsub('-', '.pre.')
33
- end
34
- end
35
-
36
- # @see Version.gem
37
- GEM_VERSION = Version.gem
38
-
39
- # @see Version.full
40
- VERSION = Version.full
2
+ VERSION = "0.1.0"
41
3
  end
@@ -8,11 +8,11 @@ module WindowsError
8
8
  # Returns all the {WindowsError::ErrorCode} objects that match
9
9
  # the return value supplied.
10
10
  #
11
- # @param [Fixnum] retval the return value you want the error code for
12
- # @raise [ArgumentError] if something other than a Fixnum is supplied
11
+ # @param [Integer] retval the return value you want the error code for
12
+ # @raise [ArgumentError] if something other than a Integer is supplied
13
13
  # @return [Array<WindowsError::ErrorCode>] all Win32 ErrorCodes that matched
14
14
  def self.find_by_retval(retval)
15
- raise ArgumentError, "Invalid Return Code!" unless retval.kind_of? Fixnum
15
+ raise ArgumentError, "Invalid Return Code!" unless retval.kind_of? Integer
16
16
  error_codes = []
17
17
  self.constants.each do |constant_name|
18
18
  error_code = self.const_get(constant_name)
@@ -8124,4 +8124,4 @@ module WindowsError
8124
8124
  # (0x00003B92) The requested system device cannot be identified due to multiple indistinguishable devices potentially matching the identification criteria.
8125
8125
  ERROR_AMBIGUOUS_SYSTEM_DEVICE = WindowsError::ErrorCode.new("ERROR_AMBIGUOUS_SYSTEM_DEVICE",0x00003B92,"The requested system device cannot be identified due to multiple indistinguishable devices potentially matching the identification criteria.")
8126
8126
  end
8127
- end
8127
+ end
@@ -2,16 +2,16 @@ require 'spec_helper'
2
2
 
3
3
  describe WindowsError::ErrorCode do
4
4
 
5
- subject(:error_code) { described_class.new(name,value,description) }
6
- let(:name) { "STATUS_TIMEOUT" }
5
+ subject(:error_code) { described_class.new(name, value, description) }
6
+ let(:name) { 'STATUS_TIMEOUT' }
7
7
  let(:value) { 0x00000102 }
8
- let(:description) { "The given Timeout interval expired." }
8
+ let(:description) { 'The given Timeout interval expired.' }
9
9
 
10
10
  context 'with a non-number value' do
11
- let(:value) { "Bogus" }
11
+ let(:value) { 'Bogus' }
12
12
 
13
13
  it 'will raise an ArgumentError' do
14
- expect{described_class.new(name,value,description)}.to raise_error ArgumentError,"Invalid Error Code Value!"
14
+ expect { described_class.new(name, value, description) }.to raise_error ArgumentError, 'Invalid Error Code Value!'
15
15
  end
16
16
  end
17
17
 
@@ -19,7 +19,7 @@ describe WindowsError::ErrorCode do
19
19
  let(:description) { 42 }
20
20
 
21
21
  it 'will raise an ArgumentError' do
22
- expect{described_class.new(name,value,description)}.to raise_error ArgumentError,"Invalid Error Description!"
22
+ expect { described_class.new(name, value, description) }.to raise_error ArgumentError, 'Invalid Error Description!'
23
23
  end
24
24
  end
25
25
 
@@ -27,7 +27,7 @@ describe WindowsError::ErrorCode do
27
27
  let(:description) { '' }
28
28
 
29
29
  it 'will raise an ArgumentError' do
30
- expect{described_class.new(name,value,description)}.to raise_error ArgumentError,"Invalid Error Description!"
30
+ expect { described_class.new(name, value, description) }.to raise_error ArgumentError, 'Invalid Error Description!'
31
31
  end
32
32
  end
33
33
 
@@ -35,7 +35,7 @@ describe WindowsError::ErrorCode do
35
35
  let(:name) { 42 }
36
36
 
37
37
  it 'will raise an ArgumentError' do
38
- expect{described_class.new(name,value,description)}.to raise_error ArgumentError,"Invalid Error Name!"
38
+ expect { described_class.new(name, value, description) }.to raise_error ArgumentError, 'Invalid Error Name!'
39
39
  end
40
40
  end
41
41
 
@@ -43,7 +43,7 @@ describe WindowsError::ErrorCode do
43
43
  let(:name) { '' }
44
44
 
45
45
  it 'will raise an ArgumentError' do
46
- expect{described_class.new(name,value,description)}.to raise_error ArgumentError,"Invalid Error Name!"
46
+ expect { described_class.new(name, value, description) }.to raise_error ArgumentError, 'Invalid Error Name!'
47
47
  end
48
48
  end
49
49
 
@@ -60,13 +60,13 @@ describe WindowsError::ErrorCode do
60
60
  end
61
61
 
62
62
  describe '#==' do
63
- let(:invalid_str) { "foo" }
63
+ let(:invalid_str) { 'foo' }
64
64
 
65
65
  it 'raises an ArgumentError for an invalid comparison' do
66
- expect{ error_code == invalid_str}.to raise_error ArgumentError, "Cannot compare a WindowsError::ErrorCode to a #{invalid_str.class}"
66
+ expect { error_code == invalid_str }.to raise_error ArgumentError, "Cannot compare a WindowsError::ErrorCode to a #{invalid_str.class}"
67
67
  end
68
68
 
69
- context 'when passed a Fixnum' do
69
+ context 'when passed a Integer' do
70
70
  let(:fixnum_value) { 258 }
71
71
  let(:other_fixnum) { 42 }
72
72
 
@@ -80,8 +80,8 @@ describe WindowsError::ErrorCode do
80
80
  end
81
81
 
82
82
  context 'when passed another error code' do
83
- let(:matching_error_code) { described_class.new(name,value,description) }
84
- let(:other_error_code) { described_class.new(name,42,description) }
83
+ let(:matching_error_code) { described_class.new(name, value, description) }
84
+ let(:other_error_code) { described_class.new(name, 42, description) }
85
85
 
86
86
  it 'returns true when the values match' do
87
87
  expect(error_code == matching_error_code).to eq true
@@ -92,6 +92,4 @@ describe WindowsError::ErrorCode do
92
92
  end
93
93
  end
94
94
  end
95
-
96
-
97
- end
95
+ end
@@ -6,7 +6,7 @@ describe WindowsError::NTStatus do
6
6
  describe '#find_by_retval' do
7
7
 
8
8
  it 'raises an argument error when passed an invalid value' do
9
- expect{ WindowsError::NTStatus.find_by_retval("foo") }.to raise_error ArgumentError,"Invalid Return Code!"
9
+ expect { WindowsError::NTStatus.find_by_retval('foo') }.to raise_error ArgumentError, 'Invalid Return Code!'
10
10
  end
11
11
 
12
12
  it 'returns an array with the error_codes for that return value' do
@@ -14,7 +14,7 @@ describe WindowsError::NTStatus do
14
14
  end
15
15
 
16
16
  it 'returns multiple entries if there are more than one match' do
17
- expect(WindowsError::NTStatus.find_by_retval(0x00000000)).to match_array([WindowsError::NTStatus::STATUS_SUCCESS,WindowsError::NTStatus::STATUS_WAIT_0])
17
+ expect(WindowsError::NTStatus.find_by_retval(0x00000000)).to match_array([WindowsError::NTStatus::STATUS_SUCCESS, WindowsError::NTStatus::STATUS_WAIT_0])
18
18
  end
19
19
 
20
20
  it 'returns an empty array if there is no match' do
@@ -6,7 +6,7 @@ describe WindowsError::Win32 do
6
6
  describe '#find_by_retval' do
7
7
 
8
8
  it 'raises an argument error when passed an invalid value' do
9
- expect{ WindowsError::Win32.find_by_retval("foo") }.to raise_error ArgumentError,"Invalid Return Code!"
9
+ expect { WindowsError::Win32.find_by_retval('foo') }.to raise_error ArgumentError, 'Invalid Return Code!'
10
10
  end
11
11
 
12
12
  it 'returns an array with the error_codes for that return value' do
@@ -1,32 +1,2 @@
1
- require 'pathname'
2
- require 'simplecov'
3
- require 'coveralls'
4
-
5
- if ENV['TRAVIS'] == 'true'
6
- # don't generate local report as it is inaccessible on travis-ci, which is
7
- # why coveralls is being used.
8
- SimpleCov.formatter = Coveralls::SimpleCov::Formatter
9
- else
10
- SimpleCov.formatter = SimpleCov::Formatter::HTMLFormatter
11
- end
12
-
13
- require 'rspec'
1
+ $LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
14
2
  require 'windows_error'
15
-
16
- # Use find_all_by_name instead of find_by_name as find_all_by_name will return pre-release versions
17
- gem_specification = Gem::Specification.find_all_by_name('metasploit-version').first
18
-
19
- Dir[File.join(gem_specification.gem_dir, 'spec', 'support', '**', '*.rb')].each do |f|
20
- require f
21
- end
22
-
23
- # add project lib directory to load path
24
- spec_pathname = Pathname.new(__FILE__).dirname
25
- root_pathname = spec_pathname.join('..').expand_path
26
- # Requires supporting ruby files with custom matchers and macros, etc,
27
- # in spec/support/ and its subdirectories.
28
- support_glob = root_pathname.join('spec', 'support', '**', '*.rb')
29
-
30
- Dir.glob(support_glob) do |path|
31
- require path
32
- end
@@ -22,8 +22,8 @@ Gem::Specification.new do |spec|
22
22
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
23
23
  spec.require_paths = ["lib"]
24
24
 
25
- spec.add_development_dependency "bundler", "~> 1.7"
26
- spec.add_development_dependency "rake", "~> 10.0"
25
+ spec.add_development_dependency "bundler"
26
+ spec.add_development_dependency "rake"
27
27
  spec.add_development_dependency "yard"
28
28
  spec.add_development_dependency "fivemat"
29
29
 
metadata CHANGED
@@ -1,43 +1,123 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: windows_error
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Maloney
8
8
  autorequire:
9
9
  bindir: bin
10
- cert_chain: []
11
- date: 2015-06-12 00:00:00.000000000 Z
10
+ cert_chain:
11
+ - |
12
+ -----BEGIN CERTIFICATE-----
13
+ MIIDXz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MDSgMqAwhi5odHRwOi8vY3JsLmds
81
+ b2JhbHNpZ24uY29tL2dzY29kZXNpZ25zaGEyZzMuY3JsMBMGA1UdJQQMMAoGCCsG
82
+ AQUFBwMDMB0GA1UdDgQWBBSm8RBpBC/cK9VmxzO2+RWnacN8CTAfBgNVHSMEGDAW
83
+ gBQPOueslJF0LZYCc4OtnC5JPxmqVDANBgkqhkiG9w0BAQsFAAOCAQEANVO3uYQl
84
+ h8iicbaXE3odrL+kXXmeeNgt4BD3x7GKAVIVixtwBS6pvrshjc1LN0tm3ruiv8oy
85
+ cq4FiEmVUXZejSRvVVtABeWdZWo+lJ8NxCBUEYYmnMrjgFIbGiEbBsg7PGtyeQsA
86
+ 5Wbg7Lx889mS1tKfQBcPif8EjpTiXNfMiywmpaMYmvm+yQgzrRLDbjz6JV0Rc5Ga
87
+ WChka+LTPnMtsWJuFM8ka8icMeS28/nAGERdewxWvz+DeAPMORdTJ7aqb6+Y9xuz
88
+ G+Hmcg1v810agasPdoydE0RTVZgEOOMoQ07qu7JFXVWZ9ZQpHT7qJATWL/b2csFG
89
+ 8mVuTXnyJOKRJA==
90
+ -----END CERTIFICATE-----
91
+ date: 2017-01-18 00:00:00.000000000 Z
12
92
  dependencies:
13
93
  - !ruby/object:Gem::Dependency
14
94
  name: bundler
15
95
  requirement: !ruby/object:Gem::Requirement
16
96
  requirements:
17
- - - "~>"
97
+ - - ">="
18
98
  - !ruby/object:Gem::Version
19
- version: '1.7'
99
+ version: '0'
20
100
  type: :development
21
101
  prerelease: false
22
102
  version_requirements: !ruby/object:Gem::Requirement
23
103
  requirements:
24
- - - "~>"
104
+ - - ">="
25
105
  - !ruby/object:Gem::Version
26
- version: '1.7'
106
+ version: '0'
27
107
  - !ruby/object:Gem::Dependency
28
108
  name: rake
29
109
  requirement: !ruby/object:Gem::Requirement
30
110
  requirements:
31
- - - "~>"
111
+ - - ">="
32
112
  - !ruby/object:Gem::Version
33
- version: '10.0'
113
+ version: '0'
34
114
  type: :development
35
115
  prerelease: false
36
116
  version_requirements: !ruby/object:Gem::Requirement
37
117
  requirements:
38
- - - "~>"
118
+ - - ">="
39
119
  - !ruby/object:Gem::Version
40
- version: '10.0'
120
+ version: '0'
41
121
  - !ruby/object:Gem::Dependency
42
122
  name: yard
43
123
  requirement: !ruby/object:Gem::Requirement
@@ -78,6 +158,7 @@ extensions: []
78
158
  extra_rdoc_files: []
79
159
  files:
80
160
  - ".gitignore"
161
+ - ".pullreview.yml"
81
162
  - ".rspec"
82
163
  - ".simplecov"
83
164
  - ".travis.yml"
@@ -93,9 +174,7 @@ files:
93
174
  - lib/windows_error/win32.rb
94
175
  - spec/lib/windows_error/error_code_spec.rb
95
176
  - spec/lib/windows_error/nt_status_spec.rb
96
- - spec/lib/windows_error/version_spec.rb
97
177
  - spec/lib/windows_error/win32_spec.rb
98
- - spec/lib/windows_error_spec.rb
99
178
  - spec/spec_helper.rb
100
179
  - windows_error.gemspec
101
180
  homepage: https://github.com/rapid7/windows_error
@@ -118,15 +197,12 @@ required_rubygems_version: !ruby/object:Gem::Requirement
118
197
  version: '0'
119
198
  requirements: []
120
199
  rubyforge_project:
121
- rubygems_version: 2.4.3
200
+ rubygems_version: 2.4.8
122
201
  signing_key:
123
202
  specification_version: 4
124
203
  summary: Provides a way to look up Windows NTSTATUS and Win32 Error Codes
125
204
  test_files:
126
205
  - spec/lib/windows_error/error_code_spec.rb
127
206
  - spec/lib/windows_error/nt_status_spec.rb
128
- - spec/lib/windows_error/version_spec.rb
129
207
  - spec/lib/windows_error/win32_spec.rb
130
- - spec/lib/windows_error_spec.rb
131
208
  - spec/spec_helper.rb
132
- has_rdoc:
Binary file
@@ -1,5 +0,0 @@
1
- require 'spec_helper'
2
-
3
- describe WindowsError::Version do
4
- it_should_behave_like 'Metasploit::Version Version Module'
5
- end
@@ -1,6 +0,0 @@
1
- require 'spec_helper'
2
-
3
- describe WindowsError do
4
- it_should_behave_like 'Metasploit::Version VERSION constant'
5
- it_should_behave_like 'Metasploit::Version GEM_VERSION constant'
6
- end