Source: ruby-rack-pjax
Version: 0.7.0-2
Severity: serious
Tags: ftbfs buster sid

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/ruby-rack-pjax.html

...
┌──────────────────────────────────────────────────────────────────────────────┐
│ Run tests for ruby2.5 from debian/ruby-tests.rake                            │
└──────────────────────────────────────────────────────────────────────────────┘

RUBYLIB=/build/1st/ruby-rack-pjax-0.7.0/debian/ruby-rack-pjax/usr/lib/ruby/vendor_ruby:.
 
GEM_PATH=debian/ruby-rack-pjax/usr/share/rubygems-integration/all:/var/lib/gems/2.5.0:/usr/lib/x86_64-linux-gnu/rubygems-integration/2.5.0:/usr/share/rubygems-integration/2.5.0:/usr/share/rubygems-integration/all
 ruby2.5 -S rake -f debian/ruby-tests.rake
/usr/bin/ruby2.5 /usr/bin/rspec --pattern ./spec/\*\*/\*_spec.rb
FFFFFFFFFFF

Failures:

  1) Rack::Pjax a pjaxified app, upon receiving a pjax-request should return 
the title-tag in the body
     Failure/Error: {'Content-Type' => 'text/plain', 'Content-Length' => 
Rack::Utils.bytesize(body).to_s},

     NoMethodError:
       undefined method `bytesize' for Rack::Utils:Module
     # ./spec/rack/pjax_spec.rb:14:in `block in generate_app'
     # ./lib/rack/pjax.rb:12:in `call'
     # ./spec/rack/pjax_spec.rb:28:in `block (3 levels) in <top (required)>'

  2) Rack::Pjax a pjaxified app, upon receiving a pjax-request should return 
the inner-html of the pjax-container in the body
     Failure/Error: {'Content-Type' => 'text/plain', 'Content-Length' => 
Rack::Utils.bytesize(body).to_s},

     NoMethodError:
       undefined method `bytesize' for Rack::Utils:Module
     # ./spec/rack/pjax_spec.rb:14:in `block in generate_app'
     # ./lib/rack/pjax.rb:12:in `call'
     # ./spec/rack/pjax_spec.rb:35:in `block (3 levels) in <top (required)>'

  3) Rack::Pjax a pjaxified app, upon receiving a pjax-request should return 
the inner-html of the custom pjax-container in the body
     Failure/Error: {'Content-Type' => 'text/plain', 'Content-Length' => 
Rack::Utils.bytesize(body).to_s},

     NoMethodError:
       undefined method `bytesize' for Rack::Utils:Module
     # ./spec/rack/pjax_spec.rb:14:in `block in generate_app'
     # ./lib/rack/pjax.rb:12:in `call'
     # ./spec/rack/pjax_spec.rb:42:in `block (3 levels) in <top (required)>'

  4) Rack::Pjax a pjaxified app, upon receiving a pjax-request should handle 
self closing tags with HTML5 elements
     Failure/Error: {'Content-Type' => 'text/plain', 'Content-Length' => 
Rack::Utils.bytesize(body).to_s},

     NoMethodError:
       undefined method `bytesize' for Rack::Utils:Module
     # ./spec/rack/pjax_spec.rb:14:in `block in generate_app'
     # ./lib/rack/pjax.rb:12:in `call'
     # ./spec/rack/pjax_spec.rb:49:in `block (3 levels) in <top (required)>'

  5) Rack::Pjax a pjaxified app, upon receiving a pjax-request should handle 
nesting of elements inside anchor tags
     Failure/Error: {'Content-Type' => 'text/plain', 'Content-Length' => 
Rack::Utils.bytesize(body).to_s},

     NoMethodError:
       undefined method `bytesize' for Rack::Utils:Module
     # ./spec/rack/pjax_spec.rb:14:in `block in generate_app'
     # ./lib/rack/pjax.rb:12:in `call'
     # ./spec/rack/pjax_spec.rb:57:in `block (3 levels) in <top (required)>'

  6) Rack::Pjax a pjaxified app, upon receiving a pjax-request should handle 
html5 br tags correctly
     Failure/Error: {'Content-Type' => 'text/plain', 'Content-Length' => 
Rack::Utils.bytesize(body).to_s},

     NoMethodError:
       undefined method `bytesize' for Rack::Utils:Module
     # ./spec/rack/pjax_spec.rb:14:in `block in generate_app'
     # ./lib/rack/pjax.rb:12:in `call'
     # ./spec/rack/pjax_spec.rb:65:in `block (3 levels) in <top (required)>'

  7) Rack::Pjax a pjaxified app, upon receiving a pjax-request should return 
the correct Content Length
     Failure/Error: {'Content-Type' => 'text/plain', 'Content-Length' => 
Rack::Utils.bytesize(body).to_s},

     NoMethodError:
       undefined method `bytesize' for Rack::Utils:Module
     # ./spec/rack/pjax_spec.rb:14:in `block in generate_app'
     # ./lib/rack/pjax.rb:12:in `call'
     # ./spec/rack/pjax_spec.rb:71:in `block (3 levels) in <top (required)>'

  8) Rack::Pjax a pjaxified app, upon receiving a pjax-request should return 
the original body when there's no pjax-container
     Failure/Error: {'Content-Type' => 'text/plain', 'Content-Length' => 
Rack::Utils.bytesize(body).to_s},

     NoMethodError:
       undefined method `bytesize' for Rack::Utils:Module
     # ./spec/rack/pjax_spec.rb:14:in `block in generate_app'
     # ./lib/rack/pjax.rb:12:in `call'
     # ./spec/rack/pjax_spec.rb:78:in `block (3 levels) in <top (required)>'

  9) Rack::Pjax a pjaxified app, upon receiving a pjax-request should preserve 
whitespaces of the original body
     Failure/Error: {'Content-Type' => 'text/plain', 'Content-Length' => 
Rack::Utils.bytesize(body).to_s},

     NoMethodError:
       undefined method `bytesize' for Rack::Utils:Module
     # ./spec/rack/pjax_spec.rb:14:in `block in generate_app'
     # ./lib/rack/pjax.rb:12:in `call'
     # ./spec/rack/pjax_spec.rb:90:in `block (3 levels) in <top (required)>'

  10) Rack::Pjax a pjaxified app, upon receiving a non-pjax request should 
return the original body
      Failure/Error: {'Content-Type' => 'text/plain', 'Content-Length' => 
Rack::Utils.bytesize(body).to_s},

      NoMethodError:
        undefined method `bytesize' for Rack::Utils:Module
      # ./spec/rack/pjax_spec.rb:14:in `block in generate_app'
      # ./lib/rack/pjax.rb:12:in `call'
      # ./spec/rack/pjax_spec.rb:101:in `block (3 levels) in <top (required)>'

  11) Rack::Pjax a pjaxified app, upon receiving a non-pjax request should 
return the correct Content Length
      Failure/Error: {'Content-Type' => 'text/plain', 'Content-Length' => 
Rack::Utils.bytesize(body).to_s},

      NoMethodError:
        undefined method `bytesize' for Rack::Utils:Module
      # ./spec/rack/pjax_spec.rb:14:in `block in generate_app'
      # ./lib/rack/pjax.rb:12:in `call'
      # ./spec/rack/pjax_spec.rb:106:in `block (3 levels) in <top (required)>'

Finished in 0.02712 seconds (files took 0.35624 seconds to load)
11 examples, 11 failures

Reply via email to