metasploit-concern 1.0.0 → 1.1.0

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
  SHA1:
3
- metadata.gz: 918204a1f8d89f24f6792ef36218eb6ce363b223
4
- data.tar.gz: 4a24684469136ff81746fd0949d5be5d73d5d2a7
3
+ metadata.gz: 75e357323f09f5dae2f3378a27f6bc0fb61385da
4
+ data.tar.gz: b96ab061f61e2f32fc497466c2357a5ee725eec7
5
5
  SHA512:
6
- metadata.gz: f6f24d7a276d757b1c70387ee42c89e3bd6e8be42e4663a0ff2ac0655ccc502b2ca560017a0817c425a163be0cf18855b369cef73be9fe647a2a640e94bbe818
7
- data.tar.gz: 072126337d5a0867464bb9bc91e772f72d9d443037dc659b0c3d756c849461d92fe7e3e8961cadbffb123a0f78bbbaca98ff88e2b2009f3f3c8f88ab0191b4c9
6
+ metadata.gz: 489f4a3f0e69a225dec0760a7e5447b93c0e61771fb096b2337bafe66a9698fe919c1ba73104bae424146ded6c3cbb277bafa8c69ef080d0aebc96b8d00bdea2
7
+ data.tar.gz: 1066b8bae8367a37d5a64c6d518f1a90a46fe1b598a7d848de3c8df57ee622bed504fe534e34b60d48868481dc632f02f59411a1dfae8949bb37d7c9b20013df
checksums.yaml.gz.sig ADDED
Binary file
data.tar.gz.sig ADDED
Binary file
@@ -1,9 +1,17 @@
1
1
  require 'rails'
2
+ require File.expand_path("../support_engines", __FILE__)
3
+
4
+ # Refinement that returns engines method to Rails::Engine::Railties
5
+ # so that we can access the engines deprecated in Rails 4.1
6
+
7
+
2
8
 
3
9
  module Metasploit
4
10
  module Concern
5
11
  # Rails engine for Metasploit::Concern that sets up an initializer to load the concerns from app/concerns in other
6
12
  # Rails engines.
13
+ using SupportEngines
14
+ # to apply the refinement
7
15
  class Engine < ::Rails::Engine
8
16
  #
9
17
  # `config`
@@ -0,0 +1,11 @@
1
+ # Ruby refinement.
2
+ module SupportEngines
3
+
4
+ refine Rails::Engine::Railties do
5
+ # Reimplementing ‘Rails::Application::Railties#Engines since it has been removed.
6
+ def engines
7
+ # method that returns all current engines
8
+ @engines ||= ::Rails::Engine.subclasses.map(&:instance)
9
+ end
10
+ end
11
+ end
@@ -1,43 +1,15 @@
1
1
  module Metasploit
2
2
  module Concern
3
- # Holds components of {VERSION} as defined by {http://semver.org/spec/v2.0.0.html semantic versioning v2.0.0}.
4
- module Version
5
- # The major version number.
6
- MAJOR = 1
7
- # The minor version number, scoped to the {MAJOR} version number.
8
- MINOR = 0
9
- # The patch number, scoped to the {MINOR} version number.
10
- PATCH = 0
11
-
12
- # The full version string, including the {MAJOR}, {MINOR}, {PATCH}, and optionally, the `PRERELEASE` in the
13
- # {http://semver.org/spec/v2.0.0.html semantic versioning v2.0.0} format.
14
- #
15
- # @return [String] '{MAJOR}.{MINOR}.{PATCH}' on master. '{MAJOR}.{MINOR}.{PATCH}-<PRERELEASE>' on any branch
16
- # other than master.
17
- def self.full
18
- version = "#{MAJOR}.#{MINOR}.#{PATCH}"
19
-
20
- if defined? PRERELEASE
21
- version = "#{version}-#{PRERELEASE}"
22
- end
23
-
24
- version
25
- end
26
-
27
- # The full gem version string, including the {MAJOR}, {MINOR}, {PATCH}, and optionally, the {PRERELEASE} in the
28
- # {http://guides.rubygems.org/specification-reference/#version RubyGems versioning} format.
29
- #
30
- # @return [String] '{MAJOR}.{MINOR}.{PATCH}' on master. '{MAJOR}.{MINOR}.{PATCH}.{PRERELEASE}' on any branch
31
- # other than master.
32
- def self.gem
33
- full.gsub('-', '.pre.')
34
- end
3
+ # VERSION is managed by GemRelease
4
+ VERSION = '1.1.0'
5
+
6
+ # @return [String]
7
+ #
8
+ # returns the VERSION
9
+ #
10
+
11
+ def self.version
12
+ VERSION
35
13
  end
36
-
37
- # @see Version.gem
38
- GEM_VERSION = Version.gem
39
-
40
- # @see Version.full
41
- VERSION = Version.full
42
14
  end
43
15
  end
@@ -1,4 +1,4 @@
1
- shared_examples_for 'Metasploit::Concern.run' do
1
+ RSpec.shared_examples_for 'Metasploit::Concern.run' do
2
2
  let(:load_hook_name) {
3
3
  described_class.name.underscore.gsub('/', '_').to_sym
4
4
  }
metadata CHANGED
@@ -1,14 +1,91 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metasploit-concern
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Luke Imhoff
8
8
  autorequire:
9
9
  bindir: bin
10
- cert_chain: []
11
- date: 2015-05-11 00:00:00.000000000 Z
10
+ cert_chain:
11
+ - |
12
+ -----BEGIN CERTIFICATE-----
13
+ MIIDdTCCAl2gAwIBAgILBAAAAAABFUtaw5QwDQYJKoZIhvcNAQEFBQAwVzELMAkG
14
+ A1UEBhMCQkUxGTAXBgNVBAoTEEdsb2JhbFNpZ24gbnYtc2ExEDAOBgNVBAsTB1Jv
15
+ b3QgQ0ExGzAZBgNVBAMTEkdsb2JhbFNpZ24gUm9vdCBDQTAeFw05ODA5MDExMjAw
16
+ MDBaFw0yODAxMjgxMjAwMDBaMFcxCzAJBgNVBAYTAkJFMRkwFwYDVQQKExBHbG9i
17
+ YWxTaWduIG52LXNhMRAwDgYDVQQLEwdSb290IENBMRswGQYDVQQDExJHbG9iYWxT
18
+ aWduIFJvb3QgQ0EwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDaDuaZ
19
+ jc6j40+Kfvvxi4Mla+pIH/EqsLmVEQS98GPR4mdmzxzdzxtIK+6NiY6arymAZavp
20
+ xy0Sy6scTHAHoT0KMM0VjU/43dSMUBUc71DuxC73/OlS8pF94G3VNTCOXkNz8kHp
21
+ 1Wrjsok6Vjk4bwY8iGlbKk3Fp1S4bInMm/k8yuX9ifUSPJJ4ltbcdG6TRGHRjcdG
22
+ snUOhugZitVtbNV4FpWi6cgKOOvyJBNPc1STE4U6G7weNLWLBYy5d4ux2x8gkasJ
23
+ U26Qzns3dLlwR5EiUWMWea6xrkEmCMgZK9F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R0fBDcwNTAzoDGgL4YtaHR0cDovL2NybC5n
76
+ bG9iYWxzaWduLmNvbS9ncy9nc2NvZGVzaWduZzIuY3JsMIGGBggrBgEFBQcBAQR6
77
+ MHgwQAYIKwYBBQUHMAKGNGh0dHA6Ly9zZWN1cmUuZ2xvYmFsc2lnbi5jb20vY2Fj
78
+ ZXJ0L2dzY29kZXNpZ25nMi5jcnQwNAYIKwYBBQUHMAGGKGh0dHA6Ly9vY3NwMi5n
79
+ bG9iYWxzaWduLmNvbS9nc2NvZGVzaWduZzIwHQYDVR0OBBYEFE536JwFx9SpaEi3
80
+ w8pcq2GRFA5BMB8GA1UdIwQYMBaAFAhu2Lacir/tPtfDdF3MgB+oL1B6MA0GCSqG
81
+ SIb3DQEBBQUAA4IBAQAGpGXHtFLjTTivV+xQPwtZhfPuJ7f+VGTMSAAYWmfzyHXM
82
+ YMFYUWJzSFcuVR2YfxtbS45P7U5Qopd7jBQ0Ygk5h2a+B5nE4+UlhHj665d0zpYM
83
+ 1eWndMaO6WBOYnqtNyi8Dqqc1foKZDNHEDggYhGso7OIBunup+N4sPL9PwQ3eYe6
84
+ mUu8z0E4GXYViaMPOFkqaYnoYgf2L+7L5zKYT4h/NE/P7kj7EbduHgy/v/aAIrNl
85
+ 2SpuQH+SWteq3NXkAmFEEqvLJQ4sbptZt8OP8ghL3pVAvZNFmww/YVszSkShSzcg
86
+ QdihYCSEL2drS2cFd50jBeq71sxUtxbv82DUa2b+
87
+ -----END CERTIFICATE-----
88
+ date: 2016-03-04 00:00:00.000000000 Z
12
89
  dependencies:
13
90
  - !ruby/object:Gem::Dependency
14
91
  name: metasploit-yard
@@ -16,14 +93,14 @@ dependencies:
16
93
  requirements:
17
94
  - - "~>"
18
95
  - !ruby/object:Gem::Version
19
- version: '1.0'
96
+ version: '1.1'
20
97
  type: :development
21
98
  prerelease: false
22
99
  version_requirements: !ruby/object:Gem::Requirement
23
100
  requirements:
24
101
  - - "~>"
25
102
  - !ruby/object:Gem::Version
26
- version: '1.0'
103
+ version: '1.1'
27
104
  - !ruby/object:Gem::Dependency
28
105
  name: activerecord
29
106
  requirement: !ruby/object:Gem::Requirement
@@ -104,6 +181,7 @@ files:
104
181
  - lib/metasploit/concern/error/base.rb
105
182
  - lib/metasploit/concern/error/eager_load.rb
106
183
  - lib/metasploit/concern/error/skip_autoload.rb
184
+ - lib/metasploit/concern/support_engines.rb
107
185
  - lib/metasploit/concern/version.rb
108
186
  - spec/support/shared/examples/metasploit/concern/run.rb
109
187
  homepage: https://github.com/rapid7/metasploit-concern
@@ -126,7 +204,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
126
204
  version: '0'
127
205
  requirements: []
128
206
  rubyforge_project:
129
- rubygems_version: 2.4.3
207
+ rubygems_version: 2.4.8
130
208
  signing_key:
131
209
  specification_version: 4
132
210
  summary: Automatically include Modules from app/concerns
metadata.gz.sig ADDED
@@ -0,0 +1,2 @@
1
+ i��!���.�t
2
+ �= :����?}WN�>5�wgYFm�]��t.<���0S��a��~��3jfWSn�@Z�(�; W�b�ψg�J1Ĝ���ܐ\��;�B_kbW�޾{6��R�ㅿ \��"����y�r=�}�����Z㦛��B�哫W�^ �����d3Im�ߜO���nH���� ���y)�)8>y�Ry����+��dC