CanCanCommunity/cancancan

View on GitHub
docs/public/pennylane.svg

Summary

Maintainability
Test Coverage
<svg xmlns="http://www.w3.org/2000/svg" width="239" height="48" fill="none">
    <path fill="#2D4663" fill-rule="evenodd" d="M24 48c13.255 0 24-10.745 24-24S37.255 0 24 0 0 10.745 0 24s10.745 24 24 24Zm0-4c11.046 0 20-8.954 20-20S35.046 4 24 4 4 12.954 4 24s8.954 20 20 20Z" clip-rule="evenodd"/>
    <path fill="#066" d="M24 16.516a9 9 0 1 1 0 14.969A8.991 8.991 0 0 0 28 24a8.99 8.99 0 0 0-4-7.484Z"/>
    <path fill="#00F872" d="M19 15c1.85 0 3.57.558 5 1.516A8.991 8.991 0 0 0 20 24a8.99 8.99 0 0 0 4 7.484A9 9 0 1 1 19 15Z"/>
    <path fill="#2D4663" d="M67.862 34.54c-1.896 0-3.486-.45-4.77-1.35-1.284-.9-2.25-2.124-2.898-3.672-.648-1.56-.972-3.306-.972-5.238 0-1.956.324-3.708.972-5.256.648-1.548 1.596-2.766 2.844-3.654 1.26-.9 2.814-1.35 4.662-1.35 1.836 0 3.426.45 4.77 1.35 1.356.888 2.406 2.106 3.15 3.654.744 1.536 1.116 3.288 1.116 5.256 0 1.944-.366 3.69-1.098 5.238-.732 1.548-1.764 2.772-3.096 3.672-1.332.9-2.892 1.35-4.68 1.35Zm-9.378 8.1V14.56h3.834v13.644h.54V42.64h-4.374Zm8.712-11.988c1.128 0 2.058-.282 2.79-.846.732-.564 1.272-1.326 1.62-2.286.36-.972.54-2.052.54-3.24 0-1.176-.18-2.244-.54-3.204-.36-.972-.918-1.74-1.674-2.304-.756-.576-1.716-.864-2.88-.864-1.104 0-2.004.27-2.7.81-.696.528-1.212 1.272-1.548 2.232-.324.948-.486 2.058-.486 3.33 0 1.26.162 2.37.486 3.33.336.96.858 1.71 1.566 2.25.72.528 1.662.792 2.826.792Zm22.346 3.888c-1.968 0-3.696-.426-5.184-1.278a9.1 9.1 0 0 1-3.492-3.546c-.828-1.512-1.242-3.252-1.242-5.22 0-2.124.408-3.966 1.224-5.526.816-1.572 1.95-2.79 3.402-3.654 1.452-.864 3.132-1.296 5.04-1.296 2.016 0 3.726.474 5.13 1.422 1.416.936 2.466 2.262 3.15 3.978.684 1.716.942 3.738.774 6.066h-4.302v-1.584c-.012-2.112-.384-3.654-1.116-4.626-.732-.972-1.884-1.458-3.456-1.458-1.776 0-3.096.552-3.96 1.656-.864 1.092-1.296 2.694-1.296 4.806 0 1.968.432 3.492 1.296 4.572.864 1.08 2.124 1.62 3.78 1.62 1.068 0 1.986-.234 2.754-.702.78-.48 1.38-1.17 1.8-2.07l4.284 1.296c-.744 1.752-1.896 3.114-3.456 4.086-1.548.972-3.258 1.458-5.13 1.458Zm-6.696-9.054V22.21H96.22v3.276H82.846ZM115.279 34v-9.36c0-.612-.042-1.29-.126-2.034a7.03 7.03 0 0 0-.594-2.142 4.061 4.061 0 0 0-1.368-1.71c-.6-.444-1.416-.666-2.448-.666a5.15 5.15 0 0 0-1.638.27 3.76 3.76 0 0 0-1.476.936c-.432.432-.78 1.032-1.044 1.8-.264.756-.396 1.728-.396 2.916l-2.574-1.098c0-1.656.318-3.156.954-4.5a7.658 7.658 0 0 1 2.844-3.204c1.248-.804 2.784-1.206 4.608-1.206 1.44 0 2.628.24 3.564.72.936.48 1.68 1.092 2.231 1.836a7.996 7.996 0 0 1 1.225 2.376c.264.84.432 1.638.504 2.394.084.744.126 1.35.126 1.818V34h-4.392Zm-13.482 0V14.56h3.87v6.03h.522V34h-4.392Zm36.017 0v-9.36c0-.612-.042-1.29-.126-2.034a7.03 7.03 0 0 0-.594-2.142 4.061 4.061 0 0 0-1.368-1.71c-.6-.444-1.416-.666-2.448-.666a5.15 5.15 0 0 0-1.638.27 3.76 3.76 0 0 0-1.476.936c-.432.432-.78 1.032-1.044 1.8-.264.756-.396 1.728-.396 2.916l-2.574-1.098c0-1.656.318-3.156.954-4.5a7.658 7.658 0 0 1 2.844-3.204c1.248-.804 2.784-1.206 4.608-1.206 1.44 0 2.628.24 3.564.72.936.48 1.68 1.092 2.232 1.836.552.744.96 1.536 1.224 2.376.264.84.432 1.638.504 2.394.084.744.126 1.35.126 1.818V34h-4.392Zm-13.482 0V14.56h3.87v6.03h.522V34h-4.392Zm24.424 8.64 3.744-10.278.072 3.024-8.478-20.826h4.518l6.012 15.408h-1.152l5.85-15.408h4.338l-10.836 28.08h-4.068ZM166.704 34V7.54h4.338V34h-4.338Zm15.166.54c-1.404 0-2.592-.264-3.564-.792-.972-.54-1.71-1.254-2.214-2.142-.492-.888-.738-1.866-.738-2.934 0-.936.156-1.776.468-2.52a4.97 4.97 0 0 1 1.44-1.944c.648-.552 1.488-1.002 2.52-1.35.78-.252 1.692-.48 2.736-.684a63.892 63.892 0 0 1 3.42-.558c1.236-.18 2.526-.372 3.87-.576l-1.548.882c.012-1.344-.288-2.334-.9-2.97-.612-.636-1.644-.954-3.096-.954-.876 0-1.722.204-2.538.612-.816.408-1.386 1.11-1.71 2.106l-3.96-1.242c.48-1.644 1.392-2.964 2.736-3.96 1.356-.996 3.18-1.494 5.472-1.494 1.728 0 3.246.282 4.554.846a5.655 5.655 0 0 1 2.934 2.772c.348.684.558 1.386.63 2.106.072.708.108 1.482.108 2.322V34h-3.798v-4.212l.63.684c-.876 1.404-1.902 2.436-3.078 3.096-1.164.648-2.622.972-4.374.972Zm.864-3.456c.984 0 1.824-.174 2.52-.522.696-.348 1.248-.774 1.656-1.278.42-.504.702-.978.846-1.422.228-.552.354-1.182.378-1.89.036-.72.054-1.302.054-1.746l1.332.396c-1.308.204-2.43.384-3.366.54-.936.156-1.74.306-2.412.45-.672.132-1.266.282-1.782.45-.504.18-.93.39-1.278.63a2.79 2.79 0 0 0-.81.828c-.18.312-.27.678-.27 1.098 0 .48.12.906.36 1.278.24.36.588.648 1.044.864.468.216 1.044.324 1.728.324ZM210.622 34v-9.36c0-.612-.042-1.29-.126-2.034a7.03 7.03 0 0 0-.594-2.142 4.061 4.061 0 0 0-1.368-1.71c-.6-.444-1.416-.666-2.448-.666a5.15 5.15 0 0 0-1.638.27 3.76 3.76 0 0 0-1.476.936c-.432.432-.78 1.032-1.044 1.8-.264.756-.396 1.728-.396 2.916l-2.574-1.098c0-1.656.318-3.156.954-4.5a7.658 7.658 0 0 1 2.844-3.204c1.248-.804 2.784-1.206 4.608-1.206 1.44 0 2.628.24 3.564.72.936.48 1.68 1.092 2.232 1.836.552.744.96 1.536 1.224 2.376.264.84.432 1.638.504 2.394.084.744.126 1.35.126 1.818V34h-4.392Zm-13.482 0V14.56h3.87v6.03h.522V34h-4.392Zm31.093.54c-1.968 0-3.696-.426-5.184-1.278a9.1 9.1 0 0 1-3.492-3.546c-.828-1.512-1.242-3.252-1.242-5.22 0-2.124.408-3.966 1.224-5.526.816-1.572 1.95-2.79 3.402-3.654 1.452-.864 3.132-1.296 5.04-1.296 2.016 0 3.726.474 5.13 1.422 1.416.936 2.466 2.262 3.15 3.978.684 1.716.942 3.738.774 6.066h-4.302v-1.584c-.012-2.112-.384-3.654-1.116-4.626-.732-.972-1.884-1.458-3.456-1.458-1.776 0-3.096.552-3.96 1.656-.864 1.092-1.296 2.694-1.296 4.806 0 1.968.432 3.492 1.296 4.572.864 1.08 2.124 1.62 3.78 1.62 1.068 0 1.986-.234 2.754-.702.78-.48 1.38-1.17 1.8-2.07l4.284 1.296c-.744 1.752-1.896 3.114-3.456 4.086-1.548.972-3.258 1.458-5.13 1.458Zm-6.696-9.054V22.21h13.374v3.276h-13.374Z"/>
</svg>