diff options
| author | mo khan <mo.khan@gmail.com> | 2020-08-17 16:23:28 -0600 |
|---|---|---|
| committer | mo khan <mo.khan@gmail.com> | 2020-08-18 09:27:34 -0600 |
| commit | a54789bcfe9e05ab42dfb6e03457279384e343fe (patch) | |
| tree | 9f0ad8087db423cf57b1e96451a0c977422a50d7 /spec/support | |
| parent | 24695063d1ba9a73ba92a44fae0813d5492cf29c (diff) | |
Update license_finder to 6.8.1
* Update CHANGELOG
* Add default retry for all jobs
* Ensure all deb packages are built
Diffstat (limited to 'spec/support')
| -rw-r--r-- | spec/support/fixture_file_helper.rb | 2 | ||||
| -rw-r--r-- | spec/support/integration_test_helper.rb | 2 | ||||
| -rw-r--r-- | spec/support/matchers.rb | 2 | ||||
| -rw-r--r-- | spec/support/project_helper.rb | 2 | ||||
| -rw-r--r-- | spec/support/proxy_helper.rb | 2 | ||||
| -rw-r--r-- | spec/support/report.rb | 2 | ||||
| -rw-r--r-- | spec/support/shared.rb | 2 |
7 files changed, 14 insertions, 0 deletions
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 |
