Skip to content

Commit

Permalink
Merge pull request #364 from coinbase/bump_2.11.7
Browse files Browse the repository at this point in the history
bump to 2.11.7
  • Loading branch information
ghbren authored May 13, 2021
2 parents 6c9a6a5 + 7474e32 commit 065d87c
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion lib/salus.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
require 'sarif/sarif_report'

module Salus
VERSION = '2.11.6'.freeze
VERSION = '2.11.7'.freeze
DEFAULT_REPO_PATH = './repo'.freeze # This is inside the docker container at /home/repo.

SafeYAML::OPTIONS[:default_mode] = :safe
Expand Down
2 changes: 1 addition & 1 deletion spec/fixtures/integration/expected_report.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "2.11.6",
"version": "2.11.7",
"passed": true,
"running_time": 0.0,
"scans": {
Expand Down
2 changes: 1 addition & 1 deletion spec/fixtures/processor/local_uri/expected_report.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "2.11.6",
"version": "2.11.7",
"passed": true,
"running_time": 0.0,
"scans": {
Expand Down
2 changes: 1 addition & 1 deletion spec/fixtures/processor/remote_uri/expected_report.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "2.11.6",
"version": "2.11.7",
"passed": true,
"running_time": 0.0,
"scans": {
Expand Down
6 changes: 3 additions & 3 deletions spec/lib/salus/report_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ def build_report(report_uri)
report = build_report(directive)

stub_request(:post, "https://nerv.tk3/salus-report").with(body: "{\n \"foo\": \"bar\",\n"\
" \"abc\": \"def\",\n \"report\": {\n \"version\": \"2.11.6\",\n \"project_nam"\
" \"abc\": \"def\",\n \"report\": {\n \"version\": \"2.11.7\",\n \"project_nam"\
"e\": \"eva00\",\n \"passed\": false,\n \"scans\": {\n \"DerpScanner\": {\n "\
" \"scanner_name\": \"DerpScanner\",\n \"passed\": false,\n \"warn"\
"\": {\n },\n \"info\": {\n \"asdf\": \"qwerty\"\n },\n "\
Expand All @@ -214,7 +214,7 @@ def build_report(report_uri)
report = build_report(directive)

stub_request(:post, "https://nerv.tk3/salus-report").with(body: "---\nfoo: bar\nabc: def\n"\
"report:\n :version: 2.11.6\n :project_name: eva00\n :passed: false\n :scans:\n "\
"report:\n :version: 2.11.7\n :project_name: eva00\n :passed: false\n :scans:\n "\
"DerpScanner:\n :scanner_name: DerpScanner\n :passed: false\n :warn: {}\n"\
" :info:\n :asdf: qwerty\n :errors: []\n :errors:\n - :message: derp"\
"\n - :message: derp\n - :message: derp\n - :message: derp\n - :message: derp\n "\
Expand All @@ -239,7 +239,7 @@ def build_report(report_uri)
report.instance_variable_set(:@config, config)

stub_request(:post, "https://nerv.tk3/salus-report").with(body: "{\"foo\"=>\"bar\", \"abc"\
"\"=>\"def\", \"report\"=>\"==== Salus Scan v2.11.6 for eva00\\n\\n==== Salus "\
"\"=>\"def\", \"report\"=>\"==== Salus Scan v2.11.7 for eva00\\n\\n==== Salus "\
"Configuration Files Used:\\n\\n word\\n\\n\\n==== Salus Errors\\n\\n [\\n {\\n "\
" \\\"message\\\": \\\"derp\\\"\\n },\\n {\\n \\\"message\\\": \\\"derp\\"\
"\"\\n },\\n {\\n \\\"message\\\": \\\"derp\\\"\\n },\\n {\\n "\
Expand Down

0 comments on commit 065d87c

Please sign in to comment.