GithubHelp home page GithubHelp logo

powerman / perl-mojolicious-plugin-jsonrpc2 Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 44 KB

Perl module: Mojolicious::Plugin::JSONRPC2 - JSON RPC 2.0 over HTTP

Home Page: https://metacpan.org/release/Mojolicious-Plugin-JSONRPC2

License: Other

Perl 100.00%

perl-mojolicious-plugin-jsonrpc2's People

Stargazers

 avatar

Watchers

 avatar  avatar

perl-mojolicious-plugin-jsonrpc2's Issues

Can't locate object method "requires" via package "Mojolicious::Routes::Route"

On some of my smokers the test suite fails:

Can't locate object method "requires" via package "Mojolicious::Routes::Route" at t/basic.t line 24.
t/basic.t ................. 
Dubious, test returned 2 (wstat 512, 0x200)
No subtests run 

This seems to happen if older Mojolicious versions are installed. Statistical analysis:

****************************************************************
Regression 'mod:Mojolicious'
****************************************************************
Name           	       Theta	      StdErr	 T-stat
[0='const']    	      0.0000	      0.0000	   0.42
[1='eq_7.18']  	      0.0000	      0.0000	   0.21
[2='eq_7.55']  	     -0.0000	      0.0000	  -1.06
[3='eq_8.09']  	     -0.0000	      0.0000	  -2.33
[4='eq_8.12']  	     -0.0000	      0.0000	  -1.61
[5='eq_8.17']  	      0.0000	      0.0000	   2.96
[6='eq_8.40']  	      0.0000	      0.0000	   0.21
[7='eq_8.41']  	      0.0000	      0.0000	   1.07
[8='eq_8.43']  	      0.0000	      0.0000	   0.85
[9='eq_8.58']  	     -0.0000	      0.0000	  -1.27
[10='eq_8.67'] 	      1.0000	      0.0000	6600543558787867.00
[11='eq_8.71'] 	      1.0000	      0.0000	4820355465258053.00
[12='eq_8.72'] 	      1.0000	      0.0000	6916535763280344.00
[13='eq_8.73'] 	      1.0000	      0.0000	6957583813641054.00
[14='eq_9.0']  	      1.0000	      0.0000	7149742581742021.00

R^2= 1.000, N= 76, K= 15
****************************************************************

So the missing method was introduced at some point between 8.58 and 8.67.

Tests fail (with Mojolicious 9.11+?)

The test suite started to fail on my smoker systems:


#   Failed test '200 OK'
#   at t/basic.t line 104.
#          got: '404'
#     expected: '200'

#   Failed test 'exact match for content'
#   at t/basic.t line 104.
#          got: '<!DOCTYPE html>
# <!-- Request ID: v7aHzzaj0LwC -->
# <html>
#   <head>
#     <title>Page Not Found (development mode)</title>
#     <meta http-equiv="Pragma" content="no-cache">
#     <meta http-equiv="Expires" content="-1">
...
#       </div>
#     </footer>
#   </body>
# </html>
# '
#     expected: 'Only Full API'
# Looks like you failed 4 tests of 57.
t/basic.t ................. 
Dubious, test returned 4 (wstat 1024, 0x400)
Failed 4/57 subtests 

Possibly this happens with newer Mojolicious versions, 9.11 and up.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.