summaryrefslogtreecommitdiff
path: root/spec/unit/python
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/python
parent80d59246ec0752128548d6c61a2d44ec498771d7 (diff)
feat: Add support for Ruby 3.2+HEADv0.19.0main
Diffstat (limited to 'spec/unit/python')
-rw-r--r--spec/unit/python/parsers/pipfile_lock_spec.rb2
-rw-r--r--spec/unit/python/pypi_spec.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/python/parsers/pipfile_lock_spec.rb b/spec/unit/python/parsers/pipfile_lock_spec.rb
index 59fff52..054ff1d 100644
--- a/spec/unit/python/parsers/pipfile_lock_spec.rb
+++ b/spec/unit/python/parsers/pipfile_lock_spec.rb
@@ -7,7 +7,7 @@ RSpec.describe Spandx::Python::Parsers::PipfileLock do
let(:path) { fixture_file('pip/Pipfile.lock') }
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 match_array([build('six', '1.13.0', path)]) }
diff --git a/spec/unit/python/pypi_spec.rb b/spec/unit/python/pypi_spec.rb
index a0617bd..cb350fb 100644
--- a/spec/unit/python/pypi_spec.rb
+++ b/spec/unit/python/pypi_spec.rb
@@ -141,7 +141,7 @@ RSpec.describe Spandx::Python::Pypi do
let(:source) { 'pypi.org' }
let(:package) { 'six' }
let(:version) { '1.13.0' }
- let(:successful_response_body) { JSON.generate(info: { name: package, version: version }) }
+ let(:successful_response_body) { JSON.generate(info: { name: package, version: }) }
context 'when the default source is reachable' do
before do