Skip to content

Commit b855bd3

Browse files
committed
Add metasploit_data_models 0.5.1 to gemcache
[#44034071]
1 parent bd8f94c commit b855bd3

File tree

192 files changed

+3131
-47
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

192 files changed

+3131
-47
lines changed

lib/gemcache/ruby/1.9.1/gems/metasploit_data_models-0.4.0/Gemfile

Lines changed: 0 additions & 10 deletions
This file was deleted.

lib/gemcache/ruby/1.9.1/gems/metasploit_data_models-0.4.0/Rakefile

Lines changed: 0 additions & 7 deletions
This file was deleted.

lib/gemcache/ruby/1.9.1/gems/metasploit_data_models-0.4.0/app/models/mdm/web_vuln.rb

Lines changed: 0 additions & 16 deletions
This file was deleted.

lib/gemcache/ruby/1.9.1/gems/metasploit_data_models-0.4.0/lib/metasploit_data_models/version.rb

Lines changed: 0 additions & 7 deletions
This file was deleted.

lib/gemcache/ruby/1.9.1/gems/metasploit_data_models-0.4.0/.gitignore renamed to lib/gemcache/ruby/1.9.1/gems/metasploit_data_models-0.5.1/.gitignore

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,19 @@
66
*.gem
77
# Rubymine project configuration
88
.idea
9+
# logs
10+
*.log
911
# Don't check in rvmrc since this is a gem
1012
.rvmrc
13+
# YARD database
14+
.yardoc
15+
# coverage report directory for simplecov/Rubymine
16+
coverage
17+
# generated yardocs
18+
doc
1119
# Installed gem versions. Not stored for the same reasons as .rvmrc
1220
Gemfile.lock
1321
# Packaging directory for builds
1422
pkg/*
1523
# Database configuration (with passwords) for specs
1624
spec/dummy/config/database.yml
17-
# logs
18-
*.log
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# RM_INFO is set when using Rubymine. In Rubymine, starting SimpleCov is
2+
# controlled by running with coverage, so don't explicitly start coverage (and
3+
# therefore generate a report) when in Rubymine. This _will_ generate a report
4+
# whenever `rake spec` is run.
5+
unless ENV['RM_INFO']
6+
SimpleCov.start
7+
end
8+
9+
SimpleCov.configure do
10+
load_adapter('rails')
11+
12+
# ignore this file
13+
add_filter '.simplecov'
14+
15+
#
16+
# Changed Files in Git Group
17+
# @see http://fredwu.me/post/35625566267/simplecov-test-coverage-for-changed-files-only
18+
#
19+
20+
untracked = `git ls-files --exclude-standard --others`
21+
unstaged = `git diff --name-only`
22+
staged = `git diff --name-only --cached`
23+
all = untracked + unstaged + staged
24+
changed_filenames = all.split("\n")
25+
26+
add_group 'Changed' do |source_file|
27+
changed_filenames.detect { |changed_filename|
28+
source_file.filename.end_with?(changed_filename)
29+
}
30+
end
31+
32+
#
33+
# Specs are reported on to ensure that all examples are being run and all
34+
# lets, befores, afters, etc are being used.
35+
#
36+
37+
add_group 'Specs', 'spec'
38+
end
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
--markup markdown
2+
--protected
3+
{app,lib}/**/*.rb
4+
db/migrate/*.rb
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
source "http://rubygems.org"
2+
3+
# Specify your gem's dependencies in metasploit_data_models.gemspec
4+
gemspec
5+
6+
# used by dummy application
7+
group :development, :test do
8+
# supplies factories for producing model instance for specs
9+
gem 'factory_girl_rails'
10+
# rails is only used for the dummy application in spec/dummy
11+
gem 'rails'
12+
end
13+
14+
group :test do
15+
# In a full rails project, factory_girl_rails would be in both the :development, and :test group, but since we only
16+
# want rails in :test, factory_girl_rails must also only be in :test.
17+
# add matchers from shoulda, such as validates_presence_of, which are useful for testing validations
18+
gem 'shoulda-matchers'
19+
# code coverage of tests
20+
gem 'simplecov', :require => false
21+
gem 'rspec-rails'
22+
end

0 commit comments

Comments
 (0)