metasploit-model 2.0.4 → 3.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (40) hide show
  1. checksums.yaml +5 -5
  2. checksums.yaml.gz.sig +0 -0
  3. data.tar.gz.sig +0 -0
  4. data/.travis.yml +8 -3
  5. data/.yardopts +2 -1
  6. data/Gemfile +2 -2
  7. data/app/validators/address_format_validator.rb +26 -0
  8. data/app/validators/ip_format_validator.rb +13 -19
  9. data/app/validators/nil_validator.rb +3 -3
  10. data/app/validators/parameters_validator.rb +18 -10
  11. data/app/validators/password_is_strong_validator.rb +93 -67
  12. data/lib/metasploit/model.rb +1 -0
  13. data/lib/metasploit/model/base.rb +2 -2
  14. data/lib/metasploit/model/engine.rb +2 -2
  15. data/lib/metasploit/model/file.rb +1 -0
  16. data/lib/metasploit/model/search/attribute.rb +1 -1
  17. data/lib/metasploit/model/search/operator/help.rb +1 -1
  18. data/lib/metasploit/model/translation.rb +2 -2
  19. data/lib/metasploit/model/version.rb +1 -1
  20. data/metasploit-model.gemspec +11 -13
  21. data/spec/app/models/metasploit/model/association/reflection_spec.rb +2 -2
  22. data/spec/app/models/metasploit/model/search/operator/association_spec.rb +1 -1
  23. data/spec/app/models/metasploit/model/search/operator/attribute_spec.rb +1 -1
  24. data/spec/app/validators/address_format_validator_spec.rb +136 -0
  25. data/spec/app/validators/ip_format_validator_spec.rb +0 -24
  26. data/spec/app/validators/password_is_strong_validator_spec.rb +31 -42
  27. data/spec/dummy/app/models/application_record.rb +3 -0
  28. data/spec/dummy/config/application.rb +1 -5
  29. data/spec/dummy/config/environments/development.rb +0 -10
  30. data/spec/dummy/db/schema.rb +0 -1
  31. data/spec/factories/metasploit/model/association/reflections.rb +1 -1
  32. data/spec/factories/metasploit/model/bases.rb +1 -1
  33. data/spec/factories/metasploit/model/search/operator/associations.rb +1 -1
  34. data/spec/factories/metasploit/model/search/operator/attributes.rb +1 -1
  35. data/spec/factories/metasploit/model/search/operator/bases.rb +1 -1
  36. data/spec/lib/metasploit/model/engine_spec.rb +3 -3
  37. data/spec/lib/metasploit/model/search/attribute_spec.rb +2 -2
  38. metadata +106 -99
  39. metadata.gz.sig +0 -0
  40. data/spec/dummy/config/initializers/assets.rb +0 -8
@@ -20,16 +20,6 @@ Rails.application.configure do
20
20
  # Raise an error on page load if there are pending migrations.
21
21
  config.active_record.migration_error = :page_load
22
22
 
23
- # Debug mode disables concatenation and preprocessing of assets.
24
- # This option may cause significant delays in view rendering with a large
25
- # number of complex assets.
26
- config.assets.debug = true
27
-
28
- # Adds additional error checking when serving assets at runtime.
29
- # Checks for improperly declared sprockets dependencies.
30
- # Raises helpful error messages.
31
- config.assets.raise_runtime_errors = true
32
-
33
23
  # Raises error for missing translations
34
24
  # config.action_view.raise_on_missing_translations = true
35
25
  end
@@ -1,4 +1,3 @@
1
- # encoding: UTF-8
2
1
  # This file is auto-generated from the current state of the database. Instead
3
2
  # of editing this file, please use the migrations feature of Active Record to
4
3
  # incrementally modify your database, and then regenerate this schema definition.
@@ -1,4 +1,4 @@
1
- FactoryGirl.define do
1
+ FactoryBot.define do
2
2
  sequence :metasploit_model_association_reflection_class_name do |n|
3
3
  "Metasploit::Model::Association::Reflection::Class#{n}"
4
4
  end
@@ -1,4 +1,4 @@
1
- FactoryGirl.define do
1
+ FactoryBot.define do
2
2
  trait :metasploit_model_base do
3
3
  to_create do |instance|
4
4
  # validate so before validation derivation occurs to mimic create for ActiveRecord.
@@ -1,4 +1,4 @@
1
- FactoryGirl.define do
1
+ FactoryBot.define do
2
2
  sequence :metasploit_model_search_operator_association_association do |n|
3
3
  "metasploit_model_search_operator_association_association#{n}".to_sym
4
4
  end
@@ -1,4 +1,4 @@
1
- FactoryGirl.define do
1
+ FactoryBot.define do
2
2
  sequence :metasploit_model_search_operator_attribute_attribute do |n|
3
3
  "metasploit_model_search_operator_attribute_attribute#{n}".to_sym
4
4
  end
@@ -1,4 +1,4 @@
1
- FactoryGirl.define do
1
+ FactoryBot.define do
2
2
  sequence :metasploit_model_search_operator_base_name do |n|
3
3
  "metasploit_model_search_operator_base_name#{n}".to_sym
4
4
  end
@@ -106,11 +106,11 @@ RSpec.describe Metasploit::Model::Engine do
106
106
  initializer.run
107
107
  end
108
108
 
109
- context 'with FactoryGirl defined' do
110
- it 'should prepend full path to spec/factories to FactoryGirl.definition_file_paths' do
109
+ context 'with FactoryBot defined' do
110
+ it 'should prepend full path to spec/factories to FactoryBot.definition_file_paths' do
111
111
  definition_file_path = Metasploit::Model::Engine.root.join('spec', 'factories')
112
112
 
113
- expect(FactoryGirl.definition_file_paths).to receive(:unshift).with(definition_file_path)
113
+ expect(FactoryBot.definition_file_paths).to receive(:unshift).with(definition_file_path)
114
114
 
115
115
  run
116
116
  end
@@ -10,12 +10,12 @@ RSpec.describe Metasploit::Model::Search::Attribute do
10
10
  context 'search_attribute' do
11
11
  context 'with attribute' do
12
12
  let(:attribute) do
13
- FactoryGirl.generate :metasploit_model_search_operator_attribute_attribute
13
+ FactoryBot.generate :metasploit_model_search_operator_attribute_attribute
14
14
  end
15
15
 
16
16
  context 'with :type' do
17
17
  let(:type) do
18
- FactoryGirl.generate :metasploit_model_search_operator_attribute_type
18
+ FactoryBot.generate :metasploit_model_search_operator_attribute_type
19
19
  end
20
20
 
21
21
  context 'operator' do
metadata CHANGED
@@ -1,111 +1,116 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metasploit-model
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.4
4
+ version: 3.1.3
5
5
  platform: ruby
6
6
  authors:
7
- - Luke Imhoff
7
+ - Metasploit Hackers
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain:
11
11
  - |
12
12
  -----BEGIN CERTIFICATE-----
13
- MIIDXzCCAkegAwIBAgILBAAAAAABIVhTCKIwDQYJKoZIhvcNAQELBQAwTDEgMB4G
14
- A1UECxMXR2xvYmFsU2lnbiBSb290IENBIC0gUjMxEzARBgNVBAoTCkdsb2JhbFNp
15
- Z24xEzARBgNVBAMTCkdsb2JhbFNpZ24wHhcN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XXv2yyRJBCeTB+ojrxX+5PdLVZa0ss7toWzJ2A1poPXZ1eZvm5xeFD32z
91
+ YQaTmmNWNI3PCDTyJ2PXUc+bDiNNwcZ7yc5o78UNRvp9Jxghya17Q76c9Ov9wvnv
92
+ dxxQKWGOQy0m4fBrkyjAyH9Djjn81RbQrqYgPuhd5nD0HjN3VUQLhQbIJrk9TVs0
93
+ EknWpNgVhohbot1lfVAMmIhdtOVaRVcQQixWPwprDj/ydB8ryDMDosIMcw+fkoXU
94
+ 9GJsSaSRRYQ9UUkVL27b64okU8D48m8=
90
95
  -----END CERTIFICATE-----
91
- date: 2017-05-11 00:00:00.000000000 Z
96
+ date: 2020-11-30 00:00:00.000000000 Z
92
97
  dependencies:
93
98
  - !ruby/object:Gem::Dependency
94
- name: bundler
99
+ name: metasploit-yard
95
100
  requirement: !ruby/object:Gem::Requirement
96
101
  requirements:
97
- - - "~>"
102
+ - - ">="
98
103
  - !ruby/object:Gem::Version
99
- version: '1.3'
104
+ version: '0'
100
105
  type: :development
101
106
  prerelease: false
102
107
  version_requirements: !ruby/object:Gem::Requirement
103
108
  requirements:
104
- - - "~>"
109
+ - - ">="
105
110
  - !ruby/object:Gem::Version
106
- version: '1.3'
111
+ version: '0'
107
112
  - !ruby/object:Gem::Dependency
108
- name: metasploit-yard
113
+ name: metasploit-erd
109
114
  requirement: !ruby/object:Gem::Requirement
110
115
  requirements:
111
116
  - - ">="
@@ -119,7 +124,7 @@ dependencies:
119
124
  - !ruby/object:Gem::Version
120
125
  version: '0'
121
126
  - !ruby/object:Gem::Dependency
122
- name: metasploit-erd
127
+ name: rake
123
128
  requirement: !ruby/object:Gem::Requirement
124
129
  requirements:
125
130
  - - ">="
@@ -133,7 +138,7 @@ dependencies:
133
138
  - !ruby/object:Gem::Version
134
139
  version: '0'
135
140
  - !ruby/object:Gem::Dependency
136
- name: rake
141
+ name: yard
137
142
  requirement: !ruby/object:Gem::Requirement
138
143
  requirements:
139
144
  - - ">="
@@ -147,61 +152,61 @@ dependencies:
147
152
  - !ruby/object:Gem::Version
148
153
  version: '0'
149
154
  - !ruby/object:Gem::Dependency
150
- name: yard
155
+ name: e2mmap
151
156
  requirement: !ruby/object:Gem::Requirement
152
157
  requirements:
153
- - - "<"
158
+ - - ">="
154
159
  - !ruby/object:Gem::Version
155
- version: 0.8.7.4
160
+ version: '0'
156
161
  type: :development
157
162
  prerelease: false
158
163
  version_requirements: !ruby/object:Gem::Requirement
159
164
  requirements:
160
- - - "<"
165
+ - - ">="
161
166
  - !ruby/object:Gem::Version
162
- version: 0.8.7.4
167
+ version: '0'
163
168
  - !ruby/object:Gem::Dependency
164
169
  name: activemodel
165
170
  requirement: !ruby/object:Gem::Requirement
166
171
  requirements:
167
172
  - - "~>"
168
173
  - !ruby/object:Gem::Version
169
- version: 4.2.6
174
+ version: 5.2.2
170
175
  type: :runtime
171
176
  prerelease: false
172
177
  version_requirements: !ruby/object:Gem::Requirement
173
178
  requirements:
174
179
  - - "~>"
175
180
  - !ruby/object:Gem::Version
176
- version: 4.2.6
181
+ version: 5.2.2
177
182
  - !ruby/object:Gem::Dependency
178
183
  name: activesupport
179
184
  requirement: !ruby/object:Gem::Requirement
180
185
  requirements:
181
186
  - - "~>"
182
187
  - !ruby/object:Gem::Version
183
- version: 4.2.6
188
+ version: 5.2.2
184
189
  type: :runtime
185
190
  prerelease: false
186
191
  version_requirements: !ruby/object:Gem::Requirement
187
192
  requirements:
188
193
  - - "~>"
189
194
  - !ruby/object:Gem::Version
190
- version: 4.2.6
195
+ version: 5.2.2
191
196
  - !ruby/object:Gem::Dependency
192
197
  name: railties
193
198
  requirement: !ruby/object:Gem::Requirement
194
199
  requirements:
195
200
  - - "~>"
196
201
  - !ruby/object:Gem::Version
197
- version: 4.2.6
202
+ version: 5.2.2
198
203
  type: :runtime
199
204
  prerelease: false
200
205
  version_requirements: !ruby/object:Gem::Requirement
201
206
  requirements:
202
207
  - - "~>"
203
208
  - !ruby/object:Gem::Version
204
- version: 4.2.6
209
+ version: 5.2.2
205
210
  - !ruby/object:Gem::Dependency
206
211
  name: redcarpet
207
212
  requirement: !ruby/object:Gem::Requirement
@@ -219,7 +224,7 @@ dependencies:
219
224
  description: Common code, such as validators and mixins, that are shared between ActiveModels
220
225
  in metasploit-framework and ActiveRecords in metasploit_data_models.
221
226
  email:
222
- - luke_imhoff@rapid7.com
227
+ - msfdev@metasploit.com
223
228
  executables: []
224
229
  extensions: []
225
230
  extra_rdoc_files: []
@@ -272,6 +277,7 @@ files:
272
277
  - app/models/metasploit/model/search/operator/single.rb
273
278
  - app/models/metasploit/model/search/query.rb
274
279
  - app/models/metasploit/model/visitation/visitor.rb
280
+ - app/validators/address_format_validator.rb
275
281
  - app/validators/ip_format_validator.rb
276
282
  - app/validators/nil_validator.rb
277
283
  - app/validators/parameters_validator.rb
@@ -345,6 +351,7 @@ files:
345
351
  - spec/app/models/metasploit/model/search/operator/single_spec.rb
346
352
  - spec/app/models/metasploit/model/search/query_spec.rb
347
353
  - spec/app/models/metasploit/model/visitation/visitor_spec.rb
354
+ - spec/app/validators/address_format_validator_spec.rb
348
355
  - spec/app/validators/ip_format_validator_spec.rb
349
356
  - spec/app/validators/nil_validator_spec.rb
350
357
  - spec/app/validators/parameters_validator_spec.rb
@@ -355,6 +362,7 @@ files:
355
362
  - spec/dummy/app/controllers/application_controller.rb
356
363
  - spec/dummy/app/helpers/application_helper.rb
357
364
  - spec/dummy/app/mailers/.gitkeep
365
+ - spec/dummy/app/models/application_record.rb
358
366
  - spec/dummy/app/views/layouts/application.html.erb
359
367
  - spec/dummy/bin/bundle
360
368
  - spec/dummy/bin/rails
@@ -368,7 +376,6 @@ files:
368
376
  - spec/dummy/config/environments/development.rb
369
377
  - spec/dummy/config/environments/production.rb
370
378
  - spec/dummy/config/environments/test.rb
371
- - spec/dummy/config/initializers/assets.rb
372
379
  - spec/dummy/config/initializers/backtrace_silencers.rb
373
380
  - spec/dummy/config/initializers/cookies_serializer.rb
374
381
  - spec/dummy/config/initializers/filter_parameter_logging.rb
@@ -443,7 +450,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
443
450
  requirements:
444
451
  - - ">="
445
452
  - !ruby/object:Gem::Version
446
- version: 2.2.0
453
+ version: 2.4.0
447
454
  required_rubygems_version: !ruby/object:Gem::Requirement
448
455
  requirements:
449
456
  - - ">="
@@ -451,7 +458,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
451
458
  version: '0'
452
459
  requirements: []
453
460
  rubyforge_project:
454
- rubygems_version: 2.6.8
461
+ rubygems_version: 2.7.10
455
462
  signing_key:
456
463
  specification_version: 4
457
464
  summary: Metasploit Model Mixins and Validators
@@ -484,6 +491,7 @@ test_files:
484
491
  - spec/app/models/metasploit/model/search/operator/single_spec.rb
485
492
  - spec/app/models/metasploit/model/search/query_spec.rb
486
493
  - spec/app/models/metasploit/model/visitation/visitor_spec.rb
494
+ - spec/app/validators/address_format_validator_spec.rb
487
495
  - spec/app/validators/ip_format_validator_spec.rb
488
496
  - spec/app/validators/nil_validator_spec.rb
489
497
  - spec/app/validators/parameters_validator_spec.rb
@@ -494,6 +502,7 @@ test_files:
494
502
  - spec/dummy/app/controllers/application_controller.rb
495
503
  - spec/dummy/app/helpers/application_helper.rb
496
504
  - spec/dummy/app/mailers/.gitkeep
505
+ - spec/dummy/app/models/application_record.rb
497
506
  - spec/dummy/app/views/layouts/application.html.erb
498
507
  - spec/dummy/bin/bundle
499
508
  - spec/dummy/bin/rails
@@ -507,7 +516,6 @@ test_files:
507
516
  - spec/dummy/config/environments/development.rb
508
517
  - spec/dummy/config/environments/production.rb
509
518
  - spec/dummy/config/environments/test.rb
510
- - spec/dummy/config/initializers/assets.rb
511
519
  - spec/dummy/config/initializers/backtrace_silencers.rb
512
520
  - spec/dummy/config/initializers/cookies_serializer.rb
513
521
  - spec/dummy/config/initializers/filter_parameter_logging.rb
@@ -569,4 +577,3 @@ test_files:
569
577
  - spec/support/shared/examples/search_association.rb
570
578
  - spec/support/shared/examples/search_attribute.rb
571
579
  - spec/support/shared/examples/search_with.rb
572
- has_rdoc: