metasploit-model 0.29.2 → 0.30.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +3 -0
- data/Rakefile +14 -0
- data/lib/metasploit/model/version.rb +2 -2
- data/metasploit-model.gemspec +1 -0
- metadata +16 -3
- data/lib/tasks/yard.rake +0 -30
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 235a79f29aaf17e9b445017a5649d4f859d36687
|
4
|
+
data.tar.gz: c670825ac3a662b24435ba94bd83f8ba680b7e0c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5442c6276cb32a18dc81d648bf8dc9a275930e46c1b1a46c56d1e86ab4e6510c20b1fca7ed510f3f2a845e2311d051e1039d05a4ded97c97c843c9f68542e2b8
|
7
|
+
data.tar.gz: d324a69cbd6f761be4d082b2570a97f4e6deee5f5df138049be059e651959416556dcb83676ec14fe98a2bfefd0ea0d3616a72dbea18915e8f4edb4406e929d1
|
data/.travis.yml
CHANGED
data/Rakefile
CHANGED
@@ -45,6 +45,20 @@ else
|
|
45
45
|
task :default => :spec
|
46
46
|
end
|
47
47
|
|
48
|
+
# Use find_all_by_name instead of find_by_name as find_all_by_name will return pre-release versions
|
49
|
+
gem_specification = Gem::Specification.find_all_by_name('metasploit-yard').first
|
50
|
+
|
51
|
+
if gem_specification
|
52
|
+
|
53
|
+
Dir[File.join(gem_specification.gem_dir, 'lib', 'tasks', '**', '*.rake')].each do |rake|
|
54
|
+
load rake
|
55
|
+
end
|
56
|
+
else
|
57
|
+
puts "metasploit-yard not in bundle, so can't setup yard tasks. " \
|
58
|
+
"To run yard ensure to install the development group."
|
59
|
+
print_without = true
|
60
|
+
end
|
61
|
+
|
48
62
|
if print_without
|
49
63
|
puts "Bundle currently installed '--without #{Bundler.settings.without.join(' ')}'."
|
50
64
|
puts "To clear the without option do `bundle install --without ''` (the --without flag with an empty string) or " \
|
@@ -5,9 +5,9 @@ module Metasploit
|
|
5
5
|
# The major version number.
|
6
6
|
MAJOR = 0
|
7
7
|
# The minor version number, scoped to the {MAJOR} version number.
|
8
|
-
MINOR =
|
8
|
+
MINOR = 30
|
9
9
|
# The patch number, scoped to the {MAJOR} and {MINOR} version numbers.
|
10
|
-
PATCH =
|
10
|
+
PATCH = 0
|
11
11
|
|
12
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.
|
data/metasploit-model.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metasploit-model
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.30.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Luke Imhoff
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-04-
|
11
|
+
date: 2015-04-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -24,6 +24,20 @@ dependencies:
|
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '1.3'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: metasploit-yard
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '1.0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '1.0'
|
27
41
|
- !ruby/object:Gem::Dependency
|
28
42
|
name: rake
|
29
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -190,7 +204,6 @@ files:
|
|
190
204
|
- lib/metasploit/model/version.rb
|
191
205
|
- lib/metasploit/model/visitation.rb
|
192
206
|
- lib/metasploit/model/visitation/visit.rb
|
193
|
-
- lib/tasks/yard.rake
|
194
207
|
- metasploit-model.gemspec
|
195
208
|
- script/rails
|
196
209
|
- spec/app/models/metasploit/model/association/reflection_spec.rb
|
data/lib/tasks/yard.rake
DELETED
@@ -1,30 +0,0 @@
|
|
1
|
-
# @note All options not specific to any given rake task should go in the .yardopts file so they are available to both
|
2
|
-
# the below rake tasks and when invoking `yard` from the command line
|
3
|
-
|
4
|
-
if defined? YARD
|
5
|
-
namespace :yard do
|
6
|
-
YARD::Rake::YardocTask.new(:doc) do |t|
|
7
|
-
# --no-stats here as 'stats' task called after will print fuller stats
|
8
|
-
t.options = ['--no-stats']
|
9
|
-
|
10
|
-
t.after = Proc.new {
|
11
|
-
Rake::Task['yard:stats'].execute
|
12
|
-
}
|
13
|
-
end
|
14
|
-
|
15
|
-
desc "Shows stats for YARD Documentation including listing undocumented modules, classes, constants, and methods"
|
16
|
-
task :stats => :environment do
|
17
|
-
stats = YARD::CLI::Stats.new
|
18
|
-
stats.run('--compact', '--list-undoc')
|
19
|
-
end
|
20
|
-
end
|
21
|
-
|
22
|
-
# @todo Figure out how to just clone description from yard:doc
|
23
|
-
desc "Generate YARD documentation"
|
24
|
-
# allow calling namespace to as a task that goes to default task for namespace
|
25
|
-
task :yard => ['yard:doc']
|
26
|
-
|
27
|
-
task :default => :yard
|
28
|
-
else
|
29
|
-
puts 'YARD not defined, so yard tasks cannot be setup.'
|
30
|
-
end
|