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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ea89cb73f3c304f82922bb25c60bcba04fb60328f77426217dad73c7e12d383b
4
- data.tar.gz: 2b716c73cbdb2d0709fd40b19a6cedc378a4f6602bed8f5cc49e2d5567299120
3
+ metadata.gz: 7b3a939e194d62caef3eb9d618ed95f24d0cdd8536463890ab8bd68029c73f76
4
+ data.tar.gz: e5cc4ab8e89c9119438b512b3a36e0b56e1ffe2ed909b2e7b4bd068052589ee2
5
5
  SHA512:
6
- metadata.gz: 202a63bdad74ce4b362c2c5b2a919d8a35fe3f3072f22a745b68663915ccd91f3178828019863194123b5586af7c35d0630f74fe6b7ffa2b489e10899e5a323f
7
- data.tar.gz: 3bea7bab16fc6fd2fed1c852aa7cbcb2f08c0a8c9b5a112f8456fb7296d8a0811c3489a0ec15fa6a21418aae69c8620121fb8e32a4bca50c0d9812e8c4ddc52a
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
@@ -1,7 +1,7 @@
1
1
  module Metasploit
2
2
  module ERD
3
3
  # VERSION is managed by GemRelease
4
- VERSION = '4.0.4'
4
+ VERSION = '5.0.1'
5
5
 
6
6
  # @return [String]
7
7
  #
@@ -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.2.0'
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', '~> 6.0'
29
- spec.add_runtime_dependency 'activesupport', '~> 6.0'
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.descendants cleaner'
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,5 +1,5 @@
1
1
  RSpec.describe Metasploit::ERD::Entity::Class do
2
- include_context 'ActiveRecord::Base.descendants cleaner'
2
+ include_context 'ActiveRecord::Base.subclasses cleaner'
3
3
 
4
4
  subject(:class_entity) {
5
5
  described_class.new(klass)
@@ -1,5 +1,5 @@
1
1
  RSpec.describe Metasploit::ERD::Entity::Namespace do
2
- include_context 'ActiveRecord::Base.descendants cleaner'
2
+ include_context 'ActiveRecord::Base.subclasses cleaner'
3
3
 
4
4
  subject(:namespace_entity) {
5
5
  described_class.new(namespace_name)
@@ -1,6 +1,6 @@
1
1
  RSpec.describe Metasploit::ERD::Relationship do
2
2
  include_context 'ActiveRecord::Base connection'
3
- include_context 'ActiveRecord::Base.descendants cleaner'
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.descendants cleaner' do
1
+ RSpec.shared_context 'ActiveRecord::Base.subclasses cleaner' do
2
2
  before(:example) do
3
- expect(ActiveRecord::Base.direct_descendants).to be_empty
3
+ expect(ActiveRecord::Base.subclasses).to be_empty
4
4
  end
5
5
 
6
6
  after(:example) do
7
- # `ActiveSupport::DescendantsTracker.clear` will not clear ActiveRecord::Base subclasses because
8
- # ActiveSupport::Dependencies is loaded
9
- if ActiveRecord.version >= Gem::Version.new("6.0.0.rc1")
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
- �f�C��O�Oqr/R�rk�(��~�_k���*��|�� ۯ -�$� gE�̨�P�{Ύ(�E�JE��9=w�?FC�q���]��G<U6@��)�!Wk5�+�dh��k3c��D/}��cLnI͍�?߽74b������[��;3��]��FRS�� |��AŁ� ��ٰ�Qjd���'�sNo�����t�`T�$���`�bC5 �˧��5Kmdm
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
+ ���Yzoy `Ȃ�7NF�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.0.4
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: 2022-09-02 00:00:00.000000000 Z
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: '6.0'
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: '6.0'
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: '6.0'
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: '6.0'
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.2.0
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
- rubyforge_project:
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
- ����"jr(�|'^( ]�|2y�?. �+�x��6��A������Sh�;KW 1�@/U�~���cNKU���o��\ k�7��
2
- P�)2������Abk��ͺ�d��_�X�P<�V>&�YJڐV���do���Y�`h���_�}8���9���Z�x��T|Ix֌�'}�Xg�u�^�F?��{8�.�,��Aܣ�J�uBX �D�0����6ݤ���&����'���f�2�%cG���v��T:
1
+ AHr�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��b8T��)�9��ҷFL�������� }ħ���+ަ���J�W��g]