From a54789bcfe9e05ab42dfb6e03457279384e343fe Mon Sep 17 00:00:00 2001 From: mo khan Date: Mon, 17 Aug 2020 16:23:28 -0600 Subject: Update license_finder to 6.8.1 * Update CHANGELOG * Add default retry for all jobs * Ensure all deb packages are built --- spec/support/fixture_file_helper.rb | 2 ++ spec/support/integration_test_helper.rb | 2 ++ spec/support/matchers.rb | 2 ++ spec/support/project_helper.rb | 2 ++ spec/support/proxy_helper.rb | 2 ++ spec/support/report.rb | 2 ++ spec/support/shared.rb | 2 ++ 7 files changed, 14 insertions(+) (limited to 'spec/support') diff --git a/spec/support/fixture_file_helper.rb b/spec/support/fixture_file_helper.rb index 313ee35..f21bfee 100644 --- a/spec/support/fixture_file_helper.rb +++ b/spec/support/fixture_file_helper.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module FixtureFileHelper def fixture_file_content(path, data = {}) content = IO.read(fixture_file(path)) diff --git a/spec/support/integration_test_helper.rb b/spec/support/integration_test_helper.rb index 9d28871..ec92fb8 100644 --- a/spec/support/integration_test_helper.rb +++ b/spec/support/integration_test_helper.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module IntegrationTestHelper def runner(*args) @runner ||= ProjectHelper.new(*args) diff --git a/spec/support/matchers.rb b/spec/support/matchers.rb index 9f88bf1..71b6efb 100644 --- a/spec/support/matchers.rb +++ b/spec/support/matchers.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + RSpec::Matchers.define :match_schema do |version: License::Management::Report::DEFAULT_VERSION| def schema_for(version) License::Management.root.join("spec/fixtures/schema/v#{version}.json").to_s diff --git a/spec/support/project_helper.rb b/spec/support/project_helper.rb index 4ae490e..f64df98 100644 --- a/spec/support/project_helper.rb +++ b/spec/support/project_helper.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + class ProjectHelper attr_reader :project_path diff --git a/spec/support/proxy_helper.rb b/spec/support/proxy_helper.rb index 1f31164..63b3910 100644 --- a/spec/support/proxy_helper.rb +++ b/spec/support/proxy_helper.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module ProxyHelper def x509_certificate(host) License::Management.root.join("tmp/#{host}.crt") diff --git a/spec/support/report.rb b/spec/support/report.rb index d6546ae..dca3c96 100644 --- a/spec/support/report.rb +++ b/spec/support/report.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + class Report attr_reader :report diff --git a/spec/support/shared.rb b/spec/support/shared.rb index 49edd45..298d85d 100644 --- a/spec/support/shared.rb +++ b/spec/support/shared.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + RSpec.shared_examples "each report version" do |language, package_manager, branch = 'master'| ['1.0', '1.1', '2.0', '2.1'].each do |version| context "when generating a `#{version}` report for #{package_manager}" do -- cgit v1.2.3