metasploit-erd 3.0.1 → 3.0.2
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 +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/.github/workflows/verify.yml +64 -0
- data/Gemfile +0 -2
- data/README.md +1 -1
- data/lib/metasploit/erd/version.rb +1 -1
- data/spec/spec_helper.rb +1 -10
- metadata +3 -4
- metadata.gz.sig +0 -0
- data/.coveralls.yml +0 -1
- data/.travis.yml +0 -14
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 734f972ac50cadb23d37c83099d61132ec43e01c4af6872531be3aa5c063b4a8
|
4
|
+
data.tar.gz: 34cbc519ee6d107e64b9a4e18f9b9e2d84563f987be6747469a3736953f16461
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ec97c2af7fe26753ca39bb8738ca762a5a314ea8649641c0a8f7de90c6b392634806aaa321f04ce0fb531b54d5ca12aeb3cf0e06d6d221d4d0dd0a3b58d0c4d4
|
7
|
+
data.tar.gz: d6d090cc84609d9bffa881af8ba150674baa7af3ed0debc09056e132bf7de6242f6e03ac744d0edc47a99416a43f7d1a65f434b01e8a6d2c2cc2d657247e5e1b
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
@@ -0,0 +1,64 @@
|
|
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
|
+
strategy:
|
17
|
+
fail-fast: true
|
18
|
+
matrix:
|
19
|
+
ruby:
|
20
|
+
- 2.5
|
21
|
+
- 2.6
|
22
|
+
- 2.7
|
23
|
+
|
24
|
+
env:
|
25
|
+
RAILS_ENV: test
|
26
|
+
|
27
|
+
name: Ruby ${{ matrix.ruby }}
|
28
|
+
steps:
|
29
|
+
- name: Install system dependencies
|
30
|
+
run: sudo apt-get install graphviz
|
31
|
+
|
32
|
+
- name: Checkout code
|
33
|
+
uses: actions/checkout@v2
|
34
|
+
|
35
|
+
- uses: actions/setup-ruby@v1
|
36
|
+
with:
|
37
|
+
ruby-version: ${{ matrix.ruby }}
|
38
|
+
|
39
|
+
- name: Setup bundler
|
40
|
+
run: |
|
41
|
+
gem install bundler
|
42
|
+
- uses: actions/cache@v2
|
43
|
+
with:
|
44
|
+
path: vendor/bundle
|
45
|
+
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
|
46
|
+
restore-keys: |
|
47
|
+
${{ runner.os }}-gems-
|
48
|
+
- name: Bundle install
|
49
|
+
run: |
|
50
|
+
bundle config path vendor/bundle
|
51
|
+
bundle install --jobs 4 --retry 3
|
52
|
+
|
53
|
+
- name: Test
|
54
|
+
run: |
|
55
|
+
bundle exec rake spec
|
56
|
+
bundle exec rake yard
|
57
|
+
|
58
|
+
- name: Upload coverage report
|
59
|
+
uses: actions/upload-artifact@v2
|
60
|
+
with:
|
61
|
+
name: coverage-${{ matrix.ruby }}
|
62
|
+
path: |
|
63
|
+
coverage/
|
64
|
+
retention-days: 1
|
data/Gemfile
CHANGED
@@ -14,8 +14,6 @@ end
|
|
14
14
|
group :test do
|
15
15
|
# blank?
|
16
16
|
gem 'activesupport', '~> 5.2.2'
|
17
|
-
# Upload coverage reports to coveralls.io
|
18
|
-
gem 'coveralls', require: false
|
19
17
|
# code coverage of tests
|
20
18
|
gem 'simplecov', :require => false
|
21
19
|
# in-memory database for ActiveRecord association traversal
|
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Metasploit::ERD [](https://github.com/rapid7/metasploit-erd/actions/workflows/verify.yml)[](https://codeclimate.com/github/rapid7/metasploit-erd)[](https://coveralls.io/r/rapid7/metasploit-erd)[](https://gemnasium.com/rapid7/metasploit-erd)[](http://badge.fury.io/rb/metasploit-erd)
|
2
2
|
|
3
3
|
Traces the `belongs_to` associations on `ActiveRecord::Base.descendants` to find the minimum cluster in which all
|
4
4
|
foreign keys are fulfilled in the Entity-Relationship Diagram.'
|
data/spec/spec_helper.rb
CHANGED
@@ -2,17 +2,8 @@ require 'bundler/setup'
|
|
2
2
|
|
3
3
|
# require before 'metasploit/erd' so coverage is shown for files required by 'metasploit/erd'
|
4
4
|
require 'simplecov'
|
5
|
-
require 'coveralls'
|
6
5
|
|
7
|
-
|
8
|
-
# # don't generate local report as it is inaccessible on travis-ci, which is why coveralls is being used.
|
9
|
-
# SimpleCov.formatter = Coveralls::SimpleCov::Formatter
|
10
|
-
# else
|
11
|
-
SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter.new(
|
12
|
-
# either generate the local report
|
13
|
-
SimpleCov::Formatter::HTMLFormatter
|
14
|
-
)
|
15
|
-
# end
|
6
|
+
SimpleCov.formatter = SimpleCov::Formatter::HTMLFormatter
|
16
7
|
|
17
8
|
#
|
18
9
|
# Project
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metasploit-erd
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Metasploit Hackers
|
@@ -93,7 +93,7 @@ cert_chain:
|
|
93
93
|
EknWpNgVhohbot1lfVAMmIhdtOVaRVcQQixWPwprDj/ydB8ryDMDosIMcw+fkoXU
|
94
94
|
9GJsSaSRRYQ9UUkVL27b64okU8D48m8=
|
95
95
|
-----END CERTIFICATE-----
|
96
|
-
date:
|
96
|
+
date: 2021-04-28 00:00:00.000000000 Z
|
97
97
|
dependencies:
|
98
98
|
- !ruby/object:Gem::Dependency
|
99
99
|
name: metasploit-yard
|
@@ -188,11 +188,10 @@ executables: []
|
|
188
188
|
extensions: []
|
189
189
|
extra_rdoc_files: []
|
190
190
|
files:
|
191
|
-
- ".
|
191
|
+
- ".github/workflows/verify.yml"
|
192
192
|
- ".gitignore"
|
193
193
|
- ".rspec"
|
194
194
|
- ".simplecov"
|
195
|
-
- ".travis.yml"
|
196
195
|
- ".yardopts"
|
197
196
|
- CHANGELOG.md
|
198
197
|
- CONTRIBUTING.md
|
metadata.gz.sig
CHANGED
Binary file
|
data/.coveralls.yml
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
service_name: travis-ci
|