summaryrefslogtreecommitdiff
path: root/spec/unit
diff options
context:
space:
mode:
authormo khan <mo.khan@gmail.com>2020-11-14 20:35:28 -0700
committermo khan <mo.khan@gmail.com>2020-11-14 20:35:28 -0700
commit46e3ee45f245167e9d4e63bf7353a4427586d62f (patch)
treec62ded381310ba9575fd322f4840b38889117927 /spec/unit
parentda459f05c0bdc8e8f65f6a8a20535c67e85d5771 (diff)
feat: extract license for apk package
Diffstat (limited to 'spec/unit')
-rw-r--r--spec/unit/os/parsers/apk_spec.rb40
1 files changed, 20 insertions, 20 deletions
diff --git a/spec/unit/os/parsers/apk_spec.rb b/spec/unit/os/parsers/apk_spec.rb
index dca0152..f648300 100644
--- a/spec/unit/os/parsers/apk_spec.rb
+++ b/spec/unit/os/parsers/apk_spec.rb
@@ -10,26 +10,26 @@ RSpec.describe Spandx::Os::Parsers::Apk do
Spandx::Core::Dependency.new(name: name, version: version, path: path)
end
- specify { expect(subject).to include(build("alpine-baselayout", "3.2.0-r7", path)) }
- specify { expect(subject).to include(build("alpine-keys", "2.2-r0", path)) }
- specify { expect(subject).to include(build("apk-tools", "2.10.5-r1", path)) }
- specify { expect(subject).to include(build("busybox", "1.31.1-r19", path)) }
- specify { expect(subject).to include(build("ca-certificates", "20191127-r4", path)) }
- specify { expect(subject).to include(build("ca-certificates-bundle", "20191127-r4", path)) }
- specify { expect(subject).to include(build("expat", "2.2.9-r1", path)) }
- specify { expect(subject).to include(build("git", "2.26.2-r0", path)) }
- specify { expect(subject).to include(build("libc-utils", "0.7.2-r3", path)) }
- specify { expect(subject).to include(build("libcrypto1.1", "1.1.1g-r0", path)) }
- specify { expect(subject).to include(build("libcurl", "7.69.1-r1", path)) }
- specify { expect(subject).to include(build("libssl1.1", "1.1.1g-r0", path)) }
- specify { expect(subject).to include(build("libtls-standalone", "2.9.1-r1", path)) }
- specify { expect(subject).to include(build("musl", "1.1.24-r9", path)) }
- specify { expect(subject).to include(build("musl-utils", "1.1.24-r9", path)) }
- specify { expect(subject).to include(build("nghttp2-libs", "1.41.0-r0", path)) }
- specify { expect(subject).to include(build("pcre2", "10.35-r0", path)) }
- specify { expect(subject).to include(build("scanelf", "1.2.6-r0", path)) }
- specify { expect(subject).to include(build("ssl_client", "1.31.1-r19", path)) }
- specify { expect(subject).to include(build("zlib", "1.2.11-r3", path)) }
+ specify { expect(subject).to include(build('alpine-baselayout', '3.2.0-r7', path)) }
+ specify { expect(subject).to include(build('alpine-keys', '2.2-r0', path)) }
+ specify { expect(subject).to include(build('apk-tools', '2.10.5-r1', path)) }
+ specify { expect(subject).to include(build('busybox', '1.31.1-r19', path)) }
+ specify { expect(subject).to include(build('ca-certificates', '20191127-r4', path)) }
+ specify { expect(subject).to include(build('ca-certificates-bundle', '20191127-r4', path)) }
+ specify { expect(subject).to include(build('expat', '2.2.9-r1', path)) }
+ specify { expect(subject).to include(build('git', '2.26.2-r0', path)) }
+ specify { expect(subject).to include(build('libc-utils', '0.7.2-r3', path)) }
+ specify { expect(subject).to include(build('libcrypto1.1', '1.1.1g-r0', path)) }
+ specify { expect(subject).to include(build('libcurl', '7.69.1-r1', path)) }
+ specify { expect(subject).to include(build('libssl1.1', '1.1.1g-r0', path)) }
+ specify { expect(subject).to include(build('libtls-standalone', '2.9.1-r1', path)) }
+ specify { expect(subject).to include(build('musl', '1.1.24-r9', path)) }
+ specify { expect(subject).to include(build('musl-utils', '1.1.24-r9', path)) }
+ specify { expect(subject).to include(build('nghttp2-libs', '1.41.0-r0', path)) }
+ specify { expect(subject).to include(build('pcre2', '10.35-r0', path)) }
+ specify { expect(subject).to include(build('scanelf', '1.2.6-r0', path)) }
+ specify { expect(subject).to include(build('ssl_client', '1.31.1-r19', path)) }
+ specify { expect(subject).to include(build('zlib', '1.2.11-r3', path)) }
end
describe '#match?' do