metasploit-model 3.1.1 → 4.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
  SHA256:
3
- metadata.gz: 1d9c60bd7ee4b602e6ed7b8a9c3033284bc0b3521855f6f535462e95deae424f
4
- data.tar.gz: 1e2200bf21b4e5cca22cfad82bcaf64d1937cfc730463798893d37f8f14cc3d4
3
+ metadata.gz: 6f7ba3d443d54f67d1579a8b44ac363dc64f3fcbbbba909bf33f487fda1c4f0c
4
+ data.tar.gz: 451e8c25b13297b56912b302d9373b2eead874f7c195af0019903fa96b85196c
5
5
  SHA512:
6
- metadata.gz: 12f64d37690116152f6b281fdb4ba056a1546bf4647000c46fe925b39cbbb6ec1e1131d4422a51412681348bccaa4f4c235badb699ab768b57f4350b35253a98
7
- data.tar.gz: 94c577557b024cc6a0d5aef112bc85689170b67fb7fab6ecb95abc9cd17f636c379f8d1ff1ad77a32129ea331b1fd3678a7691febb649d504a5c54b167dfe5ee
6
+ metadata.gz: e0bf5c78e23cb8055030d15fb63913bce916b83099868c753fbd886152dfe3083676a1f4328e57fadf9039d04979093703085456bc70de9a4ba6a6dd1d51462b
7
+ data.tar.gz: 97f5e74df4e54df3d2185e87433f159ed227b91478a4bd6c4e9160a26e033f0aa471e0823dddfe513d4ef10d4d6adda796e1784dc1a62f4510f94f892f4721fc
checksums.yaml.gz.sig CHANGED
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -0,0 +1,78 @@
1
+ name: Verify
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - '*'
7
+ pull_request:
8
+ branches:
9
+ - '*'
10
+
11
+ jobs:
12
+ test:
13
+ runs-on: ubuntu-16.04
14
+ timeout-minutes: 40
15
+
16
+ services:
17
+ postgres:
18
+ image: postgres:9.6
19
+ ports: [ "5432:5432" ]
20
+ env:
21
+ POSTGRES_USER: postgres
22
+ POSTGRES_PASSWORD: postgres
23
+ options: >-
24
+ --health-cmd pg_isready
25
+ --health-interval 10s
26
+ --health-timeout 5s
27
+ --health-retries 5
28
+
29
+ strategy:
30
+ fail-fast: true
31
+ matrix:
32
+ ruby:
33
+ - 2.5
34
+ - 2.6
35
+ - 2.7
36
+
37
+ env:
38
+ RAILS_ENV: test
39
+
40
+ name: Ruby ${{ matrix.ruby }}
41
+ steps:
42
+ - name: Install system dependencies
43
+ run: sudo apt-get install graphviz
44
+
45
+ - name: Checkout code
46
+ uses: actions/checkout@v2
47
+
48
+ - uses: actions/setup-ruby@v1
49
+ with:
50
+ ruby-version: ${{ matrix.ruby }}
51
+
52
+ - name: Setup bundler
53
+ run: |
54
+ gem install bundler
55
+
56
+ - name: Bundle install
57
+ run: |
58
+ bundle config path vendor/bundle
59
+ bundle install --jobs 4 --retry 3
60
+
61
+ - name: Test
62
+ run: |
63
+ gem install bundler
64
+ cp spec/dummy/config/database.yml.github_actions spec/dummy/config/database.yml
65
+ bundle install
66
+ bundle exec rake --version
67
+ bundle exec rake db:test:prepare
68
+
69
+ bundle exec rake spec
70
+ bundle exec rake yard
71
+
72
+ - name: Upload coverage report
73
+ uses: actions/upload-artifact@v2
74
+ with:
75
+ name: coverage-${{ matrix.ruby }}
76
+ path: |
77
+ coverage/
78
+ retention-days: 1
data/Gemfile CHANGED
@@ -18,8 +18,6 @@ group :test do
18
18
 
19
19
  # Dummy app uses actionpack for ActionController, but not rails since it doesn't use activerecord.
20
20
  gem 'actionpack'
21
- # Uploads simplecov reports to coveralls.io
22
- gem 'coveralls', require: false
23
21
  # Engine tasks are loaded using railtie
24
22
  gem 'railties'
25
23
  gem 'rspec-rails'
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Metasploit::Model [![Build Status](https://travis-ci.org/rapid7/metasploit-model.png)](https://travis-ci.org/rapid7/metasploit-model)[![Code Climate](https://codeclimate.com/github/rapid7/metasploit-model.png)](https://codeclimate.com/github/rapid7/metasploit-model)[![Coverage Status](https://coveralls.io/repos/rapid7/metasploit-model/badge.png?branch=feature%2Fexploit)](https://coveralls.io/r/rapid7/metasploit-model)[![Dependency Status](https://gemnasium.com/rapid7/metasploit-model.svg)](https://gemnasium.com/rapid7/metasploit-model)[![Gem Version](https://badge.fury.io/rb/metasploit-model.svg)](http://badge.fury.io/rb/metasploit-model)[![Inline docs](http://inch-ci.org/github/rapid7/metasploit-model.svg?branch=master)](http://inch-ci.org/github/rapid7/metasploit-model)[![PullReview stats](https://www.pullreview.com/github/rapid7/metasploit-model/badges/master.svg)](https://www.pullreview.com/github/rapid7/metasploit-model/reviews/master)
1
+ # Metasploit::Model [![Build Status](https://github.com/rapid7/metasploit-model/actions/workflows/verify.yml/badge.svg)](https://github.com/rapid7/metasploit-model/actions/workflows/verify.yml)[![Code Climate](https://codeclimate.com/github/rapid7/metasploit-model.png)](https://codeclimate.com/github/rapid7/metasploit-model)[![Dependency Status](https://gemnasium.com/rapid7/metasploit-model.svg)](https://gemnasium.com/rapid7/metasploit-model)[![Gem Version](https://badge.fury.io/rb/metasploit-model.svg)](http://badge.fury.io/rb/metasploit-model)[![Inline docs](http://inch-ci.org/github/rapid7/metasploit-model.svg?branch=master)](http://inch-ci.org/github/rapid7/metasploit-model)[![PullReview stats](https://www.pullreview.com/github/rapid7/metasploit-model/badges/master.svg)](https://www.pullreview.com/github/rapid7/metasploit-model/reviews/master)
2
2
 
3
3
  ## Versioning
4
4
 
@@ -41,5 +41,6 @@ if RUBY_PLATFORM =~ /java/ && Gem::Version.new(JRUBY_VERSION) < Gem::Version.new
41
41
  end
42
42
  end
43
43
  else
44
+ # Alias for ::File when not in jruby.
44
45
  Metasploit::Model::File = ::File
45
46
  end
@@ -72,6 +72,6 @@ module Metasploit::Model::Search::Operator::Help
72
72
  name: name
73
73
  }
74
74
 
75
- ::I18n.translate(key, options)
75
+ ::I18n.translate(key, **options)
76
76
  end
77
77
  end
@@ -1,7 +1,7 @@
1
1
  module Metasploit
2
2
  module Model
3
3
  # VERSION is managed by GemRelease
4
- VERSION = '3.1.1'
4
+ VERSION = '4.0.1'
5
5
 
6
6
  # @return [String]
7
7
  #
@@ -6,31 +6,31 @@ require 'metasploit/model/version'
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = 'metasploit-model'
8
8
  spec.version = Metasploit::Model::VERSION
9
- spec.authors = ['Luke Imhoff']
10
- spec.email = ['luke_imhoff@rapid7.com']
9
+ spec.authors = ['Metasploit Hackers']
10
+ spec.email = ['msfdev@metasploit.com']
11
11
  spec.description = %q{Common code, such as validators and mixins, that are shared between ActiveModels in metasploit-framework and ActiveRecords in metasploit_data_models.}
12
12
  spec.summary = %q{Metasploit Model Mixins and Validators}
13
13
 
14
- spec.files = `git ls-files`.split($/)
14
+ spec.files = `git ls-files`.split($/).reject { |file|
15
+ file =~ /^bin/
16
+ }
15
17
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
16
18
  spec.require_paths = %w{app/models app/validators lib}
17
19
 
18
- spec.required_ruby_version = '>= 2.2.0'
20
+ spec.required_ruby_version = '>= 2.4.0'
19
21
 
20
22
  spec.add_development_dependency 'metasploit-yard'
21
23
  spec.add_development_dependency 'metasploit-erd'
22
24
  spec.add_development_dependency 'rake'
23
-
24
- # documentation
25
- # 0.8.7.4 has a bug where attribute setters show up as undocumented
26
- spec.add_development_dependency 'yard', '< 0.8.7.4'
25
+ spec.add_development_dependency 'yard'
26
+ spec.add_development_dependency 'e2mmap'
27
27
 
28
28
  # Dependency loading
29
29
 
30
- spec.add_runtime_dependency 'activemodel', '~> 5.2.2'
31
- spec.add_runtime_dependency 'activesupport', '~> 5.2.2'
30
+ spec.add_runtime_dependency 'activemodel', '~> 6.0'
31
+ spec.add_runtime_dependency 'activesupport', '~> 6.0'
32
32
 
33
- spec.add_runtime_dependency 'railties', '~> 5.2.2'
33
+ spec.add_runtime_dependency 'railties', '~> 6.0'
34
34
 
35
35
  if RUBY_PLATFORM =~ /java/
36
36
  # markdown formatting for yard
@@ -1,17 +1,16 @@
1
- # @note This file is only for use in travis-ci. If you need to make a `spec/dummy/config/database.yml` for running
1
+ # @note This file is only for use in github actions. If you need to make a `spec/dummy/config/database.yml` for running
2
2
  # rake, rake spec, or rspec locally, please customize `spec/dummy/config/database.yml.example`.
3
3
  #
4
4
  # @example Customizing config/database.yml.example
5
5
  # cp spec/dummy/config/database.yml.example spec/dummy/config/database.yml
6
6
  # # update password fields for each environment's user
7
7
 
8
- # Using the postgres user locally without a host and port is the supported configuration from Travis-CI
9
- #
10
- # @see http://about.travis-ci.org/docs/user/database-setup/#PostgreSQL
11
8
  development: &pgsql
12
9
  adapter: postgresql
13
10
  database: metasploit_model_development
11
+ host: localhost
14
12
  username: postgres
13
+ password: postgres
15
14
  pool: 5
16
15
  timeout: 5
17
16
 
@@ -19,4 +18,4 @@ development: &pgsql
19
18
  # `rake`. Do not set this db to the same as development or production.
20
19
  test:
21
20
  <<: *pgsql
22
- database: metasploit_model_test
21
+ database: metasploit_model_test
@@ -2,11 +2,11 @@
2
2
  # of editing this file, please use the migrations feature of Active Record to
3
3
  # incrementally modify your database, and then regenerate this schema definition.
4
4
  #
5
- # Note that this schema.rb definition is the authoritative source for your
6
- # database schema. If you need to create the application database on another
7
- # system, you should be using db:schema:load, not running all the migrations
8
- # from scratch. The latter is a flawed and unsustainable approach (the more migrations
9
- # you'll amass, the slower it'll run and the greater likelihood for issues).
5
+ # This file is the source Rails uses to define your schema when running `bin/rails
6
+ # db:schema:load`. When creating a new database, `bin/rails db:schema:load` tends to
7
+ # be faster and is potentially less error prone than running all of your
8
+ # migrations from scratch. Old migrations may fail to apply correctly if those
9
+ # migrations use external dependencies or application code.
10
10
  #
11
11
  # It's strongly recommended that you check this file into your version control system.
12
12
 
data/spec/spec_helper.rb CHANGED
@@ -8,9 +8,8 @@ Bundler.setup(:default, :test)
8
8
  # Require simplecov before loading ..dummy/config/environment.rb because it will cause metasploit_data_models/lib to
9
9
  # be loaded, which would result in Coverage not recording hits for any of the files.
10
10
  require 'simplecov'
11
- require 'coveralls'
12
11
 
13
- SimpleCov.formatter = Coveralls::SimpleCov::Formatter
12
+ SimpleCov.formatter = SimpleCov::Formatter::HTMLFormatter
14
13
 
15
14
  require File.expand_path('../dummy/config/environment.rb', __FILE__)
16
15
  require 'rspec/rails'
metadata CHANGED
@@ -1,10 +1,10 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metasploit-model
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.1
4
+ version: 4.0.1
5
5
  platform: ruby
6
6
  authors:
7
- - Luke Imhoff
7
+ - Metasploit Hackers
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain:
@@ -64,20 +64,20 @@ cert_chain:
64
64
  -----END CERTIFICATE-----
65
65
  - |
66
66
  -----BEGIN CERTIFICATE-----
67
- MIIFIzCCBAugAwIBAgIQDX9ZkVJ2eNVTlibR5ALyJTANBgkqhkiG9w0BAQsFADBy
67
+ MIIFIzCCBAugAwIBAgIQCMePMbkSxvnPeJhYXIfaxzANBgkqhkiG9w0BAQsFADBy
68
68
  MQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3
69
69
  d3cuZGlnaWNlcnQuY29tMTEwLwYDVQQDEyhEaWdpQ2VydCBTSEEyIEFzc3VyZWQg
70
- SUQgQ29kZSBTaWduaW5nIENBMB4XDTE5MTAxNjAwMDAwMFoXDTIwMTAxOTEyMDAw
70
+ SUQgQ29kZSBTaWduaW5nIENBMB4XDTIwMTAwNzAwMDAwMFoXDTIzMTEwNjEyMDAw
71
71
  MFowYDELMAkGA1UEBhMCVVMxFjAUBgNVBAgTDU1hc3NhY2h1c2V0dHMxDzANBgNV
72
72
  BAcTBkJvc3RvbjETMBEGA1UEChMKUmFwaWQ3IExMQzETMBEGA1UEAxMKUmFwaWQ3
73
- IExMQzCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANHnKegPAghKuZk4
74
- Gy1jKaZEXbWc4fxioTemv/F1y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VAMmIhdtOVaRVcQQixWPwprDj/ydB8ryDMDosIMcw+fkoXU
94
+ 9GJsSaSRRYQ9UUkVL27b64okU8D48m8=
95
95
  -----END CERTIFICATE-----
96
- date: 2020-10-05 00:00:00.000000000 Z
96
+ date: 2021-04-29 00:00:00.000000000 Z
97
97
  dependencies:
98
98
  - !ruby/object:Gem::Dependency
99
99
  name: metasploit-yard
@@ -141,58 +141,72 @@ dependencies:
141
141
  name: yard
142
142
  requirement: !ruby/object:Gem::Requirement
143
143
  requirements:
144
- - - "<"
144
+ - - ">="
145
145
  - !ruby/object:Gem::Version
146
- version: 0.8.7.4
146
+ version: '0'
147
147
  type: :development
148
148
  prerelease: false
149
149
  version_requirements: !ruby/object:Gem::Requirement
150
150
  requirements:
151
- - - "<"
151
+ - - ">="
152
+ - !ruby/object:Gem::Version
153
+ version: '0'
154
+ - !ruby/object:Gem::Dependency
155
+ name: e2mmap
156
+ requirement: !ruby/object:Gem::Requirement
157
+ requirements:
158
+ - - ">="
152
159
  - !ruby/object:Gem::Version
153
- version: 0.8.7.4
160
+ version: '0'
161
+ type: :development
162
+ prerelease: false
163
+ version_requirements: !ruby/object:Gem::Requirement
164
+ requirements:
165
+ - - ">="
166
+ - !ruby/object:Gem::Version
167
+ version: '0'
154
168
  - !ruby/object:Gem::Dependency
155
169
  name: activemodel
156
170
  requirement: !ruby/object:Gem::Requirement
157
171
  requirements:
158
172
  - - "~>"
159
173
  - !ruby/object:Gem::Version
160
- version: 5.2.2
174
+ version: '6.0'
161
175
  type: :runtime
162
176
  prerelease: false
163
177
  version_requirements: !ruby/object:Gem::Requirement
164
178
  requirements:
165
179
  - - "~>"
166
180
  - !ruby/object:Gem::Version
167
- version: 5.2.2
181
+ version: '6.0'
168
182
  - !ruby/object:Gem::Dependency
169
183
  name: activesupport
170
184
  requirement: !ruby/object:Gem::Requirement
171
185
  requirements:
172
186
  - - "~>"
173
187
  - !ruby/object:Gem::Version
174
- version: 5.2.2
188
+ version: '6.0'
175
189
  type: :runtime
176
190
  prerelease: false
177
191
  version_requirements: !ruby/object:Gem::Requirement
178
192
  requirements:
179
193
  - - "~>"
180
194
  - !ruby/object:Gem::Version
181
- version: 5.2.2
195
+ version: '6.0'
182
196
  - !ruby/object:Gem::Dependency
183
197
  name: railties
184
198
  requirement: !ruby/object:Gem::Requirement
185
199
  requirements:
186
200
  - - "~>"
187
201
  - !ruby/object:Gem::Version
188
- version: 5.2.2
202
+ version: '6.0'
189
203
  type: :runtime
190
204
  prerelease: false
191
205
  version_requirements: !ruby/object:Gem::Requirement
192
206
  requirements:
193
207
  - - "~>"
194
208
  - !ruby/object:Gem::Version
195
- version: 5.2.2
209
+ version: '6.0'
196
210
  - !ruby/object:Gem::Dependency
197
211
  name: redcarpet
198
212
  requirement: !ruby/object:Gem::Requirement
@@ -210,16 +224,15 @@ dependencies:
210
224
  description: Common code, such as validators and mixins, that are shared between ActiveModels
211
225
  in metasploit-framework and ActiveRecords in metasploit_data_models.
212
226
  email:
213
- - luke_imhoff@rapid7.com
227
+ - msfdev@metasploit.com
214
228
  executables: []
215
229
  extensions: []
216
230
  extra_rdoc_files: []
217
231
  files:
218
- - ".coveralls.yml"
232
+ - ".github/workflows/verify.yml"
219
233
  - ".gitignore"
220
234
  - ".rspec"
221
235
  - ".simplecov"
222
- - ".travis.yml"
223
236
  - ".yardopts"
224
237
  - CHANGELOG.md
225
238
  - CONTRIBUTING.md
@@ -268,7 +281,6 @@ files:
268
281
  - app/validators/nil_validator.rb
269
282
  - app/validators/parameters_validator.rb
270
283
  - app/validators/password_is_strong_validator.rb
271
- - bin/rails
272
284
  - config/locales/en.yml
273
285
  - lib/metasploit/model.rb
274
286
  - lib/metasploit/model/association.rb
@@ -358,7 +370,7 @@ files:
358
370
  - spec/dummy/config/application.rb
359
371
  - spec/dummy/config/boot.rb
360
372
  - spec/dummy/config/database.yml.example
361
- - spec/dummy/config/database.yml.travis
373
+ - spec/dummy/config/database.yml.github_actions
362
374
  - spec/dummy/config/environment.rb
363
375
  - spec/dummy/config/environments/development.rb
364
376
  - spec/dummy/config/environments/production.rb
@@ -437,7 +449,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
437
449
  requirements:
438
450
  - - ">="
439
451
  - !ruby/object:Gem::Version
440
- version: 2.2.0
452
+ version: 2.4.0
441
453
  required_rubygems_version: !ruby/object:Gem::Requirement
442
454
  requirements:
443
455
  - - ">="
@@ -498,7 +510,7 @@ test_files:
498
510
  - spec/dummy/config/application.rb
499
511
  - spec/dummy/config/boot.rb
500
512
  - spec/dummy/config/database.yml.example
501
- - spec/dummy/config/database.yml.travis
513
+ - spec/dummy/config/database.yml.github_actions
502
514
  - spec/dummy/config/environment.rb
503
515
  - spec/dummy/config/environments/development.rb
504
516
  - spec/dummy/config/environments/production.rb
metadata.gz.sig CHANGED
Binary file
data/.coveralls.yml DELETED
@@ -1 +0,0 @@
1
- service_name: travis-ci
data/.travis.yml DELETED
@@ -1,21 +0,0 @@
1
- dist: trusty
2
- group: stable
3
- sudo: false
4
- cache: bundler
5
- language: ruby
6
- addons:
7
- postgresql: '9.6'
8
- apt:
9
- packages:
10
- - graphviz
11
- rvm:
12
- - 2.6.5
13
- before_install:
14
- - gem install bundler
15
- - cp spec/dummy/config/database.yml.travis spec/dummy/config/database.yml
16
- - bundle install
17
- - bundle exec rake --version
18
- - bundle exec rake db:test:prepare
19
- script:
20
- - bundle exec rake spec
21
- - bundle exec rake yard
data/bin/rails DELETED
@@ -1,14 +0,0 @@
1
- #!/usr/bin/env ruby
2
- # This command will automatically be run when you run "rails" with Rails gems
3
- # installed from the root of your application.
4
-
5
- ENGINE_ROOT = File.expand_path('..', __dir__)
6
- ENGINE_PATH = File.expand_path('../lib/metasploit/model/engine', __dir__)
7
- APP_PATH = File.expand_path('../test/dummy/config/application', __dir__)
8
-
9
- # Set up gems listed in the Gemfile.
10
- ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__)
11
- require 'bundler/setup' if File.exist?(ENV['BUNDLE_GEMFILE'])
12
-
13
- require 'rails/all'
14
- require 'rails/engine/commands'