Skip to content

Commit

Permalink
Bumping to 2.14.0
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuaostrom-cb committed Nov 3, 2021
1 parent 2d96d5c commit 1e6cfc2
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion lib/salus.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
require 'salus/report_request'

module Salus
VERSION = '2.13.4'.freeze
VERSION = '2.14.0'.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.13.4",
"version": "2.14.0",
"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.13.4",
"version": "2.14.0",
"passed": true,
"running_time": 0.0,
"scans": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "2.13.4",
"version": "2.14.0",
"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.13.4",
"version": "2.14.0",
"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 @@ -209,7 +209,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.13.4\",\n \"project_nam"\
" \"abc\": \"def\",\n \"report\": {\n \"version\": \"2.14.0\",\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 @@ -235,7 +235,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.13.4\n :project_name: eva00\n :passed: false\n :scans:\n "\
"report:\n :version: 2.14.0\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 @@ -260,7 +260,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.13.4 for eva00\\n\\n==== Salus "\
"\"=>\"def\", \"report\"=>\"==== Salus Scan v2.14.0 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 1e6cfc2

Please sign in to comment.