metasploit-erd 2.0.5 → 4.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +1 -2
- data/.github/workflows/verify.yml +59 -0
- data/Gemfile +1 -7
- data/README.md +1 -1
- data/lib/metasploit/erd/entity/namespace.rb +2 -2
- data/lib/metasploit/erd/version.rb +1 -1
- data/metasploit-erd.gemspec +6 -7
- data/spec/metasploit/erd/relationship_spec.rb +1 -6
- data/spec/spec_helper.rb +1 -10
- data/spec/support/shared/contexts/active_record_base_connection.rb +2 -2
- data/spec/support/shared/contexts/active_record_base_descendants_cleaner.rb +8 -2
- metadata +94 -105
- 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
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 10e4973844b4fc5931df768f840c28bef034bc257b2fecd49ad0e1fe21f9ecd7
|
4
|
+
data.tar.gz: 867a798a795db7e71fe987223d04577b562aa014a3e31b0660bcb357e7cd7c9b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b56f37f9948a87c32ff8c1e4f8f48ad6177dcb32c59d2716950d32fd60661c455cc8b1d19aeb1567024c64931b45f33f6215588f4e4270055068248fe083f8ac
|
7
|
+
data.tar.gz: 5091c8bb0b57f483ece3c7b1c067abad33116bc19fb78b01a21a5d465317f31b4a7224d577a0de831ead970fc70f58ce08ee10df9caea9f65da10f0f2b2fcca4
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
@@ -1,2 +1 @@
|
|
1
|
-
|
2
|
-
��ؕ4n,��)m䞈�r�>��2�I�xO��\�B��j!����$��ԥ���0_��9�}*P|/�!�8��9���=�.�+�?����W�*l�k��ReV���
|
1
|
+
��z��+�+��;��=�ߙ��{���W��;^*k:)r>(��]P$F��y�Ӣ�y����{�Gڌ�@�Ďtu�ӛL�G<�m�_5�T��f!nٔ��Fg鄊�����h�J�JyX"�p}�p,�'�;*K��VTzv����1��ZD(ؕ�7�O�(=զ¡�;�l�1�zf����#�;����E�_cb���Z��>��Q�U����pCς�Z?b�%��.$1����^[EA�=�t�sV,_
|
@@ -0,0 +1,59 @@
|
|
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
|
+
|
43
|
+
- name: Bundle install
|
44
|
+
run: |
|
45
|
+
bundle config path vendor/bundle
|
46
|
+
bundle install --jobs 4 --retry 3
|
47
|
+
|
48
|
+
- name: Test
|
49
|
+
run: |
|
50
|
+
bundle exec rake spec
|
51
|
+
bundle exec rake yard
|
52
|
+
|
53
|
+
- name: Upload coverage report
|
54
|
+
uses: actions/upload-artifact@v2
|
55
|
+
with:
|
56
|
+
name: coverage-${{ matrix.ruby }}
|
57
|
+
path: |
|
58
|
+
coverage/
|
59
|
+
retention-days: 1
|
data/Gemfile
CHANGED
@@ -8,16 +8,10 @@ group :development do
|
|
8
8
|
gem 'kramdown', platforms: :jruby
|
9
9
|
# markdown formatting for yard
|
10
10
|
gem 'redcarpet', platforms: :ruby
|
11
|
-
|
12
|
-
# 0.8.7.4 has a bug where setters are not documented when @!attribute is used
|
13
|
-
gem 'yard', '< 0.8.7.4'
|
11
|
+
gem 'yard'
|
14
12
|
end
|
15
13
|
|
16
14
|
group :test do
|
17
|
-
# blank?
|
18
|
-
gem 'activesupport', '~> 4.2.6'
|
19
|
-
# Upload coverage reports to coveralls.io
|
20
|
-
gem 'coveralls', require: false
|
21
15
|
# code coverage of tests
|
22
16
|
gem 'simplecov', :require => false
|
23
17
|
# in-memory database for ActiveRecord association traversal
|
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Metasploit::ERD [![Build Status](https://
|
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.'
|
@@ -31,7 +31,7 @@ class Metasploit::ERD::Entity::Namespace
|
|
31
31
|
# @return [Array<Class<ActiveRecord::Base>
|
32
32
|
def classes
|
33
33
|
ActiveRecord::Base.descendants.select { |klass|
|
34
|
-
klass.
|
34
|
+
klass.module_parents.any? { |parent|
|
35
35
|
parent.name == namespace_name
|
36
36
|
}
|
37
37
|
}
|
@@ -63,4 +63,4 @@ class Metasploit::ERD::Entity::Namespace
|
|
63
63
|
|
64
64
|
super(super_options)
|
65
65
|
end
|
66
|
-
end
|
66
|
+
end
|
data/metasploit-erd.gemspec
CHANGED
@@ -6,8 +6,8 @@ require 'metasploit/erd/version'
|
|
6
6
|
Gem::Specification.new do |spec|
|
7
7
|
spec.name = 'metasploit-erd'
|
8
8
|
spec.version = Metasploit::ERD::VERSION
|
9
|
-
spec.authors = ['
|
10
|
-
spec.email = ['
|
9
|
+
spec.authors = ['Metasploit Hackers']
|
10
|
+
spec.email = ['msfdev@metasploit.com']
|
11
11
|
spec.summary = 'Extensions to rails-erd to find clusters of models to generate subdomains specific to each model'
|
12
12
|
spec.description = 'Traces the belongs_to associations on ActiveRecord::Base descendants to find the minimum ' \
|
13
13
|
'cluster in which all foreign keys are fulfilled in the Entity-Relationship Diagram.'
|
@@ -21,12 +21,11 @@ Gem::Specification.new do |spec|
|
|
21
21
|
|
22
22
|
spec.required_ruby_version = '>= 2.2.0'
|
23
23
|
|
24
|
-
spec.add_development_dependency 'bundler', '~> 1.5'
|
25
24
|
spec.add_development_dependency 'metasploit-yard'
|
26
25
|
spec.add_development_dependency 'rake'
|
27
|
-
spec.add_development_dependency 'rspec'
|
26
|
+
spec.add_development_dependency 'rspec'
|
28
27
|
|
29
|
-
spec.add_runtime_dependency 'activerecord', '~>
|
30
|
-
spec.add_runtime_dependency 'activesupport', '~>
|
31
|
-
spec.add_runtime_dependency 'rails-erd'
|
28
|
+
spec.add_runtime_dependency 'activerecord', '~> 6.0'
|
29
|
+
spec.add_runtime_dependency 'activesupport', '~> 6.0'
|
30
|
+
spec.add_runtime_dependency 'rails-erd'
|
32
31
|
end
|
@@ -124,13 +124,10 @@ RSpec.describe Metasploit::ERD::Relationship do
|
|
124
124
|
|
125
125
|
ActiveRecord::Migration.create_table :owners do |t|
|
126
126
|
t.references :thing
|
127
|
-
|
128
|
-
t.timestamp
|
129
127
|
end
|
130
128
|
|
131
129
|
things.each do |thing|
|
132
130
|
ActiveRecord::Migration.create_table thing.table_name do |t|
|
133
|
-
t.timestamp
|
134
131
|
end
|
135
132
|
end
|
136
133
|
end
|
@@ -210,8 +207,6 @@ RSpec.describe Metasploit::ERD::Relationship do
|
|
210
207
|
group_names.each do |group_name|
|
211
208
|
t.references group_name.underscore.to_sym
|
212
209
|
end
|
213
|
-
|
214
|
-
t.timestamp
|
215
210
|
end
|
216
211
|
|
217
212
|
polymorphics_by_group_name.each do |group_name, polymorphics|
|
@@ -241,4 +236,4 @@ RSpec.describe Metasploit::ERD::Relationship do
|
|
241
236
|
end
|
242
237
|
end
|
243
238
|
end
|
244
|
-
end
|
239
|
+
end
|
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
|
@@ -6,6 +6,12 @@ RSpec.shared_context 'ActiveRecord::Base.descendants cleaner' do
|
|
6
6
|
after(:example) do
|
7
7
|
# `ActiveSupport::DescendantsTracker.clear` will not clear ActiveRecord::Base subclasses because
|
8
8
|
# ActiveSupport::Dependencies is loaded
|
9
|
-
ActiveRecord::
|
9
|
+
if ActiveRecord.version >= Gem::Version.new("6.0.0.rc1")
|
10
|
+
cv = ActiveSupport::DescendantsTracker.class_variable_get(:@@direct_descendants)
|
11
|
+
cv.delete(ActiveRecord::Base)
|
12
|
+
ActiveSupport::DescendantsTracker.class_variable_set(:@@direct_descendants, cv)
|
13
|
+
else
|
14
|
+
ActiveRecord::Base.direct_descendants.clear
|
15
|
+
end
|
10
16
|
end
|
11
|
-
end
|
17
|
+
end
|
metadata
CHANGED
@@ -1,109 +1,100 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metasploit-erd
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 4.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
7
|
+
- Metasploit Hackers
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain:
|
11
11
|
- |
|
12
12
|
-----BEGIN CERTIFICATE-----
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
13
|
+
MIIDtzCCAp+gAwIBAgIQDOfg5RfYRv6P5WD8G/AwOTANBgkqhkiG9w0BAQUFADBl
|
14
|
+
MQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3
|
15
|
+
d3cuZGlnaWNlcnQuY29tMSQwIgYDVQQDExtEaWdpQ2VydCBBc3N1cmVkIElEIFJv
|
16
|
+
b3QgQ0EwHhcNMDYxMTEwMDAwMDAwWhcNMzExMTEwMDAwMDAwWjBlMQswCQYDVQQG
|
17
|
+
EwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3d3cuZGlnaWNl
|
18
|
+
cnQuY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hvcNAQEL
|
89
|
+
BQADggEBAN+GL5/myPWg7oH4mVrG7/OhXF1MoYQF0ddaNiqaweEHMuKJBQCVZRbL
|
90
|
+
37HojoKXXv2yyRJBCeTB+ojrxX+5PdLVZa0ss7toWzJ2A1poPXZ1eZvm5xeFD32z
|
91
|
+
YQaTmmNWNI3PCDTyJ2PXUc+bDiNNwcZ7yc5o78UNRvp9Jxghya17Q76c9Ov9wvnv
|
92
|
+
dxxQKWGOQy0m4fBrkyjAyH9Djjn81RbQrqYgPuhd5nD0HjN3VUQLhQbIJrk9TVs0
|
93
|
+
EknWpNgVhohbot1lfVAMmIhdtOVaRVcQQixWPwprDj/ydB8ryDMDosIMcw+fkoXU
|
94
|
+
9GJsSaSRRYQ9UUkVL27b64okU8D48m8=
|
90
95
|
-----END CERTIFICATE-----
|
91
|
-
date:
|
96
|
+
date: 2021-04-29 00:00:00.000000000 Z
|
92
97
|
dependencies:
|
93
|
-
- !ruby/object:Gem::Dependency
|
94
|
-
name: bundler
|
95
|
-
requirement: !ruby/object:Gem::Requirement
|
96
|
-
requirements:
|
97
|
-
- - "~>"
|
98
|
-
- !ruby/object:Gem::Version
|
99
|
-
version: '1.5'
|
100
|
-
type: :development
|
101
|
-
prerelease: false
|
102
|
-
version_requirements: !ruby/object:Gem::Requirement
|
103
|
-
requirements:
|
104
|
-
- - "~>"
|
105
|
-
- !ruby/object:Gem::Version
|
106
|
-
version: '1.5'
|
107
98
|
- !ruby/object:Gem::Dependency
|
108
99
|
name: metasploit-yard
|
109
100
|
requirement: !ruby/object:Gem::Requirement
|
@@ -136,72 +127,71 @@ dependencies:
|
|
136
127
|
name: rspec
|
137
128
|
requirement: !ruby/object:Gem::Requirement
|
138
129
|
requirements:
|
139
|
-
- - "
|
130
|
+
- - ">="
|
140
131
|
- !ruby/object:Gem::Version
|
141
|
-
version: '
|
132
|
+
version: '0'
|
142
133
|
type: :development
|
143
134
|
prerelease: false
|
144
135
|
version_requirements: !ruby/object:Gem::Requirement
|
145
136
|
requirements:
|
146
|
-
- - "
|
137
|
+
- - ">="
|
147
138
|
- !ruby/object:Gem::Version
|
148
|
-
version: '
|
139
|
+
version: '0'
|
149
140
|
- !ruby/object:Gem::Dependency
|
150
141
|
name: activerecord
|
151
142
|
requirement: !ruby/object:Gem::Requirement
|
152
143
|
requirements:
|
153
144
|
- - "~>"
|
154
145
|
- !ruby/object:Gem::Version
|
155
|
-
version:
|
146
|
+
version: '6.0'
|
156
147
|
type: :runtime
|
157
148
|
prerelease: false
|
158
149
|
version_requirements: !ruby/object:Gem::Requirement
|
159
150
|
requirements:
|
160
151
|
- - "~>"
|
161
152
|
- !ruby/object:Gem::Version
|
162
|
-
version:
|
153
|
+
version: '6.0'
|
163
154
|
- !ruby/object:Gem::Dependency
|
164
155
|
name: activesupport
|
165
156
|
requirement: !ruby/object:Gem::Requirement
|
166
157
|
requirements:
|
167
158
|
- - "~>"
|
168
159
|
- !ruby/object:Gem::Version
|
169
|
-
version:
|
160
|
+
version: '6.0'
|
170
161
|
type: :runtime
|
171
162
|
prerelease: false
|
172
163
|
version_requirements: !ruby/object:Gem::Requirement
|
173
164
|
requirements:
|
174
165
|
- - "~>"
|
175
166
|
- !ruby/object:Gem::Version
|
176
|
-
version:
|
167
|
+
version: '6.0'
|
177
168
|
- !ruby/object:Gem::Dependency
|
178
169
|
name: rails-erd
|
179
170
|
requirement: !ruby/object:Gem::Requirement
|
180
171
|
requirements:
|
181
|
-
- - "
|
172
|
+
- - ">="
|
182
173
|
- !ruby/object:Gem::Version
|
183
|
-
version: '
|
174
|
+
version: '0'
|
184
175
|
type: :runtime
|
185
176
|
prerelease: false
|
186
177
|
version_requirements: !ruby/object:Gem::Requirement
|
187
178
|
requirements:
|
188
|
-
- - "
|
179
|
+
- - ">="
|
189
180
|
- !ruby/object:Gem::Version
|
190
|
-
version: '
|
181
|
+
version: '0'
|
191
182
|
description: Traces the belongs_to associations on ActiveRecord::Base descendants
|
192
183
|
to find the minimum cluster in which all foreign keys are fulfilled in the Entity-Relationship
|
193
184
|
Diagram.
|
194
185
|
email:
|
195
|
-
-
|
186
|
+
- msfdev@metasploit.com
|
196
187
|
executables: []
|
197
188
|
extensions: []
|
198
189
|
extra_rdoc_files: []
|
199
190
|
files:
|
200
|
-
- ".
|
191
|
+
- ".github/workflows/verify.yml"
|
201
192
|
- ".gitignore"
|
202
193
|
- ".rspec"
|
203
194
|
- ".simplecov"
|
204
|
-
- ".travis.yml"
|
205
195
|
- ".yardopts"
|
206
196
|
- CHANGELOG.md
|
207
197
|
- CONTRIBUTING.md
|
@@ -251,7 +241,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
251
241
|
version: '0'
|
252
242
|
requirements: []
|
253
243
|
rubyforge_project:
|
254
|
-
rubygems_version: 2.
|
244
|
+
rubygems_version: 2.7.10
|
255
245
|
signing_key:
|
256
246
|
specification_version: 4
|
257
247
|
summary: Extensions to rails-erd to find clusters of models to generate subdomains
|
@@ -267,4 +257,3 @@ test_files:
|
|
267
257
|
- spec/support/shared/contexts/active_record_base_connection.rb
|
268
258
|
- spec/support/shared/contexts/active_record_base_descendants_cleaner.rb
|
269
259
|
- spec/support/shared/examples/metasploit/erd/clusterable.rb
|
270
|
-
has_rdoc:
|
metadata.gz.sig
CHANGED
Binary file
|
data/.coveralls.yml
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
service_name: travis-ci
|