Source: ruby-rest-client
Version: 2.1.0-2
Severity: important
Justification: FTBFS
Tags: bookworm sid ftbfs
User: debian-r...@lists.debian.org
Usertags: ruby-rspec-3.12

Hi,

I'm about to upload ruby-rspec 3.12. During a test rebuild with that version,
ruby-rest-client failed to build.

Relevant part of the build log (hopefully):
>      Failure/Error:
>        Request.execute(options.merge(
>                :method => :head,
>                :url => url,
>                :headers => headers,
>                :log => log), &(block || @block))
> 
>        #<RestClient::Request (class)> received :execute with unexpected 
> arguments
>          expected: ({:headers=>{"X-Something"=>"1"}, :log=>nil, 
> :method=>:head, :password=>"mypass", :url=>"http://some/resource";, 
> :user=>"jane"}) (keyword arguments)
>               got: ({:headers=>{"X-Something"=>"1"}, :log=>nil, 
> :method=>:head, :password=>"mypass", :url=>"http://some/resource";, 
> :user=>"jane"}) (options hash)
>      # ./lib/restclient/resource.rb:60:in `head'
>      # ./spec/unit/resource_spec.rb:16:in `block (3 levels) in <top 
> (required)>'
> 
> Finished in 0.90862 seconds (files took 0.46198 seconds to load)
> 286 examples, 8 failures
> 
> Failed examples:
> 
> rspec ./spec/unit/request_spec.rb:506 # RestClient::Request class method 
> execute wraps constructor
> rspec ./spec/unit/resource_spec.rb:39 # RestClient::Resource Resource 
> delegation overrides resource headers
> rspec ./spec/unit/resource_spec.rb:19 # RestClient::Resource Resource 
> delegation POST
> rspec ./spec/unit/resource_spec.rb:29 # RestClient::Resource Resource 
> delegation PATCH
> rspec ./spec/unit/resource_spec.rb:9 # RestClient::Resource Resource 
> delegation GET
> rspec ./spec/unit/resource_spec.rb:24 # RestClient::Resource Resource 
> delegation PUT
> rspec ./spec/unit/resource_spec.rb:34 # RestClient::Resource Resource 
> delegation DELETE
> rspec ./spec/unit/resource_spec.rb:14 # RestClient::Resource Resource 
> delegation HEAD
> 
> Randomized with seed 8137
> 
> /usr/bin/ruby3.1 
> -I/usr/share/rubygems-integration/all/gems/rspec-support-3.12.0/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib
>  /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/exe/rspec 
> --pattern ./spec/\*\*/\*_spec.rb --format documentation failed
> ERROR: Test "ruby3.1" failed: 


The full build log is attached.

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

Attachment: ruby-rest-client.log.gz
Description: application/gzip

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Pkg-ruby-extras-maintainers mailing list
Pkg-ruby-extras-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers

Reply via email to