You need to sign in or sign up before continuing.

metasploit-model 5.0.7 → 5.0.8

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: 77929f6a8ce2d169a2d48ce84f79310cb15d2895c947e83f5b576870c227dd7d
4
- data.tar.gz: d14e2a3981e1eecd50277401f457a82b105503d38c0c9f9bf868eee949c87381
3
+ metadata.gz: 0e856f40054d88e8b0f446f9d539b3e6cf82d7fdf4a57cfea6daee41f0ed6270
4
+ data.tar.gz: 1f501c26a8ea686c724ef8451eea88487ce3d1d7c78f71b4ad20afd4fcbede72
5
5
  SHA512:
6
- metadata.gz: ae932e70812b213fded1812f874688577cfbceb22253f1d692ebe0fa1cf1e426e03d906f743e2a7754e11cc9dce57c80a575f552fd61a1bb01c4edde919a7365
7
- data.tar.gz: 96ee57573e8ce31385355415d91f51d155ee5907e7b90145abff3a534c063e27909c9f2ee79f0e4878b0afaebdc5bcd798283c6ec8037ff253872968f400bcba
6
+ metadata.gz: be0373bf6d452064b3ff7f47dad4465a4fe27a0aeafbb196608c70885eeb7ed54df2455b9de75028cbcb4974e74e2da7a67f6c3b697065f124e9ab9c30895edc
7
+ data.tar.gz: f8431f19ea917c5774833392322da1ee1f5a85662d1e52e424a4aab117aef4ed50a2afd59b351261ca23419f247b0837c3fc2daca1dd72a1dac803140b0e193b
@@ -28,7 +28,6 @@ jobs:
28
28
  build:
29
29
  uses: rapid7/metasploit-framework/.github/workflows/shared_gem_verify_rails.yml@master
30
30
  with:
31
- dependencies: '["graphviz"]'
32
31
  test_commands: |
33
32
  cp spec/dummy/config/database.yml.github_actions spec/dummy/config/database.yml
34
33
  bundle exec rake --version
data/.yardopts CHANGED
@@ -1,5 +1,4 @@
1
1
  --markup markdown
2
- --plugin yard-metasploit-erd
3
2
  --private
4
3
  --protected
5
4
  {app,lib}/**/*.rb
data/Gemfile CHANGED
@@ -20,11 +20,9 @@ group :development, :test do
20
20
  end
21
21
 
22
22
  group :test do
23
- # rails is not used because activerecord should not be included, but rails would normally coordinate the versions
24
- # between its dependencies, which is now handled by this constraint.
25
-
26
- # Dummy app uses actionpack for ActionController, but not rails since it doesn't use activerecord.
23
+ # Rails components required by the dummy application.
27
24
  gem 'actionpack'
25
+ gem 'activerecord'
28
26
  # Engine tasks are loaded using railtie
29
27
  gem 'railties'
30
28
  gem 'rspec-rails'
@@ -38,6 +36,6 @@ group :test do
38
36
  gem 'shoulda-matchers'
39
37
  # code coverage of tests
40
38
  gem 'simplecov', :require => false
41
- # defines time zones for activesupport. Must be explicit since it is normally implicit with activerecord
39
+ # defines time zones for activesupport.
42
40
  gem 'tzinfo'
43
41
  end
data/Rakefile CHANGED
@@ -10,8 +10,8 @@ APP_RAKEFILE = File.expand_path('../spec/dummy/Rakefile', __FILE__)
10
10
 
11
11
  begin
12
12
  load 'rails/tasks/engine.rake'
13
- rescue LoadError
14
- puts "railties not in bundle, so can't load engine tasks."
13
+ rescue LoadError => error
14
+ puts "Can't load engine tasks: #{error.message}"
15
15
  print_without = true
16
16
  end
17
17
 
@@ -60,7 +60,6 @@ else
60
60
  end
61
61
 
62
62
  if print_without
63
- puts "Bundle currently installed '--without #{Bundler.settings.without.join(' ')}'."
64
- puts "To clear the without option do `bundle install --without ''` (the --without flag with an empty string) or " \
65
- "`rm -rf .bundle` to remove the .bundle/config manually and then `bundle install`"
63
+ puts "Bundle currently installed '--without #{Array(Bundler.settings[:without]).join(' ')}'."
64
+ puts "To clear the without option, run `bundle config unset without` and then `bundle install`."
66
65
  end
@@ -1,7 +1,7 @@
1
1
  module Metasploit
2
2
  module Model
3
3
  # VERSION is managed by GemRelease
4
- VERSION = '5.0.7'
4
+ VERSION = '5.0.8'
5
5
 
6
6
  # @return [String]
7
7
  #
@@ -20,7 +20,6 @@ Gem::Specification.new do |spec|
20
20
  spec.required_ruby_version = '>= 2.7.0'
21
21
 
22
22
  spec.add_development_dependency 'metasploit-yard'
23
- spec.add_development_dependency 'metasploit-erd'
24
23
  spec.add_development_dependency 'rake'
25
24
  spec.add_development_dependency 'yard'
26
25
  spec.add_development_dependency 'e2mmap'
@@ -10,7 +10,7 @@
10
10
  #
11
11
  # It's strongly recommended that you check this file into your version control system.
12
12
 
13
- ActiveRecord::Schema[8.0].define(version: 0) do
13
+ ActiveRecord::Schema[8.1].define(version: 0) do
14
14
  # These are extensions that must be enabled in order to support this database
15
15
  enable_extension "pg_catalog.plpgsql"
16
16
 
@@ -5,7 +5,7 @@ RSpec.describe Metasploit::Model do
5
5
  described_class::VERSION
6
6
  }
7
7
 
8
- it 'is Metasploit::ERD::Version.full' do
8
+ it 'is Metasploit::Model::VERSION' do
9
9
  expect(version).to eq(Metasploit::Model::VERSION)
10
10
  end
11
11
  end
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: 5.0.7
4
+ version: 5.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Metasploit Hackers
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-11-12 00:00:00.000000000 Z
11
+ date: 2026-11-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: metasploit-yard
@@ -24,20 +24,6 @@ dependencies:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
- - !ruby/object:Gem::Dependency
28
- name: metasploit-erd
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - ">="
32
- - !ruby/object:Gem::Version
33
- version: '0'
34
- type: :development
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - ">="
39
- - !ruby/object:Gem::Version
40
- version: '0'
41
27
  - !ruby/object:Gem::Dependency
42
28
  name: rake
43
29
  requirement: !ruby/object:Gem::Requirement