metasploit-model 0.29.2-java → 0.30.0-java
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 +17 -4
- 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: 4570e3936093f4399b4c5e4076c40393d936dd6b
|
4
|
+
data.tar.gz: a879e61ad6fe1a357260e0704878555038fc0571
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5d9bd46453342e7d0abc58b78613a150c1f4b18502b861e3e35082993c43b80fe8a9cefe64c603347c6846424cba39c601dacceab9cef2848db55cbdfa587771
|
7
|
+
data.tar.gz: e9c25dcddefe8b864d603da307f56def939e82efef9e2b4b20c825cdfdf05b5a86049f7024bca0379f8bc3f8f1ec9b0d67796f0604a602490f2fa65eba60b003
|
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: java
|
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
|
version: '1.3'
|
25
25
|
prerelease: false
|
26
26
|
type: :development
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: metasploit-yard
|
29
|
+
version_requirements: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ~>
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '1.0'
|
34
|
+
requirement: !ruby/object:Gem::Requirement
|
35
|
+
requirements:
|
36
|
+
- - ~>
|
37
|
+
- !ruby/object:Gem::Version
|
38
|
+
version: '1.0'
|
39
|
+
prerelease: false
|
40
|
+
type: :development
|
27
41
|
- !ruby/object:Gem::Dependency
|
28
42
|
name: rake
|
29
43
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -189,7 +203,6 @@ files:
|
|
189
203
|
- lib/metasploit/model/version.rb
|
190
204
|
- lib/metasploit/model/visitation.rb
|
191
205
|
- lib/metasploit/model/visitation/visit.rb
|
192
|
-
- lib/tasks/yard.rake
|
193
206
|
- metasploit-model.gemspec
|
194
207
|
- script/rails
|
195
208
|
- spec/app/models/metasploit/model/association/reflection_spec.rb
|
@@ -318,7 +331,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
318
331
|
version: '0'
|
319
332
|
requirements: []
|
320
333
|
rubyforge_project:
|
321
|
-
rubygems_version: 2.
|
334
|
+
rubygems_version: 2.4.5
|
322
335
|
signing_key:
|
323
336
|
specification_version: 4
|
324
337
|
summary: Metasploit Model Mixins and Validators
|
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
|