summaryrefslogtreecommitdiff
path: root/spec/unit/os/parsers
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2024-12-31 11:51:58 -0700
committermo khan <mo@mokhan.ca>2024-12-31 14:40:07 -0700
commit78c6a086164aa83ce2e4e57daadfbdb53a31a37f (patch)
tree2718cbb345bb3c8257ccbaf9e1b8e7913699a3a5 /spec/unit/os/parsers
parent80d59246ec0752128548d6c61a2d44ec498771d7 (diff)
feat: Add support for Ruby 3.2+HEADv0.19.0main
Diffstat (limited to 'spec/unit/os/parsers')
-rw-r--r--spec/unit/os/parsers/apk_spec.rb2
-rw-r--r--spec/unit/os/parsers/dpkg_spec.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/os/parsers/apk_spec.rb b/spec/unit/os/parsers/apk_spec.rb
index 0462d1b..220c15f 100644
--- a/spec/unit/os/parsers/apk_spec.rb
+++ b/spec/unit/os/parsers/apk_spec.rb
@@ -7,7 +7,7 @@ RSpec.describe Spandx::Os::Parsers::Apk do
let(:path) { fixture_file('os/lib/apk/db/installed') }
def build(name, version, path)
- Spandx::Core::Dependency.new(name: name, version: version, path: path)
+ Spandx::Core::Dependency.new(name:, version:, path:)
end
specify { expect(subject).to include(build('alpine-baselayout', '3.2.0-r7', path)) }
diff --git a/spec/unit/os/parsers/dpkg_spec.rb b/spec/unit/os/parsers/dpkg_spec.rb
index df63e35..2832fc9 100644
--- a/spec/unit/os/parsers/dpkg_spec.rb
+++ b/spec/unit/os/parsers/dpkg_spec.rb
@@ -7,7 +7,7 @@ RSpec.describe Spandx::Os::Parsers::Dpkg do
let(:path) { fixture_file('os/var/lib/dpkg/status') }
def build(name, version, path)
- Spandx::Core::Dependency.new(name: name, version: version, path: path)
+ Spandx::Core::Dependency.new(name:, version:, path:)
end
specify { expect(subject).to include(build('adduser', '3.118', path)) }