metasploit-erd 4.0.4 → 5.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/.github/workflows/verify.yml +6 -5
- data/lib/metasploit/erd/version.rb +1 -1
- data/metasploit-erd.gemspec +3 -3
- data/spec/metasploit/erd/cluster_spec.rb +2 -2
- data/spec/metasploit/erd/entity/class_spec.rb +1 -1
- data/spec/metasploit/erd/entity/namespace_spec.rb +1 -1
- data/spec/metasploit/erd/relationship_spec.rb +1 -1
- data/spec/support/shared/contexts/active_record_base_descendants_cleaner.rb +6 -7
- data.tar.gz.sig +2 -3
- metadata +8 -9
- metadata.gz.sig +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7b3a939e194d62caef3eb9d618ed95f24d0cdd8536463890ab8bd68029c73f76
|
4
|
+
data.tar.gz: e5cc4ab8e89c9119438b512b3a36e0b56e1ffe2ed909b2e7b4bd068052589ee2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c73d4f721a5cb4fcb5144202279be955d0244a52f41ff35636eb3ed3d7f6ffccdd983e484ffa9886ea72d3eab0ef388694233ac649b20ab74d28065361a1cb54
|
7
|
+
data.tar.gz: b016ec2b7efd5051b4ee4e6774e297d35b3c3969ec9e0fd29d522fec27ea369cffe3326e360737a339cad5177882b946d69df373191c8211a9e026d97fd4a91b
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
@@ -17,15 +17,16 @@ jobs:
|
|
17
17
|
fail-fast: true
|
18
18
|
matrix:
|
19
19
|
ruby:
|
20
|
-
- 2.7
|
21
|
-
- 3.0
|
22
|
-
- 3.1
|
20
|
+
- '2.7'
|
21
|
+
- '3.0'
|
22
|
+
- '3.1'
|
23
|
+
- '3.2'
|
23
24
|
os:
|
24
25
|
- ubuntu-20.04
|
25
26
|
- ubuntu-latest
|
26
27
|
exclude:
|
27
|
-
- { os: ubuntu-latest, ruby: 2.7 }
|
28
|
-
- { os: ubuntu-latest, ruby: 3.0 }
|
28
|
+
- { os: ubuntu-latest, ruby: '2.7' }
|
29
|
+
- { os: ubuntu-latest, ruby: '3.0' }
|
29
30
|
|
30
31
|
env:
|
31
32
|
RAILS_ENV: test
|
data/metasploit-erd.gemspec
CHANGED
@@ -19,13 +19,13 @@ Gem::Specification.new do |spec|
|
|
19
19
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
20
20
|
spec.require_paths = ['lib']
|
21
21
|
|
22
|
-
spec.required_ruby_version = '>= 2.
|
22
|
+
spec.required_ruby_version = '>= 2.7.0'
|
23
23
|
|
24
24
|
spec.add_development_dependency 'metasploit-yard'
|
25
25
|
spec.add_development_dependency 'rake'
|
26
26
|
spec.add_development_dependency 'rspec'
|
27
27
|
|
28
|
-
spec.add_runtime_dependency 'activerecord', '~>
|
29
|
-
spec.add_runtime_dependency 'activesupport', '~>
|
28
|
+
spec.add_runtime_dependency 'activerecord', '~> 7.0'
|
29
|
+
spec.add_runtime_dependency 'activesupport', '~> 7.0'
|
30
30
|
spec.add_runtime_dependency 'rails-erd'
|
31
31
|
end
|
@@ -1,6 +1,6 @@
|
|
1
1
|
RSpec.describe Metasploit::ERD::Cluster do
|
2
2
|
include_context 'ActiveRecord::Base connection'
|
3
|
-
include_context 'ActiveRecord::Base.
|
3
|
+
include_context 'ActiveRecord::Base.subclasses cleaner'
|
4
4
|
|
5
5
|
subject(:cluster) {
|
6
6
|
described_class.new(*roots)
|
@@ -153,4 +153,4 @@ RSpec.describe Metasploit::ERD::Cluster do
|
|
153
153
|
it { is_expected.to be_empty }
|
154
154
|
end
|
155
155
|
end
|
156
|
-
end
|
156
|
+
end
|
@@ -1,6 +1,6 @@
|
|
1
1
|
RSpec.describe Metasploit::ERD::Relationship do
|
2
2
|
include_context 'ActiveRecord::Base connection'
|
3
|
-
include_context 'ActiveRecord::Base.
|
3
|
+
include_context 'ActiveRecord::Base.subclasses cleaner'
|
4
4
|
|
5
5
|
subject(:relationship) {
|
6
6
|
described_class.new(association)
|
@@ -1,17 +1,16 @@
|
|
1
|
-
RSpec.shared_context 'ActiveRecord::Base.
|
1
|
+
RSpec.shared_context 'ActiveRecord::Base.subclasses cleaner' do
|
2
2
|
before(:example) do
|
3
|
-
expect(ActiveRecord::Base.
|
3
|
+
expect(ActiveRecord::Base.subclasses).to be_empty
|
4
4
|
end
|
5
5
|
|
6
6
|
after(:example) do
|
7
|
-
|
8
|
-
|
9
|
-
|
7
|
+
if ActiveRecord.version >= Gem::Version.new("7.0.0")
|
8
|
+
subclasses = ActiveSupport::DescendantsTracker.subclasses(ActiveRecord::Base)
|
9
|
+
ActiveSupport::DescendantsTracker.clear(subclasses)
|
10
|
+
else
|
10
11
|
cv = ActiveSupport::DescendantsTracker.class_variable_get(:@@direct_descendants)
|
11
12
|
cv.delete(ActiveRecord::Base)
|
12
13
|
ActiveSupport::DescendantsTracker.class_variable_set(:@@direct_descendants, cv)
|
13
|
-
else
|
14
|
-
ActiveRecord::Base.direct_descendants.clear
|
15
14
|
end
|
16
15
|
end
|
17
16
|
end
|
data.tar.gz.sig
CHANGED
@@ -1,3 +1,2 @@
|
|
1
|
-
'
|
2
|
-
|
3
|
-
Z��cJ��R5�t���г�8��E�%�6���..�v3
|
1
|
+
��j����{��/��ӡ^����,�2�{+��:r'�L��J#,r�O�IdҢX��1��*&N�J���ݤ�u�����t��I�M��K�Wr�)J�fvZ>j�`�P��%.���53����M� �l��LOd�-�������!�b��\�T+�)��g9r4Tȥ���y�i��Y�L�V�qú��´3e���ފ�y%�N�e�t��ԝG2�&g�S3��N�
|
2
|
+
���Y�zoy `Ȃ�7�N�F�I��������M���,�
|
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:
|
4
|
+
version: 5.0.1
|
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: 2023-01-31 00:00:00.000000000 Z
|
97
97
|
dependencies:
|
98
98
|
- !ruby/object:Gem::Dependency
|
99
99
|
name: metasploit-yard
|
@@ -143,28 +143,28 @@ dependencies:
|
|
143
143
|
requirements:
|
144
144
|
- - "~>"
|
145
145
|
- !ruby/object:Gem::Version
|
146
|
-
version: '
|
146
|
+
version: '7.0'
|
147
147
|
type: :runtime
|
148
148
|
prerelease: false
|
149
149
|
version_requirements: !ruby/object:Gem::Requirement
|
150
150
|
requirements:
|
151
151
|
- - "~>"
|
152
152
|
- !ruby/object:Gem::Version
|
153
|
-
version: '
|
153
|
+
version: '7.0'
|
154
154
|
- !ruby/object:Gem::Dependency
|
155
155
|
name: activesupport
|
156
156
|
requirement: !ruby/object:Gem::Requirement
|
157
157
|
requirements:
|
158
158
|
- - "~>"
|
159
159
|
- !ruby/object:Gem::Version
|
160
|
-
version: '
|
160
|
+
version: '7.0'
|
161
161
|
type: :runtime
|
162
162
|
prerelease: false
|
163
163
|
version_requirements: !ruby/object:Gem::Requirement
|
164
164
|
requirements:
|
165
165
|
- - "~>"
|
166
166
|
- !ruby/object:Gem::Version
|
167
|
-
version: '
|
167
|
+
version: '7.0'
|
168
168
|
- !ruby/object:Gem::Dependency
|
169
169
|
name: rails-erd
|
170
170
|
requirement: !ruby/object:Gem::Requirement
|
@@ -233,15 +233,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
233
233
|
requirements:
|
234
234
|
- - ">="
|
235
235
|
- !ruby/object:Gem::Version
|
236
|
-
version: 2.
|
236
|
+
version: 2.7.0
|
237
237
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
238
238
|
requirements:
|
239
239
|
- - ">="
|
240
240
|
- !ruby/object:Gem::Version
|
241
241
|
version: '0'
|
242
242
|
requirements: []
|
243
|
-
|
244
|
-
rubygems_version: 2.7.10
|
243
|
+
rubygems_version: 3.1.4
|
245
244
|
signing_key:
|
246
245
|
specification_version: 4
|
247
246
|
summary: Extensions to rails-erd to find clusters of models to generate subdomains
|
metadata.gz.sig
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
AH�r�Lډ�v���s�:�z�o}�hCA�G�N��9pܬ�&�xl��Or�L*/Á)�.w��j������N�9��Z~�~�l��[0�s�m�0?����%U���w鑣��֢Xz6V�)l~�����/��"*��ɲP�����6z��Wc�kv"�|���p�!�H��%�F��=�6w?p��l�
|
2
|
+
g��Ѯ�m��b�8T��)�9��ҷFL�������� }ħ���+ަ���J�W��g]�
|