metasploit-erd 3.0.1 → 3.0.2

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
  SHA256:
3
- metadata.gz: d0aa22381479b20f36b918d79a44b7dc8568cc90aaecf196d42503a0c1fb05df
4
- data.tar.gz: d1b1fc44f3f4da0908867beccfbd93241cfe4c1cfa5f6ff0ef5a7b041e017560
3
+ metadata.gz: 734f972ac50cadb23d37c83099d61132ec43e01c4af6872531be3aa5c063b4a8
4
+ data.tar.gz: 34cbc519ee6d107e64b9a4e18f9b9e2d84563f987be6747469a3736953f16461
5
5
  SHA512:
6
- metadata.gz: 01bea57eaf1293105c3abac26636398ef240b9bf8e422e4aee70ca15d7443987ecf3373a741313196b2c2b137bc921d6a0e5af60308f80a2acf801b080a8b240
7
- data.tar.gz: 594f17123eeeb00730fd17fb220fa3d5d8c76558a84083805aaff4d13aa7b24bedef1f9a4e634a81726b73359766aa9268305ef2d75a213a57c84dbc48de9dd0
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 [![Build Status](https://travis-ci.org/rapid7/metasploit-erd.svg?branch=feature/port)](https://travis-ci.org/rapid7/metasploit-erd)[![Code Climate](https://codeclimate.com/github/rapid7/metasploit-erd.png)](https://codeclimate.com/github/rapid7/metasploit-erd)[![Coverage Status](https://coveralls.io/repos/rapid7/metasploit-erd/badge.png)](https://coveralls.io/r/rapid7/metasploit-erd)[![Dependency Status](https://gemnasium.com/rapid7/metasploit-erd.png)](https://gemnasium.com/rapid7/metasploit-erd)[![Gem Version](https://badge.fury.io/rb/metasploit-erd.png)](http://badge.fury.io/rb/metasploit-erd)
1
+ # Metasploit::ERD [![Build Status](https://github.com/rapid7/metasploit-erd/actions/workflows/verify.yml/badge.svg)](https://github.com/rapid7/metasploit-erd/actions/workflows/verify.yml)[![Code Climate](https://codeclimate.com/github/rapid7/metasploit-erd.png)](https://codeclimate.com/github/rapid7/metasploit-erd)[![Coverage Status](https://coveralls.io/repos/rapid7/metasploit-erd/badge.png)](https://coveralls.io/r/rapid7/metasploit-erd)[![Dependency Status](https://gemnasium.com/rapid7/metasploit-erd.png)](https://gemnasium.com/rapid7/metasploit-erd)[![Gem Version](https://badge.fury.io/rb/metasploit-erd.png)](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.'
@@ -1,7 +1,7 @@
1
1
  module Metasploit
2
2
  module ERD
3
3
  # VERSION is managed by GemRelease
4
- VERSION = '3.0.1'
4
+ VERSION = '3.0.2'
5
5
 
6
6
  # @return [String]
7
7
  #
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
- # if ENV['TRAVIS'] == 'true'
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.1
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: 2020-11-25 00:00:00.000000000 Z
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
- - ".coveralls.yml"
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
data/.travis.yml DELETED
@@ -1,14 +0,0 @@
1
- group: stable
2
- sudo: false
3
- language: ruby
4
- addons:
5
- apt:
6
- packages:
7
- - graphviz
8
- rvm:
9
- - 2.7.2
10
- before_install:
11
- - gem install bundler
12
- script:
13
- - bundle exec rake spec
14
- - bundle exec rake yard