Skip to content

Commit 7262e2c

Browse files
committed
Init commit
0 parents  commit 7262e2c

32 files changed

+4214
-0
lines changed

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
/.bundle/
2+
/doc/
3+
/pkg/
4+
/spec/reports/
5+
/tmp/
6+
.DS_Store

.gitmodules

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[submodule "lib/data/1.0"]
2+
path = lib/data/1.0
3+
url = [email protected]:bugcrowd/vulnerability-rating-taxonomy.git
4+
[submodule "lib/data/1.1"]
5+
path = lib/data/1.1
6+
url = [email protected]:bugcrowd/vulnerability-rating-taxonomy.git

.rspec

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
--format documentation
2+
--color

.rubocop.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
Style/Documentation:
2+
Enabled: false
3+
4+
Style/FrozenStringLiteralComment:
5+
Enabled: false
6+
7+
Metrics/LineLength:
8+
Max: 120
9+
10+
Metrics/BlockLength:
11+
ExcludedMethods:
12+
- configure
13+
- context
14+
- define
15+
- describe
16+
- draw
17+
- factory
18+
- feature
19+
- guard
20+
- included
21+
- it
22+
- let
23+
- let!
24+
- scenario
25+
- setup
26+
- shared_context
27+
- shared_examples
28+
- shared_examples_for
29+
- transaction
30+
31+
inherit_from: .rubocop_todo.yml

.rubocop_todo.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# This configuration was generated by
2+
# `rubocop --auto-gen-config`
3+
# on 2017-04-18 13:12:12 -0700 using RuboCop version 0.48.1.
4+
# The point is for the user to remove these configuration records
5+
# one by one as the offenses are removed from the code base.
6+
# Note that changes in the inspected code, or installation of new
7+
# versions of RuboCop, may require this file to be generated again.
8+
9+
# Offense count: 2
10+
Metrics/AbcSize:
11+
Max: 29
12+
13+
# Offense count: 3
14+
# Configuration parameters: CountComments.
15+
Metrics/MethodLength:
16+
Max: 19
17+
18+
# Offense count: 1
19+
# Configuration parameters: CountComments.
20+
Metrics/ModuleLength:
21+
Max: 111

.ruby-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
2.3.3

CONTRIBUTING.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Contributing
2+
Bugcrowd welcomes community feedback and direct contributions to the Bugcrowd VRT Ruby Wrapper. We accept comments for public discussion via GitHub Issues.
3+
4+
## Process
5+
Please open your feedback as an **Issue** and label it as either a `bug` or an `enhancement`. Large or systemic changes should first be discussed in an Issue rather than be submitted as a pull request directly.
6+
7+
Prior to opening a pull request please ensure your suggested changes pass specs. The repository uses [`rspec`](https://github.com/rspec/rspec) for spec running, run it with `bundle install && bundle exec rspec`.

Dockerfile

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
FROM ruby:2.3-alpine
2+
3+
# throw errors if Gemfile has been modified since Gemfile.lock
4+
RUN bundle config --global frozen 1
5+
6+
RUN mkdir -p /usr/src/app
7+
WORKDIR /usr/src/app
8+
9+
ADD . /usr/src/app
10+
RUN bundle install
11+
12+
# TODO add cops
13+
CMD bundle exec rspec && bundle exec rubocop

Gemfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
source 'https://rubygems.org'
2+
3+
# Specify your gem's dependencies in vrt.gemspec
4+
gemspec

Gemfile.lock

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
PATH
2+
remote: .
3+
specs:
4+
vrt (0.1)
5+
6+
GEM
7+
remote: https://rubygems.org/
8+
specs:
9+
ast (2.3.0)
10+
diff-lcs (1.3)
11+
parser (2.4.0.0)
12+
ast (~> 2.2)
13+
powerpack (0.1.1)
14+
rainbow (2.2.1)
15+
rake (11.3.0)
16+
rspec (3.5.0)
17+
rspec-core (~> 3.5.0)
18+
rspec-expectations (~> 3.5.0)
19+
rspec-mocks (~> 3.5.0)
20+
rspec-core (3.5.4)
21+
rspec-support (~> 3.5.0)
22+
rspec-expectations (3.5.0)
23+
diff-lcs (>= 1.2.0, < 2.0)
24+
rspec-support (~> 3.5.0)
25+
rspec-mocks (3.5.0)
26+
diff-lcs (>= 1.2.0, < 2.0)
27+
rspec-support (~> 3.5.0)
28+
rspec-support (3.5.0)
29+
rubocop (0.48.1)
30+
parser (>= 2.3.3.1, < 3.0)
31+
powerpack (~> 0.1)
32+
rainbow (>= 1.99.1, < 3.0)
33+
ruby-progressbar (~> 1.7)
34+
unicode-display_width (~> 1.0, >= 1.0.1)
35+
ruby-progressbar (1.8.1)
36+
unicode-display_width (1.2.0)
37+
38+
PLATFORMS
39+
ruby
40+
41+
DEPENDENCIES
42+
bundler (~> 1.14)
43+
rake
44+
rspec
45+
rubocop (~> 0.48)
46+
vrt!
47+
48+
BUNDLED WITH
49+
1.15.3

0 commit comments

Comments
 (0)