metasploit-yard 1.0.0 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -13
- data/CONTRIBUTING.md +6 -0
- data/features/step_definitions/rvm.rb +0 -2
- data/features/support/env.rb +2 -0
- data/lib/metasploit/yard.rb +2 -0
- data/lib/metasploit/yard/aruba.rb +7 -1
- data/lib/metasploit/yard/aruba/rvm_env.rb +7 -5
- data/lib/metasploit/yard/aruba/rvm_env/export.rb +1 -13
- data/lib/metasploit/yard/aruba/rvm_env/prepend.rb +1 -13
- data/lib/metasploit/yard/aruba/rvm_env/unset.rb +0 -12
- data/lib/metasploit/yard/aruba/rvm_env/variable.rb +0 -12
- data/lib/metasploit/yard/railtie.rb +0 -2
- data/lib/metasploit/yard/version.rb +5 -5
- data/metasploit-yard.gemspec +14 -0
- data/spec/metasploit/yard/aruba/rvm_env/export_spec.rb +95 -0
- data/spec/metasploit/yard/aruba/rvm_env/prepend_spec.rb +95 -0
- metadata +49 -31
checksums.yaml
CHANGED
@@ -1,15 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
5
|
-
data.tar.gz: !binary |-
|
6
|
-
MGVlN2FkOTMzYjZmNTMzMTAwYjZkMmMxYjdjMDcwNjg4MzI0NTg0Yw==
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 0ef63c14dcb5a9f948a43ee8903f41e12e94b16c
|
4
|
+
data.tar.gz: e10531c7cbff07767963d4a464acd5d86f79f9c1
|
7
5
|
SHA512:
|
8
|
-
metadata.gz:
|
9
|
-
|
10
|
-
ZWRjNGRmNDdlOWY2NGFjODRiN2Y2MTJlODFkOWRiMjExNzI4YWE3ZjAwYzc5
|
11
|
-
ZDU3NjYwMGJmMDY1ZGE4NWY3ODNmNzY1YjZmMmZlYjMyODdhMWE=
|
12
|
-
data.tar.gz: !binary |-
|
13
|
-
OWYxZTVhNWQyYjU2Y2YwZjIzZDQ0ZjY0OTQ1YmY4NzM5Mjc0Y2RjNWZiMTFh
|
14
|
-
NWJiMTI3Y2IyYTI0ZjAyYzJhOGUxYzIyY2RjYTZmM2M3YWQ3ZGU3MGU0ZGVh
|
15
|
-
ODhlNTU1ODEwNDJlMGI5YjUwYzUzMjk3MDk1YTEzZjYyNzRlM2M=
|
6
|
+
metadata.gz: 8855aa062651f6c12bf96b9cfb20c4354a281172c9c82cd3542886fec13af43a2cb09fac58332a3a77abfa072857322188d8dbcb3d177d3617751a0314a0de8e
|
7
|
+
data.tar.gz: 26e2d66ddb603d995b588c4d4b20a2d12e52a3097e1128142778d9d87e6bbb884b11841740799b454be8284b2a4390d5e2e5c8cbbdb56637fccbc450188bd914
|
data/CONTRIBUTING.md
CHANGED
@@ -158,6 +158,12 @@ If your changes are a bug fix that don't impact the APIs, then:
|
|
158
158
|
- [ ] Increment [`PATCH`](lib/metasploit/yard/version.rb)
|
159
159
|
- [ ] Commit
|
160
160
|
|
161
|
+
## JRuby
|
162
|
+
- [ ] `rvm use jruby@metasploit-yard`
|
163
|
+
- [ ] `rm Gemfile.lock`
|
164
|
+
- [ ] `bundle install`
|
165
|
+
- [ ] `rake release`
|
166
|
+
|
161
167
|
## MRI Ruby
|
162
168
|
- [ ] `rvm use ruby-2.1@metasploit-yard`
|
163
169
|
- [ ] `rm Gemfile.lock`
|
data/features/support/env.rb
CHANGED
data/lib/metasploit/yard.rb
CHANGED
@@ -2,19 +2,21 @@
|
|
2
2
|
# Gems
|
3
3
|
#
|
4
4
|
|
5
|
+
require 'active_support/dependencies/autoload'
|
5
6
|
require 'active_support/core_ext/hash/keys'
|
6
7
|
|
7
8
|
#
|
8
9
|
# Project
|
9
10
|
#
|
10
11
|
|
11
|
-
require 'metasploit/yard/aruba'
|
12
|
-
|
13
12
|
# Helpers for parsing `rvm env` output
|
14
13
|
module Metasploit::Yard::Aruba::RvmEnv
|
15
|
-
|
16
|
-
|
17
|
-
|
14
|
+
extend ActiveSupport::Autoload
|
15
|
+
|
16
|
+
autoload :Export
|
17
|
+
autoload :Prepend
|
18
|
+
autoload :Unset
|
19
|
+
autoload :Variable
|
18
20
|
|
19
21
|
#
|
20
22
|
# CONSTANTS
|
@@ -1,15 +1,3 @@
|
|
1
|
-
#
|
2
|
-
# Gems
|
3
|
-
#
|
4
|
-
|
5
|
-
require 'active_support/core_ext/hash/keys'
|
6
|
-
|
7
|
-
#
|
8
|
-
# Project
|
9
|
-
#
|
10
|
-
|
11
|
-
require 'metasploit/yard/aruba/rvm_env/variable'
|
12
|
-
|
13
1
|
# Recognizes `export`s of a variable
|
14
2
|
class Metasploit::Yard::Aruba::RvmEnv::Export < Metasploit::Yard::Aruba::RvmEnv::Variable
|
15
3
|
#
|
@@ -17,7 +5,7 @@ class Metasploit::Yard::Aruba::RvmEnv::Export < Metasploit::Yard::Aruba::RvmEnv:
|
|
17
5
|
#
|
18
6
|
|
19
7
|
# Matches line with format `export <name>=<quote><value><quote>`
|
20
|
-
REGEXP = /\Aexport (?<name
|
8
|
+
REGEXP = /\Aexport (?<name>\S+?)(\s+;\s+\k<name>)?=(?<quote>"|')(?<value>.*?)\k<quote>\Z/
|
21
9
|
|
22
10
|
#
|
23
11
|
# Attributes
|
@@ -1,15 +1,3 @@
|
|
1
|
-
#
|
2
|
-
# Gems
|
3
|
-
#
|
4
|
-
|
5
|
-
require 'active_support/core_ext/hash/keys'
|
6
|
-
|
7
|
-
#
|
8
|
-
# Project
|
9
|
-
#
|
10
|
-
|
11
|
-
require 'metasploit/yard/aruba/rvm_env'
|
12
|
-
|
13
1
|
# Recognizes `export`s that are actually prepending values to the pre-existing value as is the case with `PATH`.
|
14
2
|
class Metasploit::Yard::Aruba::RvmEnv::Prepend < Metasploit::Yard::Aruba::RvmEnv::Export
|
15
3
|
#
|
@@ -19,7 +7,7 @@ class Metasploit::Yard::Aruba::RvmEnv::Prepend < Metasploit::Yard::Aruba::RvmEnv
|
|
19
7
|
# Matches line with format `export <name>=<quote><value>$<name><quote>`. `<value>` will contain trailing
|
20
8
|
# `File::PATH_SEPARATOR`, so it can be directly prepended to the current value of `<name>` to get the value to set
|
21
9
|
# the environment variable.
|
22
|
-
REGEXP = /\Aexport (?<name
|
10
|
+
REGEXP = /\Aexport (?<name>\S+?)(\s+;\s+\k<name>)?=(?<quote>"|')(?<value>.*?#{File::PATH_SEPARATOR})\$\k<name>\k<quote>\Z/
|
23
11
|
|
24
12
|
# Replaces {Metasploit::Yard::Aruba::RvmEnv::Export#value `:from` value} with
|
25
13
|
# {Metasploit::Yard::Aruba::RvmEnv::Export#value this variable's value}.
|
@@ -1,15 +1,3 @@
|
|
1
|
-
#
|
2
|
-
# Gems
|
3
|
-
#
|
4
|
-
|
5
|
-
require 'active_support/core_ext/hash/keys'
|
6
|
-
|
7
|
-
#
|
8
|
-
# Project
|
9
|
-
#
|
10
|
-
|
11
|
-
require 'metasploit/yard/aruba/rvm_env/variable'
|
12
|
-
|
13
1
|
# Recognizes `unset`s of environment variables.
|
14
2
|
class Metasploit::Yard::Aruba::RvmEnv::Unset < Metasploit::Yard::Aruba::RvmEnv::Variable
|
15
3
|
#
|
@@ -7,12 +7,12 @@ module Metasploit
|
|
7
7
|
# The minor version number, scoped to the {MAJOR} version number.
|
8
8
|
MINOR = 0
|
9
9
|
# The patch number, scoped to the {MINOR} version number.
|
10
|
-
PATCH =
|
10
|
+
PATCH = 2
|
11
11
|
|
12
|
-
# The full version string, including the {MAJOR}, {MINOR}, {PATCH}, and optionally, the
|
12
|
+
# The full version string, including the {MAJOR}, {MINOR}, {PATCH}, and optionally, the PRERELEASE in the
|
13
13
|
# {http://semver.org/spec/v2.0.0.html semantic versioning v2.0.0} format.
|
14
14
|
#
|
15
|
-
# @return [String] '{MAJOR}.{MINOR}.{PATCH}' on master. '{MAJOR}.{MINOR}.{PATCH}-
|
15
|
+
# @return [String] '{MAJOR}.{MINOR}.{PATCH}' on master. '{MAJOR}.{MINOR}.{PATCH}-PRERELEASE' on any branch
|
16
16
|
# other than master.
|
17
17
|
def self.full
|
18
18
|
version = "#{MAJOR}.#{MINOR}.#{PATCH}"
|
@@ -24,10 +24,10 @@ module Metasploit
|
|
24
24
|
version
|
25
25
|
end
|
26
26
|
|
27
|
-
# The full gem version string, including the {MAJOR}, {MINOR}, {PATCH}, and optionally, the
|
27
|
+
# The full gem version string, including the {MAJOR}, {MINOR}, {PATCH}, and optionally, the PRERELEASE in the
|
28
28
|
# {http://guides.rubygems.org/specification-reference/#version RubyGems versioning} format.
|
29
29
|
#
|
30
|
-
# @return [String] '{MAJOR}.{MINOR}.{PATCH}' on master. '{MAJOR}.{MINOR}.{PATCH}.
|
30
|
+
# @return [String] '{MAJOR}.{MINOR}.{PATCH}' on master. '{MAJOR}.{MINOR}.{PATCH}.PRERELEASE' on any branch
|
31
31
|
# other than master.
|
32
32
|
def self.gem
|
33
33
|
full.gsub('-', '.pre.')
|
data/metasploit-yard.gemspec
CHANGED
@@ -29,6 +29,20 @@ Gem::Specification.new do |spec|
|
|
29
29
|
spec.add_development_dependency 'simplecov'
|
30
30
|
|
31
31
|
spec.add_runtime_dependency 'rake'
|
32
|
+
|
33
|
+
if RUBY_PLATFORM =~ /java/
|
34
|
+
# markdown library for YARD to enable proper parsing of README.md and CONTRIBUTING.md
|
35
|
+
spec.add_runtime_dependency 'kramdown'
|
36
|
+
|
37
|
+
# Cannot use Gem::Platform::JAVA as it is only defined by bundler, so `gem build *.gemspec` wouldn't work.
|
38
|
+
spec.platform = Gem::Platform.new('java')
|
39
|
+
else
|
40
|
+
# markdown library for YARD to enable proper parsing of README.md and CONTRIBUTING.md
|
41
|
+
spec.add_runtime_dependency 'redcarpet'
|
42
|
+
|
43
|
+
spec.platform = Gem::Platform::RUBY
|
44
|
+
end
|
45
|
+
|
32
46
|
spec.add_runtime_dependency 'yard'
|
33
47
|
|
34
48
|
# Ruby 1.9 JSON Hash syntax is used
|
@@ -0,0 +1,95 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
RSpec.describe Metasploit::Yard::Aruba::RvmEnv::Export do
|
4
|
+
context 'CONSTANTS' do
|
5
|
+
context 'REGEXP' do
|
6
|
+
subject(:regexp) {
|
7
|
+
described_class::REGEXP
|
8
|
+
}
|
9
|
+
|
10
|
+
let(:name) {
|
11
|
+
'rvm_env_string'
|
12
|
+
}
|
13
|
+
|
14
|
+
let(:set) {
|
15
|
+
%Q{#{name}=#{quote}#{value}#{quote}}
|
16
|
+
}
|
17
|
+
|
18
|
+
let(:value) {
|
19
|
+
'ruby-1.9.3-p547@pro'
|
20
|
+
}
|
21
|
+
|
22
|
+
context 'with combined export and set' do
|
23
|
+
let(:line) {
|
24
|
+
%Q{export #{set}}
|
25
|
+
}
|
26
|
+
|
27
|
+
context 'with "' do
|
28
|
+
let(:quote) {
|
29
|
+
'"'
|
30
|
+
}
|
31
|
+
|
32
|
+
it 'matches groups correctly' do
|
33
|
+
expect(regexp).to match(line)
|
34
|
+
|
35
|
+
match = regexp.match(line)
|
36
|
+
|
37
|
+
expect(match[:name]).to eq(name)
|
38
|
+
expect(match[:value]).to eq(value)
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
42
|
+
context "with '" do
|
43
|
+
let(:quote) {
|
44
|
+
"'"
|
45
|
+
}
|
46
|
+
|
47
|
+
it 'matches groups correctly' do
|
48
|
+
expect(regexp).to match(line)
|
49
|
+
|
50
|
+
match = regexp.match(line)
|
51
|
+
|
52
|
+
expect(match[:name]).to eq(name)
|
53
|
+
expect(match[:value]).to eq(value)
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
57
|
+
|
58
|
+
context 'with separate export and set' do
|
59
|
+
let(:line) {
|
60
|
+
%Q{export #{name} ; #{set}}
|
61
|
+
}
|
62
|
+
|
63
|
+
context 'with "' do
|
64
|
+
let(:quote) {
|
65
|
+
'"'
|
66
|
+
}
|
67
|
+
|
68
|
+
it 'matches groups correctly' do
|
69
|
+
expect(regexp).to match(line)
|
70
|
+
|
71
|
+
match = regexp.match(line)
|
72
|
+
|
73
|
+
expect(match[:name]).to eq(name)
|
74
|
+
expect(match[:value]).to eq(value)
|
75
|
+
end
|
76
|
+
end
|
77
|
+
|
78
|
+
context "with '" do
|
79
|
+
let(:quote) {
|
80
|
+
"'"
|
81
|
+
}
|
82
|
+
|
83
|
+
it 'matches groups correctly' do
|
84
|
+
expect(regexp).to match(line)
|
85
|
+
|
86
|
+
match = regexp.match(line)
|
87
|
+
|
88
|
+
expect(match[:name]).to eq(name)
|
89
|
+
expect(match[:value]).to eq(value)
|
90
|
+
end
|
91
|
+
end
|
92
|
+
end
|
93
|
+
end
|
94
|
+
end
|
95
|
+
end
|
@@ -0,0 +1,95 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
RSpec.describe Metasploit::Yard::Aruba::RvmEnv::Prepend do
|
4
|
+
context 'CONSTANTS' do
|
5
|
+
context 'REGEXP' do
|
6
|
+
subject(:regexp) {
|
7
|
+
described_class::REGEXP
|
8
|
+
}
|
9
|
+
|
10
|
+
let(:name) {
|
11
|
+
'PATH'
|
12
|
+
}
|
13
|
+
|
14
|
+
let(:prepend) {
|
15
|
+
%Q{#{name}=#{quote}#{value}$#{name}#{quote}}
|
16
|
+
}
|
17
|
+
|
18
|
+
let(:value) {
|
19
|
+
'/Users/bob/.rvm/gems/ruby-1.9.3-p547@pro/bin:/Users/bob/.rvm/gems/ruby-1.9.3-p547@global/bin:/Users/bob/.rvm/rubies/ruby-1.9.3-p547/bin:/Users/bob/.rvm/bin:'
|
20
|
+
}
|
21
|
+
|
22
|
+
context 'with combined export and prepend' do
|
23
|
+
let(:line) {
|
24
|
+
%Q{export #{prepend}}
|
25
|
+
}
|
26
|
+
|
27
|
+
context 'with "' do
|
28
|
+
let(:quote) {
|
29
|
+
'"'
|
30
|
+
}
|
31
|
+
|
32
|
+
it 'matches groups correctly' do
|
33
|
+
expect(regexp).to match(line)
|
34
|
+
|
35
|
+
match = regexp.match(line)
|
36
|
+
|
37
|
+
expect(match[:name]).to eq(name)
|
38
|
+
expect(match[:value]).to eq(value)
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
42
|
+
context "with '" do
|
43
|
+
let(:quote) {
|
44
|
+
"'"
|
45
|
+
}
|
46
|
+
|
47
|
+
it 'matches groups correctly' do
|
48
|
+
expect(regexp).to match(line)
|
49
|
+
|
50
|
+
match = regexp.match(line)
|
51
|
+
|
52
|
+
expect(match[:name]).to eq(name)
|
53
|
+
expect(match[:value]).to eq(value)
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
57
|
+
|
58
|
+
context 'with separate export and prepend' do
|
59
|
+
let(:line) {
|
60
|
+
%Q{export #{name} ; #{prepend}}
|
61
|
+
}
|
62
|
+
|
63
|
+
context 'with "' do
|
64
|
+
let(:quote) {
|
65
|
+
'"'
|
66
|
+
}
|
67
|
+
|
68
|
+
it 'matches groups correctly' do
|
69
|
+
expect(regexp).to match(line)
|
70
|
+
|
71
|
+
match = regexp.match(line)
|
72
|
+
|
73
|
+
expect(match[:name]).to eq(name)
|
74
|
+
expect(match[:value]).to eq(value)
|
75
|
+
end
|
76
|
+
end
|
77
|
+
|
78
|
+
context "with '" do
|
79
|
+
let(:quote) {
|
80
|
+
"'"
|
81
|
+
}
|
82
|
+
|
83
|
+
it 'matches groups correctly' do
|
84
|
+
expect(regexp).to match(line)
|
85
|
+
|
86
|
+
match = regexp.match(line)
|
87
|
+
|
88
|
+
expect(match[:name]).to eq(name)
|
89
|
+
expect(match[:value]).to eq(value)
|
90
|
+
end
|
91
|
+
end
|
92
|
+
end
|
93
|
+
end
|
94
|
+
end
|
95
|
+
end
|
metadata
CHANGED
@@ -1,153 +1,167 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metasploit-yard
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Luke Imhoff
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-09-
|
11
|
+
date: 2014-09-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '0'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: aruba
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '0'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: bundler
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - ~>
|
45
|
+
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '1.5'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- - ~>
|
52
|
+
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '1.5'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: codeclimate-test-reporter
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- -
|
59
|
+
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: '0'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- -
|
66
|
+
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: coveralls
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- -
|
73
|
+
- - ">="
|
74
74
|
- !ruby/object:Gem::Version
|
75
75
|
version: '0'
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- -
|
80
|
+
- - ">="
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: cucumber
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- -
|
87
|
+
- - ">="
|
88
88
|
- !ruby/object:Gem::Version
|
89
89
|
version: '0'
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
|
-
- -
|
94
|
+
- - ">="
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '0'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: rspec
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
|
-
- - ~>
|
101
|
+
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
103
|
version: '3.0'
|
104
104
|
type: :development
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
|
-
- - ~>
|
108
|
+
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: '3.0'
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: simplecov
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
|
-
- -
|
115
|
+
- - ">="
|
116
116
|
- !ruby/object:Gem::Version
|
117
117
|
version: '0'
|
118
118
|
type: :development
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
|
-
- -
|
122
|
+
- - ">="
|
123
123
|
- !ruby/object:Gem::Version
|
124
124
|
version: '0'
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
126
|
name: rake
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
128
128
|
requirements:
|
129
|
-
- -
|
129
|
+
- - ">="
|
130
130
|
- !ruby/object:Gem::Version
|
131
131
|
version: '0'
|
132
132
|
type: :runtime
|
133
133
|
prerelease: false
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
|
-
- -
|
136
|
+
- - ">="
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0'
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: redcarpet
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - ">="
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '0'
|
146
|
+
type: :runtime
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - ">="
|
137
151
|
- !ruby/object:Gem::Version
|
138
152
|
version: '0'
|
139
153
|
- !ruby/object:Gem::Dependency
|
140
154
|
name: yard
|
141
155
|
requirement: !ruby/object:Gem::Requirement
|
142
156
|
requirements:
|
143
|
-
- -
|
157
|
+
- - ">="
|
144
158
|
- !ruby/object:Gem::Version
|
145
159
|
version: '0'
|
146
160
|
type: :runtime
|
147
161
|
prerelease: false
|
148
162
|
version_requirements: !ruby/object:Gem::Requirement
|
149
163
|
requirements:
|
150
|
-
- -
|
164
|
+
- - ">="
|
151
165
|
- !ruby/object:Gem::Version
|
152
166
|
version: '0'
|
153
167
|
description: YARD rake tasks used through the metasploit-* gem namespace
|
@@ -157,12 +171,12 @@ executables: []
|
|
157
171
|
extensions: []
|
158
172
|
extra_rdoc_files: []
|
159
173
|
files:
|
160
|
-
- .coveralls.yml
|
161
|
-
- .gitignore
|
162
|
-
- .rspec
|
163
|
-
- .simplecov
|
164
|
-
- .travis.yml
|
165
|
-
- .yardopts
|
174
|
+
- ".coveralls.yml"
|
175
|
+
- ".gitignore"
|
176
|
+
- ".rspec"
|
177
|
+
- ".simplecov"
|
178
|
+
- ".travis.yml"
|
179
|
+
- ".yardopts"
|
166
180
|
- CONTRIBUTING.md
|
167
181
|
- Gemfile
|
168
182
|
- LICENSE.txt
|
@@ -184,6 +198,8 @@ files:
|
|
184
198
|
- lib/metasploit/yard/version.rb
|
185
199
|
- lib/tasks/yard.rake
|
186
200
|
- metasploit-yard.gemspec
|
201
|
+
- spec/metasploit/yard/aruba/rvm_env/export_spec.rb
|
202
|
+
- spec/metasploit/yard/aruba/rvm_env/prepend_spec.rb
|
187
203
|
- spec/metasploit/yard/version_spec.rb
|
188
204
|
- spec/metasploit/yard_spec.rb
|
189
205
|
- spec/spec_helper.rb
|
@@ -197,17 +213,17 @@ require_paths:
|
|
197
213
|
- lib
|
198
214
|
required_ruby_version: !ruby/object:Gem::Requirement
|
199
215
|
requirements:
|
200
|
-
- -
|
216
|
+
- - ">="
|
201
217
|
- !ruby/object:Gem::Version
|
202
218
|
version: '1.9'
|
203
219
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
204
220
|
requirements:
|
205
|
-
- -
|
221
|
+
- - ">="
|
206
222
|
- !ruby/object:Gem::Version
|
207
223
|
version: '0'
|
208
224
|
requirements: []
|
209
225
|
rubyforge_project:
|
210
|
-
rubygems_version: 2.
|
226
|
+
rubygems_version: 2.2.2
|
211
227
|
signing_key:
|
212
228
|
specification_version: 4
|
213
229
|
summary: yard rake tasks
|
@@ -216,6 +232,8 @@ test_files:
|
|
216
232
|
- features/step_definitions/project.rb
|
217
233
|
- features/step_definitions/rvm.rb
|
218
234
|
- features/support/env.rb
|
235
|
+
- spec/metasploit/yard/aruba/rvm_env/export_spec.rb
|
236
|
+
- spec/metasploit/yard/aruba/rvm_env/prepend_spec.rb
|
219
237
|
- spec/metasploit/yard/version_spec.rb
|
220
238
|
- spec/metasploit/yard_spec.rb
|
221
239
|
- spec/spec_helper.rb
|