CINXE.COM
RubyGems - rider-kick - Versions diffs - 0.0.3 → 0.0.4 - Mend - Supply Chain Defender
<!DOCTYPE html> <html> <head> <title> RubyGems - rider-kick - Versions diffs - 0.0.3 → 0.0.4 - Mend - Supply Chain Defender </title> <link rel="icon" type="image/png" href="/packs/media/images/production/favicons/favicon-32x32-fa0286238d4d512e71dba3881cbbcc42.png" /> <link rel="mask-icon" type="image/x-icon" href="/packs/media/images/production/favicons/favicon-786db6a85c0dea068c1a7047338024d2.svg" /> <link rel="apple-touch-icon" type="image/png" href="/packs/media/images/production/favicons/apple-touch-icon-11491aa2351c88b3b48534d1576a2ff9.png" /> <link rel="shortcut icon" type="image/x-icon" href="/packs/media/images/production/favicons/favicon-81c62e5500c39bd10e99844e94455995.ico" /> <meta name="csrf-param" content="authenticity_token" /> <meta name="csrf-token" content="Kyq10ffaEGTLCrGH1LJ8SuUNF14sYCv0WuALmu6f-wYHgEMsMLGk7FANRH3D4N2HDb5BL5tPLDi2QZk-ELqPow" /> <meta content='no-cache' name='turbolinks-cache-control'> <meta content='width=device-width, initial-scale=1' name='viewport'> <link rel="stylesheet" href="/packs/css/application-b44eb75784afb1e9f8ce.css" media="all" /> <script src="/packs/js/application-9f130b109122a7b55e22.js" data-turbolinks-track="reload"></script> <link href='https://fonts.googleapis.com/css?family=Nunito:200,200i,300,300i,400,400i,600,600i,700,700i,800,800i,900,900i' rel='stylesheet'> </head> <body class='registries ruby_gems diffs' id='page-top'> <div id='wrapper'> <div class='d-flex flex-column' id='content-wrapper'> <div id='content'> <nav class='navbar navbar-expand navbar-light bg-white topbar mb-4 shadow'> <a class='sidebar-brand d-flex align-items-center justify-content-center' href='/'> <div class='sidebar-brand-text mx-3 d-none d-xxl-block d-xl-block'> <img alt="Diffend" src="/packs/media/images/production/logos/vertical-dark-5363ad390f9fcfd11bfecf89a3fb60f1.svg" /> </div> </a> <div class='container'> <ul class='navbar-nav'> <li class='nav-item'> <a class='nav-link' href='/gems'> <span class='mr-2 d-none d-lg-inline text-gray-600'> RubyGems </span> </a> </li> <li class='nav-item'> <a class='nav-link' href='/npm'> <span class='mr-2 d-none d-lg-inline text-gray-600'> npm </span> </a> </li> <div class='topbar-divider d-sm-block'></div> <li class='nav-item'> <a class='nav-link' href='/organizations'> <span class='mr-2 d-none d-lg-inline text-gray-600'> Organizations </span> </a> </li> </ul> <ul class='navbar-nav'> <div class='topbar-divider d-none d-sm-block'></div> <li class='nav-item'> <a class='nav-link' href='/users/sign_in'> <span class='mr-2 d-none d-lg-inline text-gray-600'> <i class='fas fa-key fa-fw mr-2'></i> Log in </span> </a> </li> <li class='nav-item'> <a class='nav-link' href='/users/sign_up'> <span class='mr-2 d-none d-lg-inline text-gray-600'> <i class='fas fa-user-plus fa-fw mr-2'></i> Sign up </span> </a> </li> </ul> </div> </nav> <div class='container'> <div class='row'> <div class='col mb-1'> <nav> <ol class='breadcrumb'> <li class='breadcrumb-item'> <a href="/gems">RubyGems</a> </li> <li class='breadcrumb-item'> <a href="/gems/rider-kick">rider-kick</a> </li> <li class='breadcrumb-item'> <a href="/gems/rider-kick">Versions diffs</a> </li> <li class='breadcrumb-item'> <a href="/gems/rider-kick/0.0.3/0.0.4">0.0.3 → 0.0.4</a> </li> </ol> </nav> </div> </div> <div class='row'> <div class='col'> <div class='text-right mb-4'> </div> </div> </div> <div class='row'> <div class='col align-items-center mb-4'> <div class='text-center'> <h2 class='text-gray-800'> rider-kick 0.0.3 → 0.0.4 </h2> </div> </div> </div> <div data-diff-id='40d5c562-2a6e-49d3-961b-b7261374edaf' data-diff-state='finished' id='diff-id'> <div class='row'> <div class='col pt-2 text-black'> <div class='row'> <div class='col-lg-12 mb-4 mt-2'> <div class='card bg-info text-white shadow'> <div class='card-body'> <span class='icon text-white-100 mr-2'> <i class='fas fa-info-circle'></i> </span> Sign up to get <strong>free</strong> protection for your applications and to get access to all the features. </div> </div> </div> </div> <div id='diff'> <div class='mb-3'> <div class="d2h-file-list-wrapper"> <div class="d2h-file-list-header"> <span class="d2h-file-list-title">Files changed (24)</span> <a class="d2h-file-switch d2h-hide">hide</a> <a class="d2h-file-switch d2h-show">show</a> </div> <ol class="d2h-file-list"> <li class="d2h-file-list-line"> <span class="d2h-file-name-wrapper"> <svg aria-hidden="true" class="d2h-icon d2h-changed" height="16" title="modified" version="1.1" viewBox="0 0 14 16" width="14"> <path d="M13 1H1C0.45 1 0 1.45 0 2v12c0 0.55 0.45 1 1 1h12c0.55 0 1-0.45 1-1V2c0-0.55-0.45-1-1-1z m0 13H1V2h12v12zM4 8c0-1.66 1.34-3 3-3s3 1.34 3 3-1.34 3-3 3-3-1.34-3-3z"></path> </svg> <a href="/gems/rider-kick/0.0.3/0.0.4/page/1#d2h-683205" class="d2h-file-name">checksums.yaml</a> <span class="d2h-file-stats"> <span class="d2h-lines-added">+4</span> <span class="d2h-lines-deleted">-4</span> </span> </span> </li> <li class="d2h-file-list-line"> <span class="d2h-file-name-wrapper"> <svg aria-hidden="true" class="d2h-icon d2h-changed" height="16" title="modified" version="1.1" viewBox="0 0 14 16" width="14"> <path d="M13 1H1C0.45 1 0 1.45 0 2v12c0 0.55 0.45 1 1 1h12c0.55 0 1-0.45 1-1V2c0-0.55-0.45-1-1-1z m0 13H1V2h12v12zM4 8c0-1.66 1.34-3 3-3s3 1.34 3 3-1.34 3-3 3-3-1.34-3-3z"></path> </svg> <a href="/gems/rider-kick/0.0.3/0.0.4/page/1#d2h-027470" class="d2h-file-name">data/README.md</a> <span class="d2h-file-stats"> <span class="d2h-lines-added">+9</span> <span class="d2h-lines-deleted">-8</span> </span> </span> </li> <li class="d2h-file-list-line"> <span class="d2h-file-name-wrapper"> <svg aria-hidden="true" class="d2h-icon d2h-changed" height="16" title="modified" version="1.1" viewBox="0 0 14 16" width="14"> <path d="M13 1H1C0.45 1 0 1.45 0 2v12c0 0.55 0.45 1 1 1h12c0.55 0 1-0.45 1-1V2c0-0.55-0.45-1-1-1z m0 13H1V2h12v12zM4 8c0-1.66 1.34-3 3-3s3 1.34 3 3-1.34 3-3 3-3-1.34-3-3z"></path> </svg> <a href="/gems/rider-kick/0.0.3/0.0.4/page/1#d2h-632931" class="d2h-file-name">data/lib/generators/rider_kick/USAGE</a> <span class="d2h-file-stats"> <span class="d2h-lines-added">+4</span> <span class="d2h-lines-deleted">-7</span> </span> </span> </li> <li class="d2h-file-list-line"> <span class="d2h-file-name-wrapper"> <svg aria-hidden="true" class="d2h-icon d2h-changed" height="16" title="modified" version="1.1" viewBox="0 0 14 16" width="14"> <path d="M13 1H1C0.45 1 0 1.45 0 2v12c0 0.55 0.45 1 1 1h12c0.55 0 1-0.45 1-1V2c0-0.55-0.45-1-1-1z m0 13H1V2h12v12zM4 8c0-1.66 1.34-3 3-3s3 1.34 3 3-1.34 3-3 3-3-1.34-3-3z"></path> </svg> <a href="/gems/rider-kick/0.0.3/0.0.4/page/1#d2h-746342" class="d2h-file-name">data/lib/generators/rider_kick/clean_arch_generator.rb</a> <span class="d2h-file-stats"> <span class="d2h-lines-added">+6</span> <span class="d2h-lines-deleted">-8</span> </span> </span> </li> <li class="d2h-file-list-line"> <span class="d2h-file-name-wrapper"> <svg aria-hidden="true" class="d2h-icon d2h-changed" height="16" title="modified" version="1.1" viewBox="0 0 14 16" width="14"> <path d="M13 1H1C0.45 1 0 1.45 0 2v12c0 0.55 0.45 1 1 1h12c0.55 0 1-0.45 1-1V2c0-0.55-0.45-1-1-1z m0 13H1V2h12v12zM4 8c0-1.66 1.34-3 3-3s3 1.34 3 3-1.34 3-3 3-3-1.34-3-3z"></path> </svg> <a href="/gems/rider-kick/0.0.3/0.0.4/page/1#d2h-665424" class="d2h-file-name">data/lib/generators/rider_kick/scaffold_generator.rb</a> <span class="d2h-file-stats"> <span class="d2h-lines-added">+7</span> <span class="d2h-lines-deleted">-6</span> </span> </span> </li> <li class="d2h-file-list-line"> <span class="d2h-file-name-wrapper"> <svg aria-hidden="true" class="d2h-icon d2h-changed" height="16" title="modified" version="1.1" viewBox="0 0 14 16" width="14"> <path d="M13 1H1C0.45 1 0 1.45 0 2v12c0 0.55 0.45 1 1 1h12c0.55 0 1-0.45 1-1V2c0-0.55-0.45-1-1-1z m0 13H1V2h12v12zM4 8c0-1.66 1.34-3 3-3s3 1.34 3 3-1.34 3-3 3-3-1.34-3-3z"></path> </svg> <a href="/gems/rider-kick/0.0.3/0.0.4/page/1#d2h-182949" class="d2h-file-name">data/lib/generators/rider_kick/structure_generator.rb</a> <span class="d2h-file-stats"> <span class="d2h-lines-added">+14</span> <span class="d2h-lines-deleted">-15</span> </span> </span> </li> <li class="d2h-file-list-line"> <span class="d2h-file-name-wrapper"> <svg aria-hidden="true" class="d2h-icon d2h-changed" height="16" title="modified" version="1.1" viewBox="0 0 14 16" width="14"> <path d="M13 1H1C0.45 1 0 1.45 0 2v12c0 0.55 0.45 1 1 1h12c0.55 0 1-0.45 1-1V2c0-0.55-0.45-1-1-1z m0 13H1V2h12v12zM4 8c0-1.66 1.34-3 3-3s3 1.34 3 3-1.34 3-3 3-3-1.34-3-3z"></path> </svg> <a href="/gems/rider-kick/0.0.3/0.0.4/page/1#d2h-855779" class="d2h-file-name">data/lib/generators/rider_kick/templates/README.md</a> <span class="d2h-file-stats"> <span class="d2h-lines-added">+1</span> <span class="d2h-lines-deleted">-3</span> </span> </span> </li> <li class="d2h-file-list-line"> <span class="d2h-file-name-wrapper"> <svg aria-hidden="true" class="d2h-icon d2h-changed" height="16" title="modified" version="1.1" viewBox="0 0 14 16" width="14"> <path d="M13 1H1C0.45 1 0 1.45 0 2v12c0 0.55 0.45 1 1 1h12c0.55 0 1-0.45 1-1V2c0-0.55-0.45-1-1-1z m0 13H1V2h12v12zM4 8c0-1.66 1.34-3 3-3s3 1.34 3 3-1.34 3-3 3-3-1.34-3-3z"></path> </svg> <a href="/gems/rider-kick/0.0.3/0.0.4/page/1#d2h-509541" class="d2h-file-name">data/lib/generators/rider_kick/templates/config/initializers/hashie.rb.tt</a> <span class="d2h-file-stats"> <span class="d2h-lines-added">+1</span> <span class="d2h-lines-deleted">-0</span> </span> </span> </li> <li class="d2h-file-list-line"> <span class="d2h-file-name-wrapper"> <svg aria-hidden="true" class="d2h-icon d2h-changed" height="16" title="modified" version="1.1" viewBox="0 0 14 16" width="14"> <path d="M13 1H1C0.45 1 0 1.45 0 2v12c0 0.55 0.45 1 1 1h12c0.55 0 1-0.45 1-1V2c0-0.55-0.45-1-1-1z m0 13H1V2h12v12zM4 8c0-1.66 1.34-3 3-3s3 1.34 3 3-1.34 3-3 3-3-1.34-3-3z"></path> </svg> <a href="/gems/rider-kick/0.0.3/0.0.4/page/1#d2h-922261" class="d2h-file-name">data/lib/generators/rider_kick/templates/db/structures/example.yaml.tt</a> <span class="d2h-file-stats"> <span class="d2h-lines-added">+13</span> <span class="d2h-lines-deleted">-23</span> </span> </span> </li> <li class="d2h-file-list-line"> <span class="d2h-file-name-wrapper"> <svg aria-hidden="true" class="d2h-icon d2h-changed" height="16" title="modified" version="1.1" viewBox="0 0 14 16" width="14"> <path d="M13 1H1C0.45 1 0 1.45 0 2v12c0 0.55 0.45 1 1 1h12c0.55 0 1-0.45 1-1V2c0-0.55-0.45-1-1-1z m0 13H1V2h12v12zM4 8c0-1.66 1.34-3 3-3s3 1.34 3 3-1.34 3-3 3-3-1.34-3-3z"></path> </svg> <a href="/gems/rider-kick/0.0.3/0.0.4/page/1#d2h-559674" class="d2h-file-name">data/lib/generators/rider_kick/templates/domains/core/repositories/abstract_repository.rb.tt</a> <span class="d2h-file-stats"> <span class="d2h-lines-added">+1</span> <span class="d2h-lines-deleted">-1</span> </span> </span> </li> <li class="d2h-file-list-line"> <span class="d2h-file-name-wrapper"> <svg aria-hidden="true" class="d2h-icon d2h-changed" height="16" title="modified" version="1.1" viewBox="0 0 14 16" width="14"> <path d="M13 1H1C0.45 1 0 1.45 0 2v12c0 0.55 0.45 1 1 1h12c0.55 0 1-0.45 1-1V2c0-0.55-0.45-1-1-1z m0 13H1V2h12v12zM4 8c0-1.66 1.34-3 3-3s3 1.34 3 3-1.34 3-3 3-3-1.34-3-3z"></path> </svg> <a href="/gems/rider-kick/0.0.3/0.0.4/page/1#d2h-765330" class="d2h-file-name">data/lib/generators/rider_kick/templates/domains/core/use_cases/contract/default.rb.tt</a> <span class="d2h-file-stats"> <span class="d2h-lines-added">+3</span> <span class="d2h-lines-deleted">-3</span> </span> </span> </li> <li class="d2h-file-list-line"> <span class="d2h-file-name-wrapper"> <svg aria-hidden="true" class="d2h-icon d2h-changed" height="16" title="modified" version="1.1" viewBox="0 0 14 16" width="14"> <path d="M13 1H1C0.45 1 0 1.45 0 2v12c0 0.55 0.45 1 1 1h12c0.55 0 1-0.45 1-1V2c0-0.55-0.45-1-1-1z m0 13H1V2h12v12zM4 8c0-1.66 1.34-3 3-3s3 1.34 3 3-1.34 3-3 3-3-1.34-3-3z"></path> </svg> <a href="/gems/rider-kick/0.0.3/0.0.4/page/1#d2h-089114" class="d2h-file-name">data/lib/generators/rider_kick/templates/domains/core/use_cases/create.rb.tt</a> <span class="d2h-file-stats"> <span class="d2h-lines-added">+1</span> <span class="d2h-lines-deleted">-1</span> </span> </span> </li> <li class="d2h-file-list-line"> <span class="d2h-file-name-wrapper"> <svg aria-hidden="true" class="d2h-icon d2h-changed" height="16" title="modified" version="1.1" viewBox="0 0 14 16" width="14"> <path d="M13 1H1C0.45 1 0 1.45 0 2v12c0 0.55 0.45 1 1 1h12c0.55 0 1-0.45 1-1V2c0-0.55-0.45-1-1-1z m0 13H1V2h12v12zM4 8c0-1.66 1.34-3 3-3s3 1.34 3 3-1.34 3-3 3-3-1.34-3-3z"></path> </svg> <a href="/gems/rider-kick/0.0.3/0.0.4/page/1#d2h-725072" class="d2h-file-name">data/lib/generators/rider_kick/templates/domains/core/use_cases/destroy.rb.tt</a> <span class="d2h-file-stats"> <span class="d2h-lines-added">+1</span> <span class="d2h-lines-deleted">-1</span> </span> </span> </li> <li class="d2h-file-list-line"> <span class="d2h-file-name-wrapper"> <svg aria-hidden="true" class="d2h-icon d2h-changed" height="16" title="modified" version="1.1" viewBox="0 0 14 16" width="14"> <path d="M13 1H1C0.45 1 0 1.45 0 2v12c0 0.55 0.45 1 1 1h12c0.55 0 1-0.45 1-1V2c0-0.55-0.45-1-1-1z m0 13H1V2h12v12zM4 8c0-1.66 1.34-3 3-3s3 1.34 3 3-1.34 3-3 3-3-1.34-3-3z"></path> </svg> <a href="/gems/rider-kick/0.0.3/0.0.4/page/1#d2h-190476" class="d2h-file-name">data/lib/generators/rider_kick/templates/domains/core/use_cases/fetch_by_id.rb.tt</a> <span class="d2h-file-stats"> <span class="d2h-lines-added">+1</span> <span class="d2h-lines-deleted">-1</span> </span> </span> </li> <li class="d2h-file-list-line"> <span class="d2h-file-name-wrapper"> <svg aria-hidden="true" class="d2h-icon d2h-changed" height="16" title="modified" version="1.1" viewBox="0 0 14 16" width="14"> <path d="M13 1H1C0.45 1 0 1.45 0 2v12c0 0.55 0.45 1 1 1h12c0.55 0 1-0.45 1-1V2c0-0.55-0.45-1-1-1z m0 13H1V2h12v12zM4 8c0-1.66 1.34-3 3-3s3 1.34 3 3-1.34 3-3 3-3-1.34-3-3z"></path> </svg> <a href="/gems/rider-kick/0.0.3/0.0.4/page/1#d2h-078264" class="d2h-file-name">data/lib/generators/rider_kick/templates/domains/core/use_cases/list.rb.tt</a> <span class="d2h-file-stats"> <span class="d2h-lines-added">+1</span> <span class="d2h-lines-deleted">-1</span> </span> </span> </li> <li class="d2h-file-list-line"> <span class="d2h-file-name-wrapper"> <svg aria-hidden="true" class="d2h-icon d2h-changed" height="16" title="modified" version="1.1" viewBox="0 0 14 16" width="14"> <path d="M13 1H1C0.45 1 0 1.45 0 2v12c0 0.55 0.45 1 1 1h12c0.55 0 1-0.45 1-1V2c0-0.55-0.45-1-1-1z m0 13H1V2h12v12zM4 8c0-1.66 1.34-3 3-3s3 1.34 3 3-1.34 3-3 3-3-1.34-3-3z"></path> </svg> <a href="/gems/rider-kick/0.0.3/0.0.4/page/1#d2h-848755" class="d2h-file-name">data/lib/generators/rider_kick/templates/domains/core/use_cases/update.rb.tt</a> <span class="d2h-file-stats"> <span class="d2h-lines-added">+1</span> <span class="d2h-lines-deleted">-1</span> </span> </span> </li> <li class="d2h-file-list-line"> <span class="d2h-file-name-wrapper"> <svg aria-hidden="true" class="d2h-icon d2h-added" height="16" title="added" version="1.1" viewBox="0 0 14 16" width="14"> <path d="M13 1H1C0.45 1 0 1.45 0 2v12c0 0.55 0.45 1 1 1h12c0.55 0 1-0.45 1-1V2c0-0.55-0.45-1-1-1z m0 13H1V2h12v12zM6 9H3V7h3V4h2v3h3v2H8v3H6V9z"></path> </svg> <a href="/gems/rider-kick/0.0.3/0.0.4/page/1#d2h-518253" class="d2h-file-name">data/lib/generators/rider_kick/templates/models/application_record.rb</a> <span class="d2h-file-stats"> <span class="d2h-lines-added">+7</span> <span class="d2h-lines-deleted">-0</span> </span> </span> </li> <li class="d2h-file-list-line"> <span class="d2h-file-name-wrapper"> <svg aria-hidden="true" class="d2h-icon d2h-added" height="16" title="added" version="1.1" viewBox="0 0 14 16" width="14"> <path d="M13 1H1C0.45 1 0 1.45 0 2v12c0 0.55 0.45 1 1 1h12c0.55 0 1-0.45 1-1V2c0-0.55-0.45-1-1-1z m0 13H1V2h12v12zM6 9H3V7h3V4h2v3h3v2H8v3H6V9z"></path> </svg> <a href="/gems/rider-kick/0.0.3/0.0.4/page/1#d2h-945033" class="d2h-file-name">data/lib/generators/rider_kick/templates/models/models.rb</a> <span class="d2h-file-stats"> <span class="d2h-lines-added">+2</span> <span class="d2h-lines-deleted">-0</span> </span> </span> </li> <li class="d2h-file-list-line"> <span class="d2h-file-name-wrapper"> <svg aria-hidden="true" class="d2h-icon d2h-changed" height="16" title="modified" version="1.1" viewBox="0 0 14 16" width="14"> <path d="M13 1H1C0.45 1 0 1.45 0 2v12c0 0.55 0.45 1 1 1h12c0.55 0 1-0.45 1-1V2c0-0.55-0.45-1-1-1z m0 13H1V2h12v12zM4 8c0-1.66 1.34-3 3-3s3 1.34 3 3-1.34 3-3 3-3-1.34-3-3z"></path> </svg> <a href="/gems/rider-kick/0.0.3/0.0.4/page/1#d2h-150122" class="d2h-file-name">data/lib/rider-kick.rb</a> <span class="d2h-file-stats"> <span class="d2h-lines-added">+0</span> <span class="d2h-lines-deleted">-3</span> </span> </span> </li> <li class="d2h-file-list-line"> <span class="d2h-file-name-wrapper"> <svg aria-hidden="true" class="d2h-icon d2h-changed" height="16" title="modified" version="1.1" viewBox="0 0 14 16" width="14"> <path d="M13 1H1C0.45 1 0 1.45 0 2v12c0 0.55 0.45 1 1 1h12c0.55 0 1-0.45 1-1V2c0-0.55-0.45-1-1-1z m0 13H1V2h12v12zM4 8c0-1.66 1.34-3 3-3s3 1.34 3 3-1.34 3-3 3-3-1.34-3-3z"></path> </svg> <a href="/gems/rider-kick/0.0.3/0.0.4/page/1#d2h-848891" class="d2h-file-name">data/lib/rider_kick/version.rb</a> <span class="d2h-file-stats"> <span class="d2h-lines-added">+1</span> <span class="d2h-lines-deleted">-1</span> </span> </span> </li> <li class="d2h-file-list-line"> <span class="d2h-file-name-wrapper"> <svg aria-hidden="true" class="d2h-icon d2h-changed" height="16" title="modified" version="1.1" viewBox="0 0 14 16" width="14"> <path d="M13 1H1C0.45 1 0 1.45 0 2v12c0 0.55 0.45 1 1 1h12c0.55 0 1-0.45 1-1V2c0-0.55-0.45-1-1-1z m0 13H1V2h12v12zM4 8c0-1.66 1.34-3 3-3s3 1.34 3 3-1.34 3-3 3-3-1.34-3-3z"></path> </svg> <a href="/gems/rider-kick/0.0.3/0.0.4/page/1#d2h-004177" class="d2h-file-name">metadata</a> <span class="d2h-file-stats"> <span class="d2h-lines-added">+4</span> <span class="d2h-lines-deleted">-5</span> </span> </span> </li> <li class="d2h-file-list-line"> <span class="d2h-file-name-wrapper"> <svg aria-hidden="true" class="d2h-icon d2h-deleted" height="16" title="removed" version="1.1" viewBox="0 0 14 16" width="14"> <path d="M13 1H1C0.45 1 0 1.45 0 2v12c0 0.55 0.45 1 1 1h12c0.55 0 1-0.45 1-1V2c0-0.55-0.45-1-1-1z m0 13H1V2h12v12zM11 9H3V7h8v2z"></path> </svg> <a href="/gems/rider-kick/0.0.3/0.0.4/page/1#d2h-399958" class="d2h-file-name">data/lib/generators/rider_kick/init_generator.rb</a> <span class="d2h-file-stats"> <span class="d2h-lines-added">+0</span> <span class="d2h-lines-deleted">-15</span> </span> </span> </li> <li class="d2h-file-list-line"> <span class="d2h-file-name-wrapper"> <svg aria-hidden="true" class="d2h-icon d2h-deleted" height="16" title="removed" version="1.1" viewBox="0 0 14 16" width="14"> <path d="M13 1H1C0.45 1 0 1.45 0 2v12c0 0.55 0.45 1 1 1h12c0.55 0 1-0.45 1-1V2c0-0.55-0.45-1-1-1z m0 13H1V2h12v12zM11 9H3V7h8v2z"></path> </svg> <a href="/gems/rider-kick/0.0.3/0.0.4/page/1#d2h-062392" class="d2h-file-name">data/lib/generators/rider_kick/templates/config/initializers/rider_kick.rb</a> <span class="d2h-file-stats"> <span class="d2h-lines-added">+0</span> <span class="d2h-lines-deleted">-3</span> </span> </span> </li> <li class="d2h-file-list-line"> <span class="d2h-file-name-wrapper"> <svg aria-hidden="true" class="d2h-icon d2h-deleted" height="16" title="removed" version="1.1" viewBox="0 0 14 16" width="14"> <path d="M13 1H1C0.45 1 0 1.45 0 2v12c0 0.55 0.45 1 1 1h12c0.55 0 1-0.45 1-1V2c0-0.55-0.45-1-1-1z m0 13H1V2h12v12zM11 9H3V7h8v2z"></path> </svg> <a href="/gems/rider-kick/0.0.3/0.0.4/page/1#d2h-100765" class="d2h-file-name">data/lib/rider_kick/configuration.rb</a> <span class="d2h-file-stats"> <span class="d2h-lines-added">+0</span> <span class="d2h-lines-deleted">-29</span> </span> </span> </li> </ol> </div> </div> <div id="d2h-683205" class="d2h-file-wrapper" data-lang="yaml"> <div class="d2h-file-header"> <span class="d2h-file-name-wrapper"> <svg aria-hidden="true" class="d2h-icon" height="16" version="1.1" viewBox="0 0 12 16" width="12"> <path d="M6 5H2v-1h4v1zM2 8h7v-1H2v1z m0 2h7v-1H2v1z m0 2h7v-1H2v1z m10-7.5v9.5c0 0.55-0.45 1-1 1H1c-0.55 0-1-0.45-1-1V2c0-0.55 0.45-1 1-1h7.5l3.5 3.5z m-1 0.5L8 2H1v12h10V5z"></path> </svg> <span class="d2h-file-name"><a href="#d2h-683205">checksums.yaml</a></span> <span class="d2h-tag d2h-changed d2h-changed-tag">CHANGED</span></span> <label class="d2h-file-collapse"> <input class="d2h-file-collapse-input" type="checkbox" name="viewed" value="viewed"> Viewed </label> </div> <div class="d2h-file-diff"> <div class="d2h-code-wrapper"> <table class="d2h-diff-table"> <tbody class="d2h-diff-tbody"> <tr> <td class="d2h-code-linenumber d2h-info"></td> <td class="d2h-info"> <div class="d2h-code-line">@@ -1,7 +1,7 @@</div> </td> </tr><tr> <td id="d2h-683205-23" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-683205-23"> <div class="line-num1">1</div> <div class="line-num2">1</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">---</span> </div> </td> </tr><tr> <td id="d2h-683205-34" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-683205-34"> <div class="line-num1">2</div> <div class="line-num2">2</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">SHA256:</span> </div> </td> </tr><tr> <td class="d2h-code-linenumber d2h-del d2h-change"> <div class="line-num1">3</div> <div class="line-num2"></div> </a></td> <td class="d2h-del d2h-change"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"> metadata.gz: <del>d52c99f6ea8176455670ca8ea5cc9a9c22f43b593023e2403608f414b3e2c715</del></span> </div> </td> </tr><tr> <td class="d2h-code-linenumber d2h-del d2h-change"> <div class="line-num1">4</div> <div class="line-num2"></div> </a></td> <td class="d2h-del d2h-change"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"> data.tar.gz: <del>7b53c42cc3739cba6e29c1fe831454f22bc52feca1942a14212e8d48d3107193</del></span> </div> </td> </tr><tr> <td class="d2h-code-linenumber d2h-ins d2h-change"> <div class="line-num1"></div> <div class="line-num2">3</div> </a></td> <td class="d2h-ins d2h-change"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"> metadata.gz: <ins>ca2aedb4749c52fc2cf24c4ab16564c3bb334eca159e674b4e0ce2e1b138af7c</ins></span> </div> </td> </tr><tr> <td class="d2h-code-linenumber d2h-ins d2h-change"> <div class="line-num1"></div> <div class="line-num2">4</div> </a></td> <td class="d2h-ins d2h-change"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"> data.tar.gz: <ins>d48958c8210c77dc852a9a9f7ccb51c1a439848e7397581be5e8546929a1153b</ins></span> </div> </td> </tr><tr> <td id="d2h-683205-89" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-683205-89"> <div class="line-num1">5</div> <div class="line-num2">5</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">SHA512:</span> </div> </td> </tr><tr> <td class="d2h-code-linenumber d2h-del d2h-change"> <div class="line-num1">6</div> <div class="line-num2"></div> </a></td> <td class="d2h-del d2h-change"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"> metadata.gz: <del>df231703733194422cee357e0563ab18f48820d7650ef850f5e7f575164622e6e61e8614936f0e02dfa2b49729732a93d2aa0b78987ee1dcde63b89c09750c1e</del></span> </div> </td> </tr><tr> <td class="d2h-code-linenumber d2h-del d2h-change"> <div class="line-num1">7</div> <div class="line-num2"></div> </a></td> <td class="d2h-del d2h-change"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"> data.tar.gz: <del>da23c273017a080b6b55fd48078e1df07410788f6e90730d02dd9025904823425f95d0067822cd2e90282bab3a10b00112a8ebe88fba63795b36a0ae6271bdfa</del></span> </div> </td> </tr><tr> <td class="d2h-code-linenumber d2h-ins d2h-change"> <div class="line-num1"></div> <div class="line-num2">6</div> </a></td> <td class="d2h-ins d2h-change"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"> metadata.gz: <ins>a3b44f67e107355e1cb5f6c56df0e071393c612d5b5e36d6b8cba84f7cefb36570c9ef4d0b4e38df94ee6ee5eca1a66f2bca03bfaacc812cffb466c490b01b79</ins></span> </div> </td> </tr><tr> <td class="d2h-code-linenumber d2h-ins d2h-change"> <div class="line-num1"></div> <div class="line-num2">7</div> </a></td> <td class="d2h-ins d2h-change"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"> data.tar.gz: <ins>fc8999432b430ddc353aad9d64f459acbb8974ae42ee824928f4821358e1c1ea98a6531322cec9fa10e75f8f98eca4a93f5791edd4ba689d4fe2592298b4ff38</ins></span> </div> </td> </tr> </tbody> </table> </div> </div> </div> <div id="d2h-027470" class="d2h-file-wrapper" data-lang="md"> <div class="d2h-file-header"> <span class="d2h-file-name-wrapper"> <svg aria-hidden="true" class="d2h-icon" height="16" version="1.1" viewBox="0 0 12 16" width="12"> <path d="M6 5H2v-1h4v1zM2 8h7v-1H2v1z m0 2h7v-1H2v1z m0 2h7v-1H2v1z m10-7.5v9.5c0 0.55-0.45 1-1 1H1c-0.55 0-1-0.45-1-1V2c0-0.55 0.45-1 1-1h7.5l3.5 3.5z m-1 0.5L8 2H1v12h10V5z"></path> </svg> <span class="d2h-file-name"><a href="#d2h-027470">data/README.md</a></span> <span class="d2h-tag d2h-changed d2h-changed-tag">CHANGED</span></span> <label class="d2h-file-collapse"> <input class="d2h-file-collapse-input" type="checkbox" name="viewed" value="viewed"> Viewed </label> </div> <div class="d2h-file-diff"> <div class="d2h-code-wrapper"> <table class="d2h-diff-table"> <tbody class="d2h-diff-tbody"> <tr> <td class="d2h-code-linenumber d2h-info"></td> <td class="d2h-info"> <div class="d2h-code-line">@@ -12,11 +12,16 @@ gem 'rider-kick'</div> </td> </tr><tr> <td id="d2h-027470-171" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-027470-171"> <div class="line-num1">12</div> <div class="line-num2">12</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">```</span> </div> </td> </tr><tr> <td id="d2h-027470-182" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-027470-182"> <div class="line-num1">13</div> <div class="line-num2">13</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr><tr> <td id="d2h-027470-193" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-027470-193"> <div class="line-num1">14</div> <div class="line-num2">14</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">And then execute:</span> </div> </td> </tr><tr> <td id="d2h-027470-204" class="d2h-code-linenumber d2h-ins"><a href="#d2h-027470-204"> <div class="line-num1"></div> <div class="line-num2">15</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn">```bash</span> </div> </td> </tr><tr> <td id="d2h-027470-215" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-027470-215"> <div class="line-num1">15</div> <div class="line-num2">16</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> $ rails new kotaro_minami -d=postgresql -T --skip-javascript --skip-asset-pipeline</span> </div> </td> </tr><tr> <td id="d2h-027470-226" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-027470-226"> <div class="line-num1">16</div> <div class="line-num2">17</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> $ bundle install</span> </div> </td> </tr><tr> <td class="d2h-code-linenumber d2h-del d2h-change"> <div class="line-num1">17</div> <div class="line-num2"></div> </a></td> <td class="d2h-del d2h-change"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"> $ <del>rails</del> <del>generate</del> <del>rider_kick:init</del></span> </div> </td> </tr><tr> <td class="d2h-code-linenumber d2h-ins d2h-change"> <div class="line-num1"></div> <div class="line-num2">18</div> </a></td> <td class="d2h-ins d2h-change"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"> $ <ins>bundle</ins> <ins>add</ins> <ins>rider-kick</ins></span> </div> </td> </tr><tr> <td id="d2h-027470-259" class="d2h-code-linenumber d2h-ins"><a href="#d2h-027470-259"> <div class="line-num1"></div> <div class="line-num2">19</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"> $ bundle add sun-sword</span> </div> </td> </tr><tr> <td id="d2h-027470-270" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-027470-270"> <div class="line-num1">18</div> <div class="line-num2">20</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> $ rails generate rider_kick:clean_arch --setup</span> </div> </td> </tr><tr> <td id="d2h-027470-281" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-027470-281"> <div class="line-num1">19</div> <div class="line-num2">21</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> $ rails db:drop db:create db:migrate db:seed</span> </div> </td> </tr><tr> <td id="d2h-027470-292" class="d2h-code-linenumber d2h-ins"><a href="#d2h-027470-292"> <div class="line-num1"></div> <div class="line-num2">22</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"> $ rails generate rider_kick:structure Models::User actor:owner</span> </div> </td> </tr><tr> <td id="d2h-027470-303" class="d2h-code-linenumber d2h-ins"><a href="#d2h-027470-303"> <div class="line-num1"></div> <div class="line-num2">23</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"> $ rails generate rider_kick:scaffold users scope:dashboard</span> </div> </td> </tr><tr> <td id="d2h-027470-314" class="d2h-code-linenumber d2h-ins"><a href="#d2h-027470-314"> <div class="line-num1"></div> <div class="line-num2">24</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn">```</span> </div> </td> </tr><tr> <td id="d2h-027470-325" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-027470-325"> <div class="line-num1">20</div> <div class="line-num2">25</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr><tr> <td id="d2h-027470-336" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-027470-336"> <div class="line-num1">21</div> <div class="line-num2">26</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">## Usage</span> </div> </td> </tr><tr> <td id="d2h-027470-347" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-027470-347"> <div class="line-num1">22</div> <div class="line-num2">27</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">```bash</span> </div> </td> </tr> <tr> <td class="d2h-code-linenumber d2h-info"></td> <td class="d2h-info"> <div class="d2h-code-line">@@ -25,14 +30,10 @@ Description:</div> </td> </tr><tr> <td id="d2h-027470-364" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-027470-364"> <div class="line-num1">25</div> <div class="line-num2">30</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> rails new kotaro_minami -d=postgresql -T --skip-javascript --skip-asset-pipeline</span> </div> </td> </tr><tr> <td id="d2h-027470-375" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-027470-375"> <div class="line-num1">26</div> <div class="line-num2">31</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> </span> </div> </td> </tr><tr> <td id="d2h-027470-386" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-027470-386"> <div class="line-num1">27</div> <div class="line-num2">32</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">Example:</span> </div> </td> </tr><tr> <td id="d2h-027470-397" class="d2h-code-linenumber d2h-del"><a href="#d2h-027470-397"> <div class="line-num1">28</div> <div class="line-num2"></div> </a></td> <td class="d2h-del"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"> To Generate Init:</span> </div> </td> </tr><tr> <td id="d2h-027470-408" class="d2h-code-linenumber d2h-del"><a href="#d2h-027470-408"> <div class="line-num1">29</div> <div class="line-num2"></div> </a></td> <td class="d2h-del"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"> bin/rails generate rider_kick:init</span> </div> </td> </tr><tr> <td id="d2h-027470-419" class="d2h-code-linenumber d2h-del"><a href="#d2h-027470-419"> <div class="line-num1">30</div> <div class="line-num2"></div> </a></td> <td class="d2h-del"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr><tr> <td id="d2h-027470-430" class="d2h-code-linenumber d2h-del"><a href="#d2h-027470-430"> <div class="line-num1">31</div> <div class="line-num2"></div> </a></td> <td class="d2h-del"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"> To Generate Pattern:</span> </div> </td> </tr><tr> <td id="d2h-027470-441" class="d2h-code-linenumber d2h-del"><a href="#d2h-027470-441"> <div class="line-num1">32</div> <div class="line-num2"></div> </a></td> <td class="d2h-del"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"> bin/rails generate rider_kick:clean_arch --setup</span> </div> </td> </tr><tr> <td id="d2h-027470-452" class="d2h-code-linenumber d2h-del"><a href="#d2h-027470-452"> <div class="line-num1">33</div> <div class="line-num2"></div> </a></td> <td class="d2h-del"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr><tr> <td id="d2h-027470-463" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-027470-463"> <div class="line-num1">34</div> <div class="line-num2">33</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> To Generate scaffold:</span> </div> </td> </tr><tr> <td class="d2h-code-linenumber d2h-del d2h-change"> <div class="line-num1">35</div> <div class="line-num2"></div> </a></td> <td class="d2h-del d2h-change"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"> bin/rails<del> </del>generate rider_kick:<del>scaffold</del> <del>Models::Contact actor:user</del></span> </div> </td> </tr><tr> <td class="d2h-code-linenumber d2h-ins d2h-change"> <div class="line-num1"></div> <div class="line-num2">34</div> </a></td> <td class="d2h-ins d2h-change"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"> bin/rails<ins> </ins>generate rider_kick:<ins>clean_arch</ins> <ins>--setup</ins></span> </div> </td> </tr><tr> <td id="d2h-027470-496" class="d2h-code-linenumber d2h-ins"><a href="#d2h-027470-496"> <div class="line-num1"></div> <div class="line-num2">35</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"> bin/rails generate rider_kick:structure Models::User actor:owner</span> </div> </td> </tr><tr> <td id="d2h-027470-507" class="d2h-code-linenumber d2h-ins"><a href="#d2h-027470-507"> <div class="line-num1"></div> <div class="line-num2">36</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"> bin/rails generate rider_kick:scaffold users scope:dashboard</span> </div> </td> </tr><tr> <td id="d2h-027470-518" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-027470-518"> <div class="line-num1">36</div> <div class="line-num2">37</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr><tr> <td id="d2h-027470-529" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-027470-529"> <div class="line-num1">37</div> <div class="line-num2">38</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">```</span> </div> </td> </tr><tr> <td id="d2h-027470-540" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-027470-540"> <div class="line-num1">38</div> <div class="line-num2">39</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr> </tbody> </table> </div> </div> </div> <div id="d2h-632931" class="d2h-file-wrapper" data-lang=""> <div class="d2h-file-header"> <span class="d2h-file-name-wrapper"> <svg aria-hidden="true" class="d2h-icon" height="16" version="1.1" viewBox="0 0 12 16" width="12"> <path d="M6 5H2v-1h4v1zM2 8h7v-1H2v1z m0 2h7v-1H2v1z m0 2h7v-1H2v1z m10-7.5v9.5c0 0.55-0.45 1-1 1H1c-0.55 0-1-0.45-1-1V2c0-0.55 0.45-1 1-1h7.5l3.5 3.5z m-1 0.5L8 2H1v12h10V5z"></path> </svg> <span class="d2h-file-name"><a href="#d2h-632931">data/lib/generators/rider_kick/USAGE</a></span> <span class="d2h-tag d2h-changed d2h-changed-tag">CHANGED</span></span> <label class="d2h-file-collapse"> <input class="d2h-file-collapse-input" type="checkbox" name="viewed" value="viewed"> Viewed </label> </div> <div class="d2h-file-diff"> <div class="d2h-code-wrapper"> <table class="d2h-diff-table"> <tbody class="d2h-diff-tbody"> <tr> <td class="d2h-code-linenumber d2h-info"></td> <td class="d2h-info"> <div class="d2h-code-line">@@ -1,12 +1,9 @@</div> </td> </tr><tr> <td id="d2h-632931-578" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-632931-578"> <div class="line-num1">1</div> <div class="line-num2">1</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">Description:</span> </div> </td> </tr><tr> <td id="d2h-632931-589" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-632931-589"> <div class="line-num1">2</div> <div class="line-num2">2</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> Clean Architecture generator</span> </div> </td> </tr><tr> <td id="d2h-632931-600" class="d2h-code-linenumber d2h-ins"><a href="#d2h-632931-600"> <div class="line-num1"></div> <div class="line-num2">3</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"> rails new kotaro_minami -d=postgresql -T --skip-javascript --skip-asset-pipeline</span> </div> </td> </tr><tr> <td id="d2h-632931-611" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-632931-611"> <div class="line-num1">3</div> <div class="line-num2">4</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr><tr> <td id="d2h-632931-622" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-632931-622"> <div class="line-num1">4</div> <div class="line-num2">5</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">Example:</span> </div> </td> </tr><tr> <td id="d2h-632931-633" class="d2h-code-linenumber d2h-del"><a href="#d2h-632931-633"> <div class="line-num1">5</div> <div class="line-num2"></div> </a></td> <td class="d2h-del"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"> To Generate Init:</span> </div> </td> </tr><tr> <td id="d2h-632931-644" class="d2h-code-linenumber d2h-del"><a href="#d2h-632931-644"> <div class="line-num1">6</div> <div class="line-num2"></div> </a></td> <td class="d2h-del"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"> bin/rails generate rider_kick:init</span> </div> </td> </tr><tr> <td id="d2h-632931-655" class="d2h-code-linenumber d2h-del"><a href="#d2h-632931-655"> <div class="line-num1">7</div> <div class="line-num2"></div> </a></td> <td class="d2h-del"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr><tr> <td id="d2h-632931-666" class="d2h-code-linenumber d2h-del"><a href="#d2h-632931-666"> <div class="line-num1">8</div> <div class="line-num2"></div> </a></td> <td class="d2h-del"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"> To Generate Pattern:</span> </div> </td> </tr><tr> <td id="d2h-632931-677" class="d2h-code-linenumber d2h-del"><a href="#d2h-632931-677"> <div class="line-num1">9</div> <div class="line-num2"></div> </a></td> <td class="d2h-del"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"> bin/rails generate rider_kick:clean_arch --setup</span> </div> </td> </tr><tr> <td id="d2h-632931-688" class="d2h-code-linenumber d2h-del"><a href="#d2h-632931-688"> <div class="line-num1">10</div> <div class="line-num2"></div> </a></td> <td class="d2h-del"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr><tr> <td id="d2h-632931-699" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-632931-699"> <div class="line-num1">11</div> <div class="line-num2">6</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> To Generate scaffold:</span> </div> </td> </tr><tr> <td class="d2h-code-linenumber d2h-del d2h-change"> <div class="line-num1">12</div> <div class="line-num2"></div> </a></td> <td class="d2h-del d2h-change"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"> bin/rails<del> </del>generate rider_kick:<del>scaffold</del> <del>Models::Contact actor:user</del></span> </div> </td> </tr><tr> <td class="d2h-code-linenumber d2h-ins d2h-change"> <div class="line-num1"></div> <div class="line-num2">7</div> </a></td> <td class="d2h-ins d2h-change"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"> bin/rails<ins> </ins>generate rider_kick:<ins>clean_arch</ins> <ins>--setup</ins></span> </div> </td> </tr><tr> <td id="d2h-632931-732" class="d2h-code-linenumber d2h-ins"><a href="#d2h-632931-732"> <div class="line-num1"></div> <div class="line-num2">8</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"> bin/rails generate rider_kick:structure Models::User actor:owner</span> </div> </td> </tr><tr> <td id="d2h-632931-743" class="d2h-code-linenumber d2h-ins"><a href="#d2h-632931-743"> <div class="line-num1"></div> <div class="line-num2">9</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"> bin/rails generate rider_kick:scaffold users scope:dashboard</span> </div> </td> </tr> </tbody> </table> </div> </div> </div> <div id="d2h-746342" class="d2h-file-wrapper" data-lang="rb"> <div class="d2h-file-header"> <span class="d2h-file-name-wrapper"> <svg aria-hidden="true" class="d2h-icon" height="16" version="1.1" viewBox="0 0 12 16" width="12"> <path d="M6 5H2v-1h4v1zM2 8h7v-1H2v1z m0 2h7v-1H2v1z m0 2h7v-1H2v1z m10-7.5v9.5c0 0.55-0.45 1-1 1H1c-0.55 0-1-0.45-1-1V2c0-0.55 0.45-1 1-1h7.5l3.5 3.5z m-1 0.5L8 2H1v12h10V5z"></path> </svg> <span class="d2h-file-name"><a href="#d2h-746342">data/lib/generators/rider_kick/clean_arch_generator.rb</a></span> <span class="d2h-tag d2h-changed d2h-changed-tag">CHANGED</span></span> <label class="d2h-file-collapse"> <input class="d2h-file-collapse-input" type="checkbox" name="viewed" value="viewed"> Viewed </label> </div> <div class="d2h-file-diff"> <div class="d2h-code-wrapper"> <table class="d2h-diff-table"> <tbody class="d2h-diff-tbody"> <tr> <td class="d2h-code-linenumber d2h-info"></td> <td class="d2h-info"> <div class="d2h-code-line">@@ -6,7 +6,6 @@ module RiderKick</div> </td> </tr><tr> <td id="d2h-746342-781" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-746342-781"> <div class="line-num1">6</div> <div class="line-num2">6</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr><tr> <td id="d2h-746342-792" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-746342-792"> <div class="line-num1">7</div> <div class="line-num2">7</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> def validate_setup_option</span> </div> </td> </tr><tr> <td id="d2h-746342-803" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-746342-803"> <div class="line-num1">8</div> <div class="line-num2">8</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> raise Thor::Error, 'The --setup option must be specified to create the domain structure.' unless options.setup</span> </div> </td> </tr><tr> <td id="d2h-746342-814" class="d2h-code-linenumber d2h-del"><a href="#d2h-746342-814"> <div class="line-num1">9</div> <div class="line-num2"></div> </a></td> <td class="d2h-del"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"> validation!</span> </div> </td> </tr><tr> <td id="d2h-746342-825" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-746342-825"> <div class="line-num1">10</div> <div class="line-num2">9</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> end</span> </div> </td> </tr><tr> <td id="d2h-746342-836" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-746342-836"> <div class="line-num1">11</div> <div class="line-num2">10</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr><tr> <td id="d2h-746342-847" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-746342-847"> <div class="line-num1">12</div> <div class="line-num2">11</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> def create_gem_dependencies</span> </div> </td> </tr> <tr> <td class="d2h-code-linenumber d2h-info"></td> <td class="d2h-info"> <div class="d2h-code-line">@@ -22,6 +21,7 @@ module RiderKick</div> </td> </tr><tr> <td id="d2h-746342-864" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-746342-864"> <div class="line-num1">22</div> <div class="line-num2">21</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> setup_gitignore</span> </div> </td> </tr><tr> <td id="d2h-746342-875" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-746342-875"> <div class="line-num1">23</div> <div class="line-num2">22</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> setup_rubocop</span> </div> </td> </tr><tr> <td id="d2h-746342-886" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-746342-886"> <div class="line-num1">24</div> <div class="line-num2">23</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> setup_init_migration</span> </div> </td> </tr><tr> <td id="d2h-746342-897" class="d2h-code-linenumber d2h-ins"><a href="#d2h-746342-897"> <div class="line-num1"></div> <div class="line-num2">24</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"> setup_models</span> </div> </td> </tr><tr> <td id="d2h-746342-908" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-746342-908"> <div class="line-num1">25</div> <div class="line-num2">25</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> setup_active_storage</span> </div> </td> </tr><tr> <td id="d2h-746342-919" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-746342-919"> <div class="line-num1">26</div> <div class="line-num2">26</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> setup_rspec</span> </div> </td> </tr><tr> <td id="d2h-746342-930" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-746342-930"> <div class="line-num1">27</div> <div class="line-num2">27</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> setup_readme</span> </div> </td> </tr> <tr> <td class="d2h-code-linenumber d2h-info"></td> <td class="d2h-info"> <div class="d2h-code-line">@@ -34,13 +34,6 @@ module RiderKick</div> </td> </tr><tr> <td id="d2h-746342-947" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-746342-947"> <div class="line-num1">34</div> <div class="line-num2">34</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> run 'rails db:migrate'</span> </div> </td> </tr><tr> <td id="d2h-746342-958" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-746342-958"> <div class="line-num1">35</div> <div class="line-num2">35</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> end</span> </div> </td> </tr><tr> <td id="d2h-746342-969" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-746342-969"> <div class="line-num1">36</div> <div class="line-num2">36</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr><tr> <td id="d2h-746342-980" class="d2h-code-linenumber d2h-del"><a href="#d2h-746342-980"> <div class="line-num1">37</div> <div class="line-num2"></div> </a></td> <td class="d2h-del"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"> def validation!</span> </div> </td> </tr><tr> <td id="d2h-746342-991" class="d2h-code-linenumber d2h-del"><a href="#d2h-746342-991"> <div class="line-num1">38</div> <div class="line-num2"></div> </a></td> <td class="d2h-del"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"> unless File.exist?('config/initializers/rider_kick.rb')</span> </div> </td> </tr><tr> <td id="d2h-746342-1002" class="d2h-code-linenumber d2h-del"><a href="#d2h-746342-1002"> <div class="line-num1">39</div> <div class="line-num2"></div> </a></td> <td class="d2h-del"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"> say 'Error must create init configuration for rider_kick!'</span> </div> </td> </tr><tr> <td id="d2h-746342-1013" class="d2h-code-linenumber d2h-del"><a href="#d2h-746342-1013"> <div class="line-num1">40</div> <div class="line-num2"></div> </a></td> <td class="d2h-del"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"> raise Thor::Error, 'run: bin/rails generate rider_kick:init'</span> </div> </td> </tr><tr> <td id="d2h-746342-1024" class="d2h-code-linenumber d2h-del"><a href="#d2h-746342-1024"> <div class="line-num1">41</div> <div class="line-num2"></div> </a></td> <td class="d2h-del"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"> end</span> </div> </td> </tr><tr> <td id="d2h-746342-1035" class="d2h-code-linenumber d2h-del"><a href="#d2h-746342-1035"> <div class="line-num1">42</div> <div class="line-num2"></div> </a></td> <td class="d2h-del"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"> end</span> </div> </td> </tr><tr> <td id="d2h-746342-1046" class="d2h-code-linenumber d2h-del"><a href="#d2h-746342-1046"> <div class="line-num1">43</div> <div class="line-num2"></div> </a></td> <td class="d2h-del"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr><tr> <td id="d2h-746342-1057" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-746342-1057"> <div class="line-num1">44</div> <div class="line-num2">37</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> def setup_domain_structure</span> </div> </td> </tr><tr> <td id="d2h-746342-1068" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-746342-1068"> <div class="line-num1">45</div> <div class="line-num2">38</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> empty_directory File.join("#{path_app}/domains/core/use_cases/contract")</span> </div> </td> </tr><tr> <td id="d2h-746342-1079" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-746342-1079"> <div class="line-num1">46</div> <div class="line-num2">39</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> empty_directory File.join("#{path_app}/domains/core/repositories")</span> </div> </td> </tr> <tr> <td class="d2h-code-linenumber d2h-info"></td> <td class="d2h-info"> <div class="d2h-code-line">@@ -106,6 +99,11 @@ module RiderKick</div> </td> </tr><tr> <td id="d2h-746342-1096" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-746342-1096"> <div class="line-num1">106</div> <div class="line-num2">99</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> template 'config/database.yml', File.join('config/database.yml')</span> </div> </td> </tr><tr> <td id="d2h-746342-1107" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-746342-1107"> <div class="line-num1">107</div> <div class="line-num2">100</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> end</span> </div> </td> </tr><tr> <td id="d2h-746342-1118" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-746342-1118"> <div class="line-num1">108</div> <div class="line-num2">101</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr><tr> <td id="d2h-746342-1129" class="d2h-code-linenumber d2h-ins"><a href="#d2h-746342-1129"> <div class="line-num1"></div> <div class="line-num2">102</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"> def setup_models</span> </div> </td> </tr><tr> <td id="d2h-746342-1140" class="d2h-code-linenumber d2h-ins"><a href="#d2h-746342-1140"> <div class="line-num1"></div> <div class="line-num2">103</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"> template 'models/application_record.rb', File.join('app/models/application_record.rb')</span> </div> </td> </tr><tr> <td id="d2h-746342-1151" class="d2h-code-linenumber d2h-ins"><a href="#d2h-746342-1151"> <div class="line-num1"></div> <div class="line-num2">104</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"> template 'models/models.rb', File.join('app/models/models.rb')</span> </div> </td> </tr><tr> <td id="d2h-746342-1162" class="d2h-code-linenumber d2h-ins"><a href="#d2h-746342-1162"> <div class="line-num1"></div> <div class="line-num2">105</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"> end</span> </div> </td> </tr><tr> <td id="d2h-746342-1173" class="d2h-code-linenumber d2h-ins"><a href="#d2h-746342-1173"> <div class="line-num1"></div> <div class="line-num2">106</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr><tr> <td id="d2h-746342-1184" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-746342-1184"> <div class="line-num1">109</div> <div class="line-num2">107</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> def copy_env_development</span> </div> </td> </tr><tr> <td id="d2h-746342-1195" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-746342-1195"> <div class="line-num1">110</div> <div class="line-num2">108</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> template 'env.production', File.join('.env.production')</span> </div> </td> </tr><tr> <td id="d2h-746342-1206" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-746342-1206"> <div class="line-num1">111</div> <div class="line-num2">109</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> template 'env.development', File.join('.env.development')</span> </div> </td> </tr> </tbody> </table> </div> </div> </div> <div id="d2h-665424" class="d2h-file-wrapper" data-lang="rb"> <div class="d2h-file-header"> <span class="d2h-file-name-wrapper"> <svg aria-hidden="true" class="d2h-icon" height="16" version="1.1" viewBox="0 0 12 16" width="12"> <path d="M6 5H2v-1h4v1zM2 8h7v-1H2v1z m0 2h7v-1H2v1z m0 2h7v-1H2v1z m10-7.5v9.5c0 0.55-0.45 1-1 1H1c-0.55 0-1-0.45-1-1V2c0-0.55 0.45-1 1-1h7.5l3.5 3.5z m-1 0.5L8 2H1v12h10V5z"></path> </svg> <span class="d2h-file-name"><a href="#d2h-665424">data/lib/generators/rider_kick/scaffold_generator.rb</a></span> <span class="d2h-tag d2h-changed d2h-changed-tag">CHANGED</span></span> <label class="d2h-file-collapse"> <input class="d2h-file-collapse-input" type="checkbox" name="viewed" value="viewed"> Viewed </label> </div> <div class="d2h-file-diff"> <div class="d2h-code-wrapper"> <table class="d2h-diff-table"> <tbody class="d2h-diff-tbody"> <tr> <td class="d2h-code-linenumber d2h-info"></td> <td class="d2h-info"> <div class="d2h-code-line">@@ -4,6 +4,7 @@ module RiderKick</div> </td> </tr><tr> <td id="d2h-665424-1244" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-665424-1244"> <div class="line-num1">4</div> <div class="line-num2">4</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> source_root File.expand_path('templates', __dir__)</span> </div> </td> </tr><tr> <td id="d2h-665424-1255" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-665424-1255"> <div class="line-num1">5</div> <div class="line-num2">5</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr><tr> <td id="d2h-665424-1266" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-665424-1266"> <div class="line-num1">6</div> <div class="line-num2">6</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> argument :arg_structure, type: :string, default: '', banner: ''</span> </div> </td> </tr><tr> <td id="d2h-665424-1277" class="d2h-code-linenumber d2h-ins"><a href="#d2h-665424-1277"> <div class="line-num1"></div> <div class="line-num2">7</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"> argument :arg_scope, type: :hash, default: '', banner: 'scope:dashboard'</span> </div> </td> </tr><tr> <td id="d2h-665424-1288" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-665424-1288"> <div class="line-num1">7</div> <div class="line-num2">8</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr><tr> <td id="d2h-665424-1299" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-665424-1299"> <div class="line-num1">8</div> <div class="line-num2">9</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> def generate_use_case</span> </div> </td> </tr><tr> <td id="d2h-665424-1310" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-665424-1310"> <div class="line-num1">9</div> <div class="line-num2">10</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> validation!</span> </div> </td> </tr> <tr> <td class="d2h-code-linenumber d2h-info"></td> <td class="d2h-info"> <div class="d2h-code-line">@@ -21,9 +22,9 @@ module RiderKick</div> </td> </tr><tr> <td id="d2h-665424-1327" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-665424-1327"> <div class="line-num1">21</div> <div class="line-num2">22</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> private</span> </div> </td> </tr><tr> <td id="d2h-665424-1338" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-665424-1338"> <div class="line-num1">22</div> <div class="line-num2">23</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr><tr> <td id="d2h-665424-1349" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-665424-1349"> <div class="line-num1">23</div> <div class="line-num2">24</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> def validation!</span> </div> </td> </tr><tr> <td class="d2h-code-linenumber d2h-del d2h-change"> <div class="line-num1">24</div> <div class="line-num2"></div> </a></td> <td class="d2h-del d2h-change"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"> unless <del>File</del>.exist?('<del>config</del>/<del>initializers/rider_kick.rb</del>')</span> </div> </td> </tr><tr> <td class="d2h-code-linenumber d2h-del d2h-change"> <div class="line-num1">25</div> <div class="line-num2"></div> </a></td> <td class="d2h-del d2h-change"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"> say 'Error must create <del>init</del> <del>configuration</del> <del>for</del> <del>rider_kick</del>!'</span> </div> </td> </tr><tr> <td class="d2h-code-linenumber d2h-del d2h-change"> <div class="line-num1">26</div> <div class="line-num2"></div> </a></td> <td class="d2h-del d2h-change"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"> raise Thor::Error, 'run: bin/rails generate rider_kick:<del>init</del>'</span> </div> </td> </tr><tr> <td class="d2h-code-linenumber d2h-ins d2h-change"> <div class="line-num1"></div> <div class="line-num2">25</div> </a></td> <td class="d2h-ins d2h-change"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"> unless <ins>Dir</ins>.exist?('<ins>app</ins>/<ins>domains</ins>')</span> </div> </td> </tr><tr> <td class="d2h-code-linenumber d2h-ins d2h-change"> <div class="line-num1"></div> <div class="line-num2">26</div> </a></td> <td class="d2h-ins d2h-change"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"> say 'Error must create <ins>clean</ins> <ins>arch</ins> <ins>structure</ins> <ins>first</ins>!'</span> </div> </td> </tr><tr> <td class="d2h-code-linenumber d2h-ins d2h-change"> <div class="line-num1"></div> <div class="line-num2">27</div> </a></td> <td class="d2h-ins d2h-change"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"> raise Thor::Error, 'run: bin/rails generate rider_kick:<ins>clean_arch --setup</ins>'</span> </div> </td> </tr><tr> <td id="d2h-665424-1426" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-665424-1426"> <div class="line-num1">27</div> <div class="line-num2">28</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> end</span> </div> </td> </tr><tr> <td id="d2h-665424-1437" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-665424-1437"> <div class="line-num1">28</div> <div class="line-num2">29</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> end</span> </div> </td> </tr><tr> <td id="d2h-665424-1448" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-665424-1448"> <div class="line-num1">29</div> <div class="line-num2">30</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr> <tr> <td class="d2h-code-linenumber d2h-info"></td> <td class="d2h-info"> <div class="d2h-code-line">@@ -54,7 +55,7 @@ module RiderKick</div> </td> </tr><tr> <td id="d2h-665424-1465" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-665424-1465"> <div class="line-num1">54</div> <div class="line-num2">55</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> @model_class = model_name.camelize.constantize</span> </div> </td> </tr><tr> <td id="d2h-665424-1476" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-665424-1476"> <div class="line-num1">55</div> <div class="line-num2">56</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> @subject_class = resource_name.camelize</span> </div> </td> </tr><tr> <td id="d2h-665424-1487" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-665424-1487"> <div class="line-num1">56</div> <div class="line-num2">57</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> @fields = contract_fields</span> </div> </td> </tr><tr> <td class="d2h-code-linenumber d2h-del d2h-change"> <div class="line-num1">57</div> <div class="line-num2"></div> </a></td> <td class="d2h-del d2h-change"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"> @route_scope_path = <del>@structure</del>.<del>controllers</del>.<del>route_scope.</del>downcase rescue ''</span> </div> </td> </tr><tr> <td class="d2h-code-linenumber d2h-ins d2h-change"> <div class="line-num1"></div> <div class="line-num2">58</div> </a></td> <td class="d2h-ins d2h-change"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"> @route_scope_path = <ins>arg_scope['scope']</ins>.<ins>to_s</ins>.downcase rescue ''</span> </div> </td> </tr><tr> <td id="d2h-665424-1520" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-665424-1520"> <div class="line-num1">58</div> <div class="line-num2">59</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> @route_scope_class = @route_scope_path.camelize rescue ''</span> </div> </td> </tr><tr> <td id="d2h-665424-1531" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-665424-1531"> <div class="line-num1">59</div> <div class="line-num2">60</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr><tr> <td id="d2h-665424-1542" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-665424-1542"> <div class="line-num1">60</div> <div class="line-num2">61</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> @type_mapping = {</span> </div> </td> </tr> <tr> <td class="d2h-code-linenumber d2h-info"></td> <td class="d2h-info"> <div class="d2h-code-line">@@ -100,8 +101,8 @@ module RiderKick</div> </td> </tr><tr> <td id="d2h-665424-1559" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-665424-1559"> <div class="line-num1">100</div> <div class="line-num2">101</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr><tr> <td id="d2h-665424-1570" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-665424-1570"> <div class="line-num1">101</div> <div class="line-num2">102</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> def contract_fields</span> </div> </td> </tr><tr> <td id="d2h-665424-1581" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-665424-1581"> <div class="line-num1">102</div> <div class="line-num2">103</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> skip_contract_fields = @skipped_fields.map(&:strip).uniq</span> </div> </td> </tr><tr> <td class="d2h-code-linenumber d2h-del d2h-change"> <div class="line-num1">103</div> <div class="line-num2"></div> </a></td> <td class="d2h-del d2h-change"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"> if <del>RiderKick.</del>scope_owner_column.present?</span> </div> </td> </tr><tr> <td class="d2h-code-linenumber d2h-del d2h-change"> <div class="line-num1">104</div> <div class="line-num2"></div> </a></td> <td class="d2h-del d2h-change"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"> skip_contract_fields << <del>RiderKick.</del>scope_owner_column.to_s</span> </div> </td> </tr><tr> <td class="d2h-code-linenumber d2h-ins d2h-change"> <div class="line-num1"></div> <div class="line-num2">104</div> </a></td> <td class="d2h-ins d2h-change"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"> if <ins>@</ins>scope_owner_column.present?</span> </div> </td> </tr><tr> <td class="d2h-code-linenumber d2h-ins d2h-change"> <div class="line-num1"></div> <div class="line-num2">105</div> </a></td> <td class="d2h-ins d2h-change"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"> skip_contract_fields << <ins>@</ins>scope_owner_column.to_s</span> </div> </td> </tr><tr> <td id="d2h-665424-1636" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-665424-1636"> <div class="line-num1">105</div> <div class="line-num2">106</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> end</span> </div> </td> </tr><tr> <td id="d2h-665424-1647" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-665424-1647"> <div class="line-num1">106</div> <div class="line-num2">107</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> @model_class.columns.reject { |column| skip_contract_fields.include?(column.name.to_s) }.map(&:name).map(&:to_s)</span> </div> </td> </tr><tr> <td id="d2h-665424-1658" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-665424-1658"> <div class="line-num1">107</div> <div class="line-num2">108</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> end</span> </div> </td> </tr> </tbody> </table> </div> </div> </div> <div id="d2h-182949" class="d2h-file-wrapper" data-lang="rb"> <div class="d2h-file-header"> <span class="d2h-file-name-wrapper"> <svg aria-hidden="true" class="d2h-icon" height="16" version="1.1" viewBox="0 0 12 16" width="12"> <path d="M6 5H2v-1h4v1zM2 8h7v-1H2v1z m0 2h7v-1H2v1z m0 2h7v-1H2v1z m10-7.5v9.5c0 0.55-0.45 1-1 1H1c-0.55 0-1-0.45-1-1V2c0-0.55 0.45-1 1-1h7.5l3.5 3.5z m-1 0.5L8 2H1v12h10V5z"></path> </svg> <span class="d2h-file-name"><a href="#d2h-182949">data/lib/generators/rider_kick/structure_generator.rb</a></span> <span class="d2h-tag d2h-changed d2h-changed-tag">CHANGED</span></span> <label class="d2h-file-collapse"> <input class="d2h-file-collapse-input" type="checkbox" name="viewed" value="viewed"> Viewed </label> </div> <div class="d2h-file-diff"> <div class="d2h-code-wrapper"> <table class="d2h-diff-table"> <tbody class="d2h-diff-tbody"> <tr> <td class="d2h-code-linenumber d2h-info"></td> <td class="d2h-info"> <div class="d2h-code-line">@@ -14,25 +14,24 @@ module RiderKick</div> </td> </tr><tr> <td id="d2h-182949-1696" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-182949-1696"> <div class="line-num1">14</div> <div class="line-num2">14</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> private</span> </div> </td> </tr><tr> <td id="d2h-182949-1707" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-182949-1707"> <div class="line-num1">15</div> <div class="line-num2">15</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr><tr> <td id="d2h-182949-1718" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-182949-1718"> <div class="line-num1">16</div> <div class="line-num2">16</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> def validation!</span> </div> </td> </tr><tr> <td class="d2h-code-linenumber d2h-del d2h-change"> <div class="line-num1">17</div> <div class="line-num2"></div> </a></td> <td class="d2h-del d2h-change"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"> unless <del>File</del>.exist?('<del>config</del>/<del>initializers/rider_kick.rb</del>')</span> </div> </td> </tr><tr> <td class="d2h-code-linenumber d2h-del d2h-change"> <div class="line-num1">18</div> <div class="line-num2"></div> </a></td> <td class="d2h-del d2h-change"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"> say 'Error must create <del>init</del> <del>configuration</del> <del>for</del> <del>rider_kick</del>!'</span> </div> </td> </tr><tr> <td class="d2h-code-linenumber d2h-del d2h-change"> <div class="line-num1">19</div> <div class="line-num2"></div> </a></td> <td class="d2h-del d2h-change"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"> raise Thor::Error, 'run: bin/rails generate rider_kick:<del>init</del>'</span> </div> </td> </tr><tr> <td class="d2h-code-linenumber d2h-ins d2h-change"> <div class="line-num1"></div> <div class="line-num2">17</div> </a></td> <td class="d2h-ins d2h-change"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"> unless <ins>Dir</ins>.exist?('<ins>app</ins>/<ins>domains</ins>')</span> </div> </td> </tr><tr> <td class="d2h-code-linenumber d2h-ins d2h-change"> <div class="line-num1"></div> <div class="line-num2">18</div> </a></td> <td class="d2h-ins d2h-change"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"> say 'Error must create <ins>clean</ins> <ins>arch</ins> <ins>structure</ins> <ins>first</ins>!'</span> </div> </td> </tr><tr> <td class="d2h-code-linenumber d2h-ins d2h-change"> <div class="line-num1"></div> <div class="line-num2">19</div> </a></td> <td class="d2h-ins d2h-change"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"> raise Thor::Error, 'run: bin/rails generate rider_kick:<ins>clean_arch --setup</ins>'</span> </div> </td> </tr><tr> <td id="d2h-182949-1795" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-182949-1795"> <div class="line-num1">20</div> <div class="line-num2">20</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> end</span> </div> </td> </tr><tr> <td id="d2h-182949-1806" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-182949-1806"> <div class="line-num1">21</div> <div class="line-num2">21</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> end</span> </div> </td> </tr><tr> <td id="d2h-182949-1817" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-182949-1817"> <div class="line-num1">22</div> <div class="line-num2">22</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr><tr> <td id="d2h-182949-1828" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-182949-1828"> <div class="line-num1">23</div> <div class="line-num2">23</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> def setup_variables</span> </div> </td> </tr><tr> <td class="d2h-code-linenumber d2h-del d2h-change"> <div class="line-num1">24</div> <div class="line-num2"></div> </a></td> <td class="d2h-del d2h-change"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"> @<del>variable_subject </del>= <del>arg_model_name</del>.<del>split(</del>'<del>::</del>')<del>.last.underscore.downcase</del></span> </div> </td> </tr><tr> <td class="d2h-code-linenumber d2h-del d2h-change"> <div class="line-num1">25</div> <div class="line-num2"></div> </a></td> <td class="d2h-del d2h-change"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"> @<del>model_class </del>= arg_model_name.<del>camelize</del>.<del>constantize</del></span> </div> </td> </tr><tr> <td class="d2h-code-linenumber d2h-del d2h-change"> <div class="line-num1">26</div> <div class="line-num2"></div> </a></td> <td class="d2h-del d2h-change"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"> @<del>subject_class </del>= arg_model_name.<del>split('::')</del>.<del>last</del></span> </div> </td> </tr><tr> <td class="d2h-code-linenumber d2h-del d2h-change"> <div class="line-num1">27</div> <div class="line-num2"></div> </a></td> <td class="d2h-del d2h-change"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"> @<del>scope_path </del>= <del>@subject_class</del>.<del>pluralize</del>.<del>underscore.downcase</del></span> </div> </td> </tr><tr> <td class="d2h-code-linenumber d2h-del d2h-change"> <div class="line-num1">28</div> <div class="line-num2"></div> </a></td> <td class="d2h-del d2h-change"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"> @<del>scope_class </del>= @<del>scope_path</del>.<del>camelize</del></span> </div> </td> </tr><tr> <td class="d2h-code-linenumber d2h-del d2h-change"> <div class="line-num1">29</div> <div class="line-num2"></div> </a></td> <td class="d2h-del d2h-change"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"> @<del>fields </del>= <del>contract_fields</del></span> </div> </td> </tr><tr> <td class="d2h-code-linenumber d2h-del d2h-change"> <div class="line-num1">30</div> <div class="line-num2"></div> </a></td> <td class="d2h-del d2h-change"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"> @<del>uploaders </del>= <del>uploaders</del></span> </div> </td> </tr><tr> <td class="d2h-code-linenumber d2h-del d2h-change"> <div class="line-num1">31</div> <div class="line-num2"></div> </a></td> <td class="d2h-del d2h-change"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"> @<del>actor </del>= <del>arg_settings['actor'].downcase</del></span> </div> </td> </tr><tr> <td class="d2h-code-linenumber d2h-del d2h-change"> <div class="line-num1">32</div> <div class="line-num2"></div> </a></td> <td class="d2h-del d2h-change"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"> @<del>route_scope_path </del>= arg_settings['<del>route_scope</del>'].downcase</span> </div> </td> </tr><tr> <td id="d2h-182949-1938" class="d2h-code-linenumber d2h-del"><a href="#d2h-182949-1938"> <div class="line-num1">33</div> <div class="line-num2"></div> </a></td> <td class="d2h-del"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"> @route_scope_class = @route_scope_path.camelize</span> </div> </td> </tr><tr> <td class="d2h-code-linenumber d2h-ins d2h-change"> <div class="line-num1"></div> <div class="line-num2">24</div> </a></td> <td class="d2h-ins d2h-change"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"> @<ins>scope_owner_column </ins>= <ins>(SunSword</ins>.<ins>scope_owner_column.to_s rescue </ins>'')</span> </div> </td> </tr><tr> <td class="d2h-code-linenumber d2h-ins d2h-change"> <div class="line-num1"></div> <div class="line-num2">25</div> </a></td> <td class="d2h-ins d2h-change"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"> @<ins>variable_subject </ins>= arg_model_name.<ins>split('::')</ins>.<ins>last.underscore.downcase</ins></span> </div> </td> </tr><tr> <td class="d2h-code-linenumber d2h-ins d2h-change"> <div class="line-num1"></div> <div class="line-num2">26</div> </a></td> <td class="d2h-ins d2h-change"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"> @<ins>model_class </ins>= arg_model_name.<ins>camelize</ins>.<ins>constantize</ins></span> </div> </td> </tr><tr> <td class="d2h-code-linenumber d2h-ins d2h-change"> <div class="line-num1"></div> <div class="line-num2">27</div> </a></td> <td class="d2h-ins d2h-change"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"> @<ins>subject_class </ins>= <ins>arg_model_name</ins>.<ins>split('::')</ins>.<ins>last</ins></span> </div> </td> </tr><tr> <td class="d2h-code-linenumber d2h-ins d2h-change"> <div class="line-num1"></div> <div class="line-num2">28</div> </a></td> <td class="d2h-ins d2h-change"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"> @<ins>scope_path </ins>= @<ins>subject_class</ins>.<ins>pluralize.underscore.downcase</ins></span> </div> </td> </tr><tr> <td class="d2h-code-linenumber d2h-ins d2h-change"> <div class="line-num1"></div> <div class="line-num2">29</div> </a></td> <td class="d2h-ins d2h-change"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"> @<ins>scope_class </ins>= <ins>@scope_path.camelize</ins></span> </div> </td> </tr><tr> <td class="d2h-code-linenumber d2h-ins d2h-change"> <div class="line-num1"></div> <div class="line-num2">30</div> </a></td> <td class="d2h-ins d2h-change"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"> @<ins>fields </ins>= <ins>contract_fields</ins></span> </div> </td> </tr><tr> <td class="d2h-code-linenumber d2h-ins d2h-change"> <div class="line-num1"></div> <div class="line-num2">31</div> </a></td> <td class="d2h-ins d2h-change"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"> @<ins>uploaders </ins>= <ins>uploaders</ins></span> </div> </td> </tr><tr> <td class="d2h-code-linenumber d2h-ins d2h-change"> <div class="line-num1"></div> <div class="line-num2">32</div> </a></td> <td class="d2h-ins d2h-change"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"> @<ins>actor </ins>= arg_settings['<ins>actor</ins>'].downcase</span> </div> </td> </tr><tr> <td id="d2h-182949-2048" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-182949-2048"> <div class="line-num1">34</div> <div class="line-num2">33</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr><tr> <td class="d2h-code-linenumber d2h-del d2h-change"> <div class="line-num1">35</div> <div class="line-num2"></div> </a></td> <td class="d2h-del d2h-change"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"> @type_mapping<del> </del>= {</span> </div> </td> </tr><tr> <td class="d2h-code-linenumber d2h-ins d2h-change"> <div class="line-num1"></div> <div class="line-num2">34</div> </a></td> <td class="d2h-ins d2h-change"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"> @type_mapping<ins> </ins>= {</span> </div> </td> </tr><tr> <td id="d2h-182949-2081" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-182949-2081"> <div class="line-num1">36</div> <div class="line-num2">35</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> 'uuid' => ':string',</span> </div> </td> </tr><tr> <td id="d2h-182949-2092" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-182949-2092"> <div class="line-num1">37</div> <div class="line-num2">36</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> 'string' => ':string',</span> </div> </td> </tr><tr> <td id="d2h-182949-2103" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-182949-2103"> <div class="line-num1">38</div> <div class="line-num2">37</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> 'text' => ':string',</span> </div> </td> </tr> <tr> <td class="d2h-code-linenumber d2h-info"></td> <td class="d2h-info"> <div class="d2h-code-line">@@ -62,7 +61,7 @@ module RiderKick</div> </td> </tr><tr> <td id="d2h-182949-2120" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-182949-2120"> <div class="line-num1">62</div> <div class="line-num2">61</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> end</span> </div> </td> </tr><tr> <td id="d2h-182949-2131" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-182949-2131"> <div class="line-num1">63</div> <div class="line-num2">62</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr><tr> <td id="d2h-182949-2142" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-182949-2142"> <div class="line-num1">64</div> <div class="line-num2">63</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> def contract_fields</span> </div> </td> </tr><tr> <td class="d2h-code-linenumber d2h-del d2h-change"> <div class="line-num1">65</div> <div class="line-num2"></div> </a></td> <td class="d2h-del d2h-change"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"> @model_class.columns.reject { |column| (['id', 'created_at', 'updated_at', 'type'] + [<del>RiderKick.</del>scope_owner_column.to_s]).include?(column.name.to_s) }.map(&:name).map(&:to_s)</span> </div> </td> </tr><tr> <td class="d2h-code-linenumber d2h-ins d2h-change"> <div class="line-num1"></div> <div class="line-num2">64</div> </a></td> <td class="d2h-ins d2h-change"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"> @model_class.columns.reject { |column| (['id', 'created_at', 'updated_at', 'type'] + [<ins>@</ins>scope_owner_column.to_s]).include?(column.name.to_s) }.map(&:name).map(&:to_s)</span> </div> </td> </tr><tr> <td id="d2h-182949-2175" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-182949-2175"> <div class="line-num1">66</div> <div class="line-num2">65</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> end</span> </div> </td> </tr><tr> <td id="d2h-182949-2186" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-182949-2186"> <div class="line-num1">67</div> <div class="line-num2">66</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr><tr> <td id="d2h-182949-2197" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-182949-2197"> <div class="line-num1">68</div> <div class="line-num2">67</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> def get_column_type(field)</span> </div> </td> </tr> </tbody> </table> </div> </div> </div> <div id="d2h-855779" class="d2h-file-wrapper" data-lang="md"> <div class="d2h-file-header"> <span class="d2h-file-name-wrapper"> <svg aria-hidden="true" class="d2h-icon" height="16" version="1.1" viewBox="0 0 12 16" width="12"> <path d="M6 5H2v-1h4v1zM2 8h7v-1H2v1z m0 2h7v-1H2v1z m0 2h7v-1H2v1z m10-7.5v9.5c0 0.55-0.45 1-1 1H1c-0.55 0-1-0.45-1-1V2c0-0.55 0.45-1 1-1h7.5l3.5 3.5z m-1 0.5L8 2H1v12h10V5z"></path> </svg> <span class="d2h-file-name"><a href="#d2h-855779">data/lib/generators/rider_kick/templates/README.md</a></span> <span class="d2h-tag d2h-changed d2h-changed-tag">CHANGED</span></span> <label class="d2h-file-collapse"> <input class="d2h-file-collapse-input" type="checkbox" name="viewed" value="viewed"> Viewed </label> </div> <div class="d2h-file-diff"> <div class="d2h-code-wrapper"> <table class="d2h-diff-table"> <tbody class="d2h-diff-tbody"> <tr> <td class="d2h-code-linenumber d2h-info"></td> <td class="d2h-info"> <div class="d2h-code-line">@@ -4,9 +4,7 @@</div> </td> </tr><tr> <td id="d2h-855779-2235" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-855779-2235"> <div class="line-num1">4</div> <div class="line-num2">4</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">```bash</span> </div> </td> </tr><tr> <td id="d2h-855779-2246" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-855779-2246"> <div class="line-num1">5</div> <div class="line-num2">5</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">$ cp env.example .env.development</span> </div> </td> </tr><tr> <td id="d2h-855779-2257" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-855779-2257"> <div class="line-num1">6</div> <div class="line-num2">6</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">$ bundle install</span> </div> </td> </tr><tr> <td class="d2h-code-linenumber d2h-del d2h-change"> <div class="line-num1">7</div> <div class="line-num2"></div> </a></td> <td class="d2h-del d2h-change"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn">$ rails db:create</span> </div> </td> </tr><tr> <td id="d2h-855779-2279" class="d2h-code-linenumber d2h-del"><a href="#d2h-855779-2279"> <div class="line-num1">8</div> <div class="line-num2"></div> </a></td> <td class="d2h-del"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn">$ rails db:migrate</span> </div> </td> </tr><tr> <td id="d2h-855779-2290" class="d2h-code-linenumber d2h-del"><a href="#d2h-855779-2290"> <div class="line-num1">9</div> <div class="line-num2"></div> </a></td> <td class="d2h-del"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn">$ rails db:seed</span> </div> </td> </tr><tr> <td class="d2h-code-linenumber d2h-ins d2h-change"> <div class="line-num1"></div> <div class="line-num2">7</div> </a></td> <td class="d2h-ins d2h-change"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn">$ rails db:<ins>drop db:</ins>create<ins> db:migrate db:seed</ins></span> </div> </td> </tr><tr> <td id="d2h-855779-2312" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-855779-2312"> <div class="line-num1">10</div> <div class="line-num2">8</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">```</span> </div> </td> </tr><tr> <td id="d2h-855779-2323" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-855779-2323"> <div class="line-num1">11</div> <div class="line-num2">9</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">### Run Server</span> </div> </td> </tr><tr> <td id="d2h-855779-2334" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-855779-2334"> <div class="line-num1">12</div> <div class="line-num2">10</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">```bash</span> </div> </td> </tr> </tbody> </table> </div> </div> </div> <div id="d2h-509541" class="d2h-file-wrapper" data-lang="tt"> <div class="d2h-file-header"> <span class="d2h-file-name-wrapper"> <svg aria-hidden="true" class="d2h-icon" height="16" version="1.1" viewBox="0 0 12 16" width="12"> <path d="M6 5H2v-1h4v1zM2 8h7v-1H2v1z m0 2h7v-1H2v1z m0 2h7v-1H2v1z m10-7.5v9.5c0 0.55-0.45 1-1 1H1c-0.55 0-1-0.45-1-1V2c0-0.55 0.45-1 1-1h7.5l3.5 3.5z m-1 0.5L8 2H1v12h10V5z"></path> </svg> <span class="d2h-file-name"><a href="#d2h-509541">data/lib/generators/rider_kick/templates/config/initializers/hashie.rb.tt</a></span> <span class="d2h-tag d2h-changed d2h-changed-tag">CHANGED</span></span> <label class="d2h-file-collapse"> <input class="d2h-file-collapse-input" type="checkbox" name="viewed" value="viewed"> Viewed </label> </div> <div class="d2h-file-diff"> <div class="d2h-code-wrapper"> <table class="d2h-diff-table"> <tbody class="d2h-diff-tbody"> <tr> <td class="d2h-code-linenumber d2h-info"></td> <td class="d2h-info"> <div class="d2h-code-line">@@ -10,6 +10,7 @@ def to_mash</div> </td> </tr><tr> <td id="d2h-509541-2372" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-509541-2372"> <div class="line-num1">10</div> <div class="line-num2">10</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">end</span> </div> </td> </tr><tr> <td id="d2h-509541-2383" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-509541-2383"> <div class="line-num1">11</div> <div class="line-num2">11</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">RUBY</span> </div> </td> </tr><tr> <td id="d2h-509541-2394" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-509541-2394"> <div class="line-num1">12</div> <div class="line-num2">12</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr><tr> <td id="d2h-509541-2405" class="d2h-code-linenumber d2h-ins"><a href="#d2h-509541-2405"> <div class="line-num1"></div> <div class="line-num2">13</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn">Pagy.class_eval(as_attributes)</span> </div> </td> </tr><tr> <td id="d2h-509541-2416" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-509541-2416"> <div class="line-num1">13</div> <div class="line-num2">14</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">Hash.class_eval(as_attributes)</span> </div> </td> </tr><tr> <td id="d2h-509541-2427" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-509541-2427"> <div class="line-num1">14</div> <div class="line-num2">15</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">Hash.class_eval(to_methods)</span> </div> </td> </tr><tr> <td id="d2h-509541-2438" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-509541-2438"> <div class="line-num1">15</div> <div class="line-num2">16</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">Hashie::Mash.class_eval(as_attributes)</span> </div> </td> </tr> </tbody> </table> </div> </div> </div> <div id="d2h-922261" class="d2h-file-wrapper" data-lang="tt"> <div class="d2h-file-header"> <span class="d2h-file-name-wrapper"> <svg aria-hidden="true" class="d2h-icon" height="16" version="1.1" viewBox="0 0 12 16" width="12"> <path d="M6 5H2v-1h4v1zM2 8h7v-1H2v1z m0 2h7v-1H2v1z m0 2h7v-1H2v1z m10-7.5v9.5c0 0.55-0.45 1-1 1H1c-0.55 0-1-0.45-1-1V2c0-0.55 0.45-1 1-1h7.5l3.5 3.5z m-1 0.5L8 2H1v12h10V5z"></path> </svg> <span class="d2h-file-name"><a href="#d2h-922261">data/lib/generators/rider_kick/templates/db/structures/example.yaml.tt</a></span> <span class="d2h-tag d2h-changed d2h-changed-tag">CHANGED</span></span> <label class="d2h-file-collapse"> <input class="d2h-file-collapse-input" type="checkbox" name="viewed" value="viewed"> Viewed </label> </div> <div class="d2h-file-diff"> <div class="d2h-code-wrapper"> <table class="d2h-diff-table"> <tbody class="d2h-diff-tbody"> <tr> <td class="d2h-code-linenumber d2h-info"></td> <td class="d2h-info"> <div class="d2h-code-line">@@ -5,6 +5,9 @@ fields:</div> </td> </tr><tr> <td id="d2h-922261-2476" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-922261-2476"> <div class="line-num1">5</div> <div class="line-num2">5</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"><% @model_class.columns.each do |field| -%></span> </div> </td> </tr><tr> <td id="d2h-922261-2487" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-922261-2487"> <div class="line-num1">6</div> <div class="line-num2">6</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> - <%= field.name.to_s %></span> </div> </td> </tr><tr> <td id="d2h-922261-2498" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-922261-2498"> <div class="line-num1">7</div> <div class="line-num2">7</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"><% end -%></span> </div> </td> </tr><tr> <td id="d2h-922261-2509" class="d2h-code-linenumber d2h-ins"><a href="#d2h-922261-2509"> <div class="line-num1"></div> <div class="line-num2">8</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"><% @uploaders.each do |field| -%></span> </div> </td> </tr><tr> <td id="d2h-922261-2520" class="d2h-code-linenumber d2h-ins"><a href="#d2h-922261-2520"> <div class="line-num1"></div> <div class="line-num2">9</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"> - <%= field %></span> </div> </td> </tr><tr> <td id="d2h-922261-2531" class="d2h-code-linenumber d2h-ins"><a href="#d2h-922261-2531"> <div class="line-num1"></div> <div class="line-num2">10</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"><% end -%></span> </div> </td> </tr><tr> <td id="d2h-922261-2542" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-922261-2542"> <div class="line-num1">8</div> <div class="line-num2">11</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">uploaders:</span> </div> </td> </tr><tr> <td id="d2h-922261-2553" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-922261-2553"> <div class="line-num1">9</div> <div class="line-num2">12</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"><% @uploaders.each do |field| -%></span> </div> </td> </tr><tr> <td id="d2h-922261-2564" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-922261-2564"> <div class="line-num1">10</div> <div class="line-num2">13</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> - <%= field %></span> </div> </td> </tr> <tr> <td class="d2h-code-linenumber d2h-info"></td> <td class="d2h-info"> <div class="d2h-code-line">@@ -16,7 +19,6 @@ search_able:</div> </td> </tr><tr> <td id="d2h-922261-2581" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-922261-2581"> <div class="line-num1">16</div> <div class="line-num2">19</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"><% end -%></span> </div> </td> </tr><tr> <td id="d2h-922261-2592" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-922261-2592"> <div class="line-num1">17</div> <div class="line-num2">20</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"><% end -%></span> </div> </td> </tr><tr> <td id="d2h-922261-2603" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-922261-2603"> <div class="line-num1">18</div> <div class="line-num2">21</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">controllers:</span> </div> </td> </tr><tr> <td id="d2h-922261-2614" class="d2h-code-linenumber d2h-del"><a href="#d2h-922261-2614"> <div class="line-num1">19</div> <div class="line-num2"></div> </a></td> <td class="d2h-del"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"> route_scope: <%= @route_scope_path %></span> </div> </td> </tr><tr> <td id="d2h-922261-2625" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-922261-2625"> <div class="line-num1">20</div> <div class="line-num2">22</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> list_fields:</span> </div> </td> </tr><tr> <td id="d2h-922261-2636" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-922261-2636"> <div class="line-num1">21</div> <div class="line-num2">23</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"><% @fields.each do |field| -%></span> </div> </td> </tr><tr> <td id="d2h-922261-2647" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-922261-2647"> <div class="line-num1">22</div> <div class="line-num2">24</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> - <%= field %></span> </div> </td> </tr> <tr> <td class="d2h-code-linenumber d2h-info"></td> <td class="d2h-info"> <div class="d2h-code-line">@@ -25,31 +27,27 @@ controllers:</div> </td> </tr><tr> <td id="d2h-922261-2664" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-922261-2664"> <div class="line-num1">25</div> <div class="line-num2">27</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"><% @model_class.columns.each do |field| -%></span> </div> </td> </tr><tr> <td id="d2h-922261-2675" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-922261-2675"> <div class="line-num1">26</div> <div class="line-num2">28</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> - <%= field.name.to_s %></span> </div> </td> </tr><tr> <td id="d2h-922261-2686" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-922261-2686"> <div class="line-num1">27</div> <div class="line-num2">29</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"><% end -%></span> </div> </td> </tr><tr> <td class="d2h-code-linenumber d2h-del d2h-change"> <div class="line-num1">28</div> <div class="line-num2"></div> </a></td> <td class="d2h-del d2h-change"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"><del> form_fields:</del></span> </div> </td> </tr><tr> <td id="d2h-922261-2708" class="d2h-code-linenumber d2h-del"><a href="#d2h-922261-2708"> <div class="line-num1">29</div> <div class="line-num2"></div> </a></td> <td class="d2h-del"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"><% (@fields + @uploaders).each do |field| -%></span> </div> </td> </tr><tr> <td class="d2h-code-linenumber d2h-ins d2h-change"> <div class="line-num1"></div> <div class="line-num2">30</div> </a></td> <td class="d2h-ins d2h-change"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"><ins><% @uploaders.each do |field| -%></ins></span> </div> </td> </tr><tr> <td id="d2h-922261-2730" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-922261-2730"> <div class="line-num1">30</div> <div class="line-num2">31</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> - <%= field %></span> </div> </td> </tr><tr> <td id="d2h-922261-2741" class="d2h-code-linenumber d2h-ins"><a href="#d2h-922261-2741"> <div class="line-num1"></div> <div class="line-num2">32</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"><% end -%></span> </div> </td> </tr><tr> <td id="d2h-922261-2752" class="d2h-code-linenumber d2h-ins"><a href="#d2h-922261-2752"> <div class="line-num1"></div> <div class="line-num2">33</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"> form_fields:</span> </div> </td> </tr><tr> <td id="d2h-922261-2763" class="d2h-code-linenumber d2h-ins"><a href="#d2h-922261-2763"> <div class="line-num1"></div> <div class="line-num2">34</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"><% (@fields).each do |field| -%></span> </div> </td> </tr><tr> <td id="d2h-922261-2774" class="d2h-code-linenumber d2h-ins"><a href="#d2h-922261-2774"> <div class="line-num1"></div> <div class="line-num2">35</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"> - name: <%= field %></span> </div> </td> </tr><tr> <td id="d2h-922261-2785" class="d2h-code-linenumber d2h-ins"><a href="#d2h-922261-2785"> <div class="line-num1"></div> <div class="line-num2">36</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"> type: string</span> </div> </td> </tr><tr> <td id="d2h-922261-2796" class="d2h-code-linenumber d2h-ins"><a href="#d2h-922261-2796"> <div class="line-num1"></div> <div class="line-num2">37</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"><% end -%></span> </div> </td> </tr><tr> <td id="d2h-922261-2807" class="d2h-code-linenumber d2h-ins"><a href="#d2h-922261-2807"> <div class="line-num1"></div> <div class="line-num2">38</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"><% (@uploaders).each do |field| -%></span> </div> </td> </tr><tr> <td id="d2h-922261-2818" class="d2h-code-linenumber d2h-ins"><a href="#d2h-922261-2818"> <div class="line-num1"></div> <div class="line-num2">39</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"> - name: <%= field %></span> </div> </td> </tr><tr> <td id="d2h-922261-2829" class="d2h-code-linenumber d2h-ins"><a href="#d2h-922261-2829"> <div class="line-num1"></div> <div class="line-num2">40</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"> type: file</span> </div> </td> </tr><tr> <td id="d2h-922261-2840" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-922261-2840"> <div class="line-num1">31</div> <div class="line-num2">41</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"><% end -%></span> </div> </td> </tr><tr> <td id="d2h-922261-2851" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-922261-2851"> <div class="line-num1">32</div> <div class="line-num2">42</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">domains:</span> </div> </td> </tr><tr> <td id="d2h-922261-2862" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-922261-2862"> <div class="line-num1">33</div> <div class="line-num2">43</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> action_list:</span> </div> </td> </tr><tr> <td id="d2h-922261-2873" class="d2h-code-linenumber d2h-del"><a href="#d2h-922261-2873"> <div class="line-num1">34</div> <div class="line-num2"></div> </a></td> <td class="d2h-del"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"> endpoint:</span> </div> </td> </tr><tr> <td id="d2h-922261-2884" class="d2h-code-linenumber d2h-del"><a href="#d2h-922261-2884"> <div class="line-num1">35</div> <div class="line-num2"></div> </a></td> <td class="d2h-del"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"> is_auth: true</span> </div> </td> </tr><tr> <td id="d2h-922261-2895" class="d2h-code-linenumber d2h-del"><a href="#d2h-922261-2895"> <div class="line-num1">36</div> <div class="line-num2"></div> </a></td> <td class="d2h-del"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"> is_skip: false</span> </div> </td> </tr><tr> <td id="d2h-922261-2906" class="d2h-code-linenumber d2h-del"><a href="#d2h-922261-2906"> <div class="line-num1">37</div> <div class="line-num2"></div> </a></td> <td class="d2h-del"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"> parameters:</span> </div> </td> </tr><tr> <td id="d2h-922261-2917" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-922261-2917"> <div class="line-num1">38</div> <div class="line-num2">44</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> use_case:</span> </div> </td> </tr><tr> <td id="d2h-922261-2928" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-922261-2928"> <div class="line-num1">39</div> <div class="line-num2">45</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> contract:</span> </div> </td> </tr><tr> <td id="d2h-922261-2939" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-922261-2939"> <div class="line-num1">40</div> <div class="line-num2">46</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> action_fetch_by_id:</span> </div> </td> </tr><tr> <td id="d2h-922261-2950" class="d2h-code-linenumber d2h-del"><a href="#d2h-922261-2950"> <div class="line-num1">41</div> <div class="line-num2"></div> </a></td> <td class="d2h-del"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"> endpoint:</span> </div> </td> </tr><tr> <td id="d2h-922261-2961" class="d2h-code-linenumber d2h-del"><a href="#d2h-922261-2961"> <div class="line-num1">42</div> <div class="line-num2"></div> </a></td> <td class="d2h-del"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"> is_auth: true</span> </div> </td> </tr><tr> <td id="d2h-922261-2972" class="d2h-code-linenumber d2h-del"><a href="#d2h-922261-2972"> <div class="line-num1">43</div> <div class="line-num2"></div> </a></td> <td class="d2h-del"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"> is_skip: false</span> </div> </td> </tr><tr> <td id="d2h-922261-2983" class="d2h-code-linenumber d2h-del"><a href="#d2h-922261-2983"> <div class="line-num1">44</div> <div class="line-num2"></div> </a></td> <td class="d2h-del"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"> parameters:</span> </div> </td> </tr><tr> <td id="d2h-922261-2994" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-922261-2994"> <div class="line-num1">45</div> <div class="line-num2">47</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> use_case:</span> </div> </td> </tr><tr> <td id="d2h-922261-3005" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-922261-3005"> <div class="line-num1">46</div> <div class="line-num2">48</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> contract:</span> </div> </td> </tr><tr> <td id="d2h-922261-3016" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-922261-3016"> <div class="line-num1">47</div> <div class="line-num2">49</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> - required(:id).filled(:string)</span> </div> </td> </tr><tr> <td id="d2h-922261-3027" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-922261-3027"> <div class="line-num1">48</div> <div class="line-num2">50</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> action_create:</span> </div> </td> </tr><tr> <td id="d2h-922261-3038" class="d2h-code-linenumber d2h-del"><a href="#d2h-922261-3038"> <div class="line-num1">49</div> <div class="line-num2"></div> </a></td> <td class="d2h-del"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"> endpoint:</span> </div> </td> </tr><tr> <td id="d2h-922261-3049" class="d2h-code-linenumber d2h-del"><a href="#d2h-922261-3049"> <div class="line-num1">50</div> <div class="line-num2"></div> </a></td> <td class="d2h-del"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"> is_auth: true</span> </div> </td> </tr><tr> <td id="d2h-922261-3060" class="d2h-code-linenumber d2h-del"><a href="#d2h-922261-3060"> <div class="line-num1">51</div> <div class="line-num2"></div> </a></td> <td class="d2h-del"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"> is_skip: false</span> </div> </td> </tr><tr> <td id="d2h-922261-3071" class="d2h-code-linenumber d2h-del"><a href="#d2h-922261-3071"> <div class="line-num1">52</div> <div class="line-num2"></div> </a></td> <td class="d2h-del"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"> parameters:</span> </div> </td> </tr><tr> <td id="d2h-922261-3082" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-922261-3082"> <div class="line-num1">53</div> <div class="line-num2">51</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> use_case:</span> </div> </td> </tr><tr> <td id="d2h-922261-3093" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-922261-3093"> <div class="line-num1">54</div> <div class="line-num2">52</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> contract:</span> </div> </td> </tr><tr> <td id="d2h-922261-3104" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-922261-3104"> <div class="line-num1">55</div> <div class="line-num2">53</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"><% (@fields + @uploaders).each do |field| -%></span> </div> </td> </tr> <tr> <td class="d2h-code-linenumber d2h-info"></td> <td class="d2h-info"> <div class="d2h-code-line">@@ -62,10 +60,6 @@ domains:</div> </td> </tr><tr> <td id="d2h-922261-3121" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-922261-3121"> <div class="line-num1">62</div> <div class="line-num2">60</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"><% end -%></span> </div> </td> </tr><tr> <td id="d2h-922261-3132" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-922261-3132"> <div class="line-num1">63</div> <div class="line-num2">61</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"><% end -%></span> </div> </td> </tr><tr> <td id="d2h-922261-3143" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-922261-3143"> <div class="line-num1">64</div> <div class="line-num2">62</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> action_update:</span> </div> </td> </tr><tr> <td id="d2h-922261-3154" class="d2h-code-linenumber d2h-del"><a href="#d2h-922261-3154"> <div class="line-num1">65</div> <div class="line-num2"></div> </a></td> <td class="d2h-del"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"> endpoint:</span> </div> </td> </tr><tr> <td id="d2h-922261-3165" class="d2h-code-linenumber d2h-del"><a href="#d2h-922261-3165"> <div class="line-num1">66</div> <div class="line-num2"></div> </a></td> <td class="d2h-del"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"> is_auth: true</span> </div> </td> </tr><tr> <td id="d2h-922261-3176" class="d2h-code-linenumber d2h-del"><a href="#d2h-922261-3176"> <div class="line-num1">67</div> <div class="line-num2"></div> </a></td> <td class="d2h-del"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"> is_skip: false</span> </div> </td> </tr><tr> <td id="d2h-922261-3187" class="d2h-code-linenumber d2h-del"><a href="#d2h-922261-3187"> <div class="line-num1">68</div> <div class="line-num2"></div> </a></td> <td class="d2h-del"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"> parameters:</span> </div> </td> </tr><tr> <td id="d2h-922261-3198" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-922261-3198"> <div class="line-num1">69</div> <div class="line-num2">63</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> use_case:</span> </div> </td> </tr><tr> <td id="d2h-922261-3209" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-922261-3209"> <div class="line-num1">70</div> <div class="line-num2">64</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> contract:</span> </div> </td> </tr><tr> <td id="d2h-922261-3220" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-922261-3220"> <div class="line-num1">71</div> <div class="line-num2">65</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> - required(:id).filled(:string)</span> </div> </td> </tr> <tr> <td class="d2h-code-linenumber d2h-info"></td> <td class="d2h-info"> <div class="d2h-code-line">@@ -79,10 +73,6 @@ domains:</div> </td> </tr><tr> <td id="d2h-922261-3237" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-922261-3237"> <div class="line-num1">79</div> <div class="line-num2">73</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"><% end -%></span> </div> </td> </tr><tr> <td id="d2h-922261-3248" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-922261-3248"> <div class="line-num1">80</div> <div class="line-num2">74</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"><% end -%></span> </div> </td> </tr><tr> <td id="d2h-922261-3259" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-922261-3259"> <div class="line-num1">81</div> <div class="line-num2">75</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> action_destroy:</span> </div> </td> </tr><tr> <td id="d2h-922261-3270" class="d2h-code-linenumber d2h-del"><a href="#d2h-922261-3270"> <div class="line-num1">82</div> <div class="line-num2"></div> </a></td> <td class="d2h-del"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"> endpoint:</span> </div> </td> </tr><tr> <td id="d2h-922261-3281" class="d2h-code-linenumber d2h-del"><a href="#d2h-922261-3281"> <div class="line-num1">83</div> <div class="line-num2"></div> </a></td> <td class="d2h-del"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"> is_auth: true</span> </div> </td> </tr><tr> <td id="d2h-922261-3292" class="d2h-code-linenumber d2h-del"><a href="#d2h-922261-3292"> <div class="line-num1">84</div> <div class="line-num2"></div> </a></td> <td class="d2h-del"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"> is_skip: false</span> </div> </td> </tr><tr> <td id="d2h-922261-3303" class="d2h-code-linenumber d2h-del"><a href="#d2h-922261-3303"> <div class="line-num1">85</div> <div class="line-num2"></div> </a></td> <td class="d2h-del"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"> parameters:</span> </div> </td> </tr><tr> <td id="d2h-922261-3314" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-922261-3314"> <div class="line-num1">86</div> <div class="line-num2">76</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> use_case:</span> </div> </td> </tr><tr> <td id="d2h-922261-3325" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-922261-3325"> <div class="line-num1">87</div> <div class="line-num2">77</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> contract:</span> </div> </td> </tr><tr> <td id="d2h-922261-3336" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-922261-3336"> <div class="line-num1">88</div> <div class="line-num2">78</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> - required(:id).filled(:string)</span> </div> </td> </tr> </tbody> </table> </div> </div> </div> <div id="d2h-559674" class="d2h-file-wrapper" data-lang="tt"> <div class="d2h-file-header"> <span class="d2h-file-name-wrapper"> <svg aria-hidden="true" class="d2h-icon" height="16" version="1.1" viewBox="0 0 12 16" width="12"> <path d="M6 5H2v-1h4v1zM2 8h7v-1H2v1z m0 2h7v-1H2v1z m0 2h7v-1H2v1z m10-7.5v9.5c0 0.55-0.45 1-1 1H1c-0.55 0-1-0.45-1-1V2c0-0.55 0.45-1 1-1h7.5l3.5 3.5z m-1 0.5L8 2H1v12h10V5z"></path> </svg> <span class="d2h-file-name"><a href="#d2h-559674">data/lib/generators/rider_kick/templates/domains/core/repositories/abstract_repository.rb.tt</a></span> <span class="d2h-tag d2h-changed d2h-changed-tag">CHANGED</span></span> <label class="d2h-file-collapse"> <input class="d2h-file-collapse-input" type="checkbox" name="viewed" value="viewed"> Viewed </label> </div> <div class="d2h-file-diff"> <div class="d2h-code-wrapper"> <table class="d2h-diff-table"> <tbody class="d2h-diff-tbody"> <tr> <td class="d2h-code-linenumber d2h-info"></td> <td class="d2h-info"> <div class="d2h-code-line">@@ -40,7 +40,7 @@ class Core::Repositories::AbstractRepository</div> </td> </tr><tr> <td id="d2h-559674-3374" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-559674-3374"> <div class="line-num1">40</div> <div class="line-num2">40</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> end</span> </div> </td> </tr><tr> <td id="d2h-559674-3385" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-559674-3385"> <div class="line-num1">41</div> <div class="line-num2">41</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr><tr> <td id="d2h-559674-3396" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-559674-3396"> <div class="line-num1">42</div> <div class="line-num2">42</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> def paginate!(pagy)</span> </div> </td> </tr><tr> <td class="d2h-code-linenumber d2h-del d2h-change"> <div class="line-num1">43</div> <div class="line-num2"></div> </a></td> <td class="d2h-del d2h-change"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"> Core::Builders::Pagination.new(<del>Hashie::Mash.new(</del>pagy<del>.as_json</del>)<del>)</del>.build</span> </div> </td> </tr><tr> <td class="d2h-code-linenumber d2h-ins d2h-change"> <div class="line-num1"></div> <div class="line-num2">43</div> </a></td> <td class="d2h-ins d2h-change"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"> Core::Builders::Pagination.new(pagy).build</span> </div> </td> </tr><tr> <td id="d2h-559674-3429" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-559674-3429"> <div class="line-num1">44</div> <div class="line-num2">44</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> end</span> </div> </td> </tr><tr> <td id="d2h-559674-3440" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-559674-3440"> <div class="line-num1">45</div> <div class="line-num2">45</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr><tr> <td id="d2h-559674-3451" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-559674-3451"> <div class="line-num1">46</div> <div class="line-num2">46</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> def build_pagination_variable!(params)</span> </div> </td> </tr> </tbody> </table> </div> </div> </div> <div id="d2h-765330" class="d2h-file-wrapper" data-lang="tt"> <div class="d2h-file-header"> <span class="d2h-file-name-wrapper"> <svg aria-hidden="true" class="d2h-icon" height="16" version="1.1" viewBox="0 0 12 16" width="12"> <path d="M6 5H2v-1h4v1zM2 8h7v-1H2v1z m0 2h7v-1H2v1z m0 2h7v-1H2v1z m10-7.5v9.5c0 0.55-0.45 1-1 1H1c-0.55 0-1-0.45-1-1V2c0-0.55 0.45-1 1-1h7.5l3.5 3.5z m-1 0.5L8 2H1v12h10V5z"></path> </svg> <span class="d2h-file-name"><a href="#d2h-765330">data/lib/generators/rider_kick/templates/domains/core/use_cases/contract/default.rb.tt</a></span> <span class="d2h-tag d2h-changed d2h-changed-tag">CHANGED</span></span> <label class="d2h-file-collapse"> <input class="d2h-file-collapse-input" type="checkbox" name="viewed" value="viewed"> Viewed </label> </div> <div class="d2h-file-diff"> <div class="d2h-code-wrapper"> <table class="d2h-diff-table"> <tbody class="d2h-diff-tbody"> <tr> <td class="d2h-code-linenumber d2h-info"></td> <td class="d2h-info"> <div class="d2h-code-line">@@ -9,9 +9,9 @@ class Core::UseCases::Contract::Default</div> </td> </tr><tr> <td id="d2h-765330-3489" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-765330-3489"> <div class="line-num1">9</div> <div class="line-num2">9</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr><tr> <td id="d2h-765330-3500" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-765330-3500"> <div class="line-num1">10</div> <div class="line-num2">10</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> def default</span> </div> </td> </tr><tr> <td id="d2h-765330-3511" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-765330-3511"> <div class="line-num1">11</div> <div class="line-num2">11</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> Dry::Schema.Params do</span> </div> </td> </tr><tr> <td class="d2h-code-linenumber d2h-del d2h-change"> <div class="line-num1">12</div> <div class="line-num2"></div> </a></td> <td class="d2h-del d2h-change"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"><del><% </del>if <del>RiderKick.</del>scope_owner_column.present?<del> -%></del></span> </div> </td> </tr><tr> <td class="d2h-code-linenumber d2h-del d2h-change"> <div class="line-num1">13</div> <div class="line-num2"></div> </a></td> <td class="d2h-del d2h-change"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"><del> </del>required(<del>:<%=RiderKick.</del>scope_owner_column<del>%> </del>).filled(:string)</span> </div> </td> </tr><tr> <td class="d2h-code-linenumber d2h-del d2h-change"> <div class="line-num1">14</div> <div class="line-num2"></div> </a></td> <td class="d2h-del d2h-change"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"><del><% </del>end<del>-%></del></span> </div> </td> </tr><tr> <td class="d2h-code-linenumber d2h-ins d2h-change"> <div class="line-num1"></div> <div class="line-num2">12</div> </a></td> <td class="d2h-ins d2h-change"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"><ins> </ins>if <ins>@</ins>scope_owner_column.present?</span> </div> </td> </tr><tr> <td class="d2h-code-linenumber d2h-ins d2h-change"> <div class="line-num1"></div> <div class="line-num2">13</div> </a></td> <td class="d2h-ins d2h-change"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"><ins> </ins>required(<ins>@</ins>scope_owner_column).filled(:string)</span> </div> </td> </tr><tr> <td class="d2h-code-linenumber d2h-ins d2h-change"> <div class="line-num1"></div> <div class="line-num2">14</div> </a></td> <td class="d2h-ins d2h-change"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"><ins> </ins>end</span> </div> </td> </tr><tr> <td id="d2h-765330-3588" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-765330-3588"> <div class="line-num1">15</div> <div class="line-num2">15</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> end</span> </div> </td> </tr><tr> <td id="d2h-765330-3599" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-765330-3599"> <div class="line-num1">16</div> <div class="line-num2">16</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> end</span> </div> </td> </tr><tr> <td id="d2h-765330-3610" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-765330-3610"> <div class="line-num1">17</div> <div class="line-num2">17</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">end</span> </div> </td> </tr> </tbody> </table> </div> </div> </div> <div id="d2h-089114" class="d2h-file-wrapper" data-lang="tt"> <div class="d2h-file-header"> <span class="d2h-file-name-wrapper"> <svg aria-hidden="true" class="d2h-icon" height="16" version="1.1" viewBox="0 0 12 16" width="12"> <path d="M6 5H2v-1h4v1zM2 8h7v-1H2v1z m0 2h7v-1H2v1z m0 2h7v-1H2v1z m10-7.5v9.5c0 0.55-0.45 1-1 1H1c-0.55 0-1-0.45-1-1V2c0-0.55 0.45-1 1-1h7.5l3.5 3.5z m-1 0.5L8 2H1v12h10V5z"></path> </svg> <span class="d2h-file-name"><a href="#d2h-089114">data/lib/generators/rider_kick/templates/domains/core/use_cases/create.rb.tt</a></span> <span class="d2h-tag d2h-changed d2h-changed-tag">CHANGED</span></span> <label class="d2h-file-collapse"> <input class="d2h-file-collapse-input" type="checkbox" name="viewed" value="viewed"> Viewed </label> </div> <div class="d2h-file-diff"> <div class="d2h-code-wrapper"> <table class="d2h-diff-table"> <tbody class="d2h-diff-tbody"> <tr> <td class="d2h-code-linenumber d2h-info"></td> <td class="d2h-info"> <div class="d2h-code-line">@@ -1,6 +1,6 @@</div> </td> </tr><tr> <td id="d2h-089114-3648" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-089114-3648"> <div class="line-num1">1</div> <div class="line-num2">1</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"># frozen_string_literal: true</span> </div> </td> </tr><tr> <td id="d2h-089114-3659" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-089114-3659"> <div class="line-num1">2</div> <div class="line-num2">2</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr><tr> <td class="d2h-code-linenumber d2h-del d2h-change"> <div class="line-num1">3</div> <div class="line-num2"></div> </a></td> <td class="d2h-del d2h-change"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn">class Core::UseCases::<%= [@route_scope_class, @scope_class, @use_case_class].join("::") %> < RiderKick::UseCases::AbstractUseCase</span> </div> </td> </tr><tr> <td class="d2h-code-linenumber d2h-ins d2h-change"> <div class="line-num1"></div> <div class="line-num2">3</div> </a></td> <td class="d2h-ins d2h-change"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn">class Core::UseCases::<%= [@route_scope_class, @scope_class, @use_case_class].<ins>reject { |c| c.empty? }.</ins>join("::") %> < RiderKick::UseCases::AbstractUseCase</span> </div> </td> </tr><tr> <td id="d2h-089114-3692" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-089114-3692"> <div class="line-num1">4</div> <div class="line-num2">4</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> contract do</span> </div> </td> </tr><tr> <td id="d2h-089114-3703" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-089114-3703"> <div class="line-num1">5</div> <div class="line-num2">5</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> params(Core::UseCases::Contract::Default.new.call) do</span> </div> </td> </tr><tr> <td id="d2h-089114-3714" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-089114-3714"> <div class="line-num1">6</div> <div class="line-num2">6</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"><% @contract_create.each do |field| -%></span> </div> </td> </tr> </tbody> </table> </div> </div> </div> <div id="d2h-725072" class="d2h-file-wrapper" data-lang="tt"> <div class="d2h-file-header"> <span class="d2h-file-name-wrapper"> <svg aria-hidden="true" class="d2h-icon" height="16" version="1.1" viewBox="0 0 12 16" width="12"> <path d="M6 5H2v-1h4v1zM2 8h7v-1H2v1z m0 2h7v-1H2v1z m0 2h7v-1H2v1z m10-7.5v9.5c0 0.55-0.45 1-1 1H1c-0.55 0-1-0.45-1-1V2c0-0.55 0.45-1 1-1h7.5l3.5 3.5z m-1 0.5L8 2H1v12h10V5z"></path> </svg> <span class="d2h-file-name"><a href="#d2h-725072">data/lib/generators/rider_kick/templates/domains/core/use_cases/destroy.rb.tt</a></span> <span class="d2h-tag d2h-changed d2h-changed-tag">CHANGED</span></span> <label class="d2h-file-collapse"> <input class="d2h-file-collapse-input" type="checkbox" name="viewed" value="viewed"> Viewed </label> </div> <div class="d2h-file-diff"> <div class="d2h-code-wrapper"> <table class="d2h-diff-table"> <tbody class="d2h-diff-tbody"> <tr> <td class="d2h-code-linenumber d2h-info"></td> <td class="d2h-info"> <div class="d2h-code-line">@@ -1,6 +1,6 @@</div> </td> </tr><tr> <td id="d2h-725072-3752" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-725072-3752"> <div class="line-num1">1</div> <div class="line-num2">1</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"># frozen_string_literal: true</span> </div> </td> </tr><tr> <td id="d2h-725072-3763" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-725072-3763"> <div class="line-num1">2</div> <div class="line-num2">2</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr><tr> <td class="d2h-code-linenumber d2h-del d2h-change"> <div class="line-num1">3</div> <div class="line-num2"></div> </a></td> <td class="d2h-del d2h-change"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn">class Core::UseCases::<%= [@route_scope_class, @scope_class, @use_case_class].join("::") %> < RiderKick::UseCases::AbstractUseCase</span> </div> </td> </tr><tr> <td class="d2h-code-linenumber d2h-ins d2h-change"> <div class="line-num1"></div> <div class="line-num2">3</div> </a></td> <td class="d2h-ins d2h-change"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn">class Core::UseCases::<%= [@route_scope_class, @scope_class, @use_case_class].<ins>reject { |c| c.empty? }.</ins>join("::") %> < RiderKick::UseCases::AbstractUseCase</span> </div> </td> </tr><tr> <td id="d2h-725072-3796" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-725072-3796"> <div class="line-num1">4</div> <div class="line-num2">4</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> contract do</span> </div> </td> </tr><tr> <td id="d2h-725072-3807" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-725072-3807"> <div class="line-num1">5</div> <div class="line-num2">5</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> params(Core::UseCases::Contract::Default.new.call) do</span> </div> </td> </tr><tr> <td id="d2h-725072-3818" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-725072-3818"> <div class="line-num1">6</div> <div class="line-num2">6</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"><% @contract_destroy.each do |field| -%></span> </div> </td> </tr> </tbody> </table> </div> </div> </div> <div id="d2h-190476" class="d2h-file-wrapper" data-lang="tt"> <div class="d2h-file-header"> <span class="d2h-file-name-wrapper"> <svg aria-hidden="true" class="d2h-icon" height="16" version="1.1" viewBox="0 0 12 16" width="12"> <path d="M6 5H2v-1h4v1zM2 8h7v-1H2v1z m0 2h7v-1H2v1z m0 2h7v-1H2v1z m10-7.5v9.5c0 0.55-0.45 1-1 1H1c-0.55 0-1-0.45-1-1V2c0-0.55 0.45-1 1-1h7.5l3.5 3.5z m-1 0.5L8 2H1v12h10V5z"></path> </svg> <span class="d2h-file-name"><a href="#d2h-190476">data/lib/generators/rider_kick/templates/domains/core/use_cases/fetch_by_id.rb.tt</a></span> <span class="d2h-tag d2h-changed d2h-changed-tag">CHANGED</span></span> <label class="d2h-file-collapse"> <input class="d2h-file-collapse-input" type="checkbox" name="viewed" value="viewed"> Viewed </label> </div> <div class="d2h-file-diff"> <div class="d2h-code-wrapper"> <table class="d2h-diff-table"> <tbody class="d2h-diff-tbody"> <tr> <td class="d2h-code-linenumber d2h-info"></td> <td class="d2h-info"> <div class="d2h-code-line">@@ -1,6 +1,6 @@</div> </td> </tr><tr> <td id="d2h-190476-3856" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-190476-3856"> <div class="line-num1">1</div> <div class="line-num2">1</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"># frozen_string_literal: true</span> </div> </td> </tr><tr> <td id="d2h-190476-3867" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-190476-3867"> <div class="line-num1">2</div> <div class="line-num2">2</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr><tr> <td class="d2h-code-linenumber d2h-del d2h-change"> <div class="line-num1">3</div> <div class="line-num2"></div> </a></td> <td class="d2h-del d2h-change"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn">class Core::UseCases::<%= [@route_scope_class, @scope_class, @use_case_class].join("::") %> < RiderKick::UseCases::AbstractUseCase</span> </div> </td> </tr><tr> <td class="d2h-code-linenumber d2h-ins d2h-change"> <div class="line-num1"></div> <div class="line-num2">3</div> </a></td> <td class="d2h-ins d2h-change"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn">class Core::UseCases::<%= [@route_scope_class, @scope_class, @use_case_class].<ins>reject { |c| c.empty? }.</ins>join("::") %> < RiderKick::UseCases::AbstractUseCase</span> </div> </td> </tr><tr> <td id="d2h-190476-3900" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-190476-3900"> <div class="line-num1">4</div> <div class="line-num2">4</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> contract do</span> </div> </td> </tr><tr> <td id="d2h-190476-3911" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-190476-3911"> <div class="line-num1">5</div> <div class="line-num2">5</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> params(Core::UseCases::Contract::Default.new.call) do</span> </div> </td> </tr><tr> <td id="d2h-190476-3922" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-190476-3922"> <div class="line-num1">6</div> <div class="line-num2">6</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"><% @contract_fetch_by_id.each do |field| -%></span> </div> </td> </tr> </tbody> </table> </div> </div> </div> <div id="d2h-078264" class="d2h-file-wrapper" data-lang="tt"> <div class="d2h-file-header"> <span class="d2h-file-name-wrapper"> <svg aria-hidden="true" class="d2h-icon" height="16" version="1.1" viewBox="0 0 12 16" width="12"> <path d="M6 5H2v-1h4v1zM2 8h7v-1H2v1z m0 2h7v-1H2v1z m0 2h7v-1H2v1z m10-7.5v9.5c0 0.55-0.45 1-1 1H1c-0.55 0-1-0.45-1-1V2c0-0.55 0.45-1 1-1h7.5l3.5 3.5z m-1 0.5L8 2H1v12h10V5z"></path> </svg> <span class="d2h-file-name"><a href="#d2h-078264">data/lib/generators/rider_kick/templates/domains/core/use_cases/list.rb.tt</a></span> <span class="d2h-tag d2h-changed d2h-changed-tag">CHANGED</span></span> <label class="d2h-file-collapse"> <input class="d2h-file-collapse-input" type="checkbox" name="viewed" value="viewed"> Viewed </label> </div> <div class="d2h-file-diff"> <div class="d2h-code-wrapper"> <table class="d2h-diff-table"> <tbody class="d2h-diff-tbody"> <tr> <td class="d2h-code-linenumber d2h-info"></td> <td class="d2h-info"> <div class="d2h-code-line">@@ -1,6 +1,6 @@</div> </td> </tr><tr> <td id="d2h-078264-3960" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-078264-3960"> <div class="line-num1">1</div> <div class="line-num2">1</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"># frozen_string_literal: true</span> </div> </td> </tr><tr> <td id="d2h-078264-3971" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-078264-3971"> <div class="line-num1">2</div> <div class="line-num2">2</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr><tr> <td class="d2h-code-linenumber d2h-del d2h-change"> <div class="line-num1">3</div> <div class="line-num2"></div> </a></td> <td class="d2h-del d2h-change"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn">class Core::UseCases::<%= [@route_scope_class, @scope_class, @use_case_class].join("::") %> < RiderKick::UseCases::AbstractUseCase</span> </div> </td> </tr><tr> <td class="d2h-code-linenumber d2h-ins d2h-change"> <div class="line-num1"></div> <div class="line-num2">3</div> </a></td> <td class="d2h-ins d2h-change"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn">class Core::UseCases::<%= [@route_scope_class, @scope_class, @use_case_class].<ins>reject { |c| c.empty? }.</ins>join("::") %> < RiderKick::UseCases::AbstractUseCase</span> </div> </td> </tr><tr> <td id="d2h-078264-4004" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-078264-4004"> <div class="line-num1">4</div> <div class="line-num2">4</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> contract do</span> </div> </td> </tr><tr> <td id="d2h-078264-4015" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-078264-4015"> <div class="line-num1">5</div> <div class="line-num2">5</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> params(Core::UseCases::Contract::Default.new.call, Core::UseCases::Contract::Pagination.new.call) do</span> </div> </td> </tr><tr> <td id="d2h-078264-4026" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-078264-4026"> <div class="line-num1">6</div> <div class="line-num2">6</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"><% @contract_list.each do |field| -%></span> </div> </td> </tr> </tbody> </table> </div> </div> </div> <div id="d2h-848755" class="d2h-file-wrapper" data-lang="tt"> <div class="d2h-file-header"> <span class="d2h-file-name-wrapper"> <svg aria-hidden="true" class="d2h-icon" height="16" version="1.1" viewBox="0 0 12 16" width="12"> <path d="M6 5H2v-1h4v1zM2 8h7v-1H2v1z m0 2h7v-1H2v1z m0 2h7v-1H2v1z m10-7.5v9.5c0 0.55-0.45 1-1 1H1c-0.55 0-1-0.45-1-1V2c0-0.55 0.45-1 1-1h7.5l3.5 3.5z m-1 0.5L8 2H1v12h10V5z"></path> </svg> <span class="d2h-file-name"><a href="#d2h-848755">data/lib/generators/rider_kick/templates/domains/core/use_cases/update.rb.tt</a></span> <span class="d2h-tag d2h-changed d2h-changed-tag">CHANGED</span></span> <label class="d2h-file-collapse"> <input class="d2h-file-collapse-input" type="checkbox" name="viewed" value="viewed"> Viewed </label> </div> <div class="d2h-file-diff"> <div class="d2h-code-wrapper"> <table class="d2h-diff-table"> <tbody class="d2h-diff-tbody"> <tr> <td class="d2h-code-linenumber d2h-info"></td> <td class="d2h-info"> <div class="d2h-code-line">@@ -1,6 +1,6 @@</div> </td> </tr><tr> <td id="d2h-848755-4064" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-848755-4064"> <div class="line-num1">1</div> <div class="line-num2">1</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"># frozen_string_literal: true</span> </div> </td> </tr><tr> <td id="d2h-848755-4075" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-848755-4075"> <div class="line-num1">2</div> <div class="line-num2">2</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr><tr> <td class="d2h-code-linenumber d2h-del d2h-change"> <div class="line-num1">3</div> <div class="line-num2"></div> </a></td> <td class="d2h-del d2h-change"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn">class Core::UseCases::<%= [@route_scope_class, @scope_class, @use_case_class].join("::") %> < RiderKick::UseCases::AbstractUseCase</span> </div> </td> </tr><tr> <td class="d2h-code-linenumber d2h-ins d2h-change"> <div class="line-num1"></div> <div class="line-num2">3</div> </a></td> <td class="d2h-ins d2h-change"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn">class Core::UseCases::<%= [@route_scope_class, @scope_class, @use_case_class].<ins>reject { |c| c.empty? }.</ins>join("::") %> < RiderKick::UseCases::AbstractUseCase</span> </div> </td> </tr><tr> <td id="d2h-848755-4108" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-848755-4108"> <div class="line-num1">4</div> <div class="line-num2">4</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> contract do</span> </div> </td> </tr><tr> <td id="d2h-848755-4119" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-848755-4119"> <div class="line-num1">5</div> <div class="line-num2">5</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> params(Core::UseCases::Contract::Default.new.call) do</span> </div> </td> </tr><tr> <td id="d2h-848755-4130" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-848755-4130"> <div class="line-num1">6</div> <div class="line-num2">6</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"><% @contract_update.each do |field| -%></span> </div> </td> </tr> </tbody> </table> </div> </div> </div> <div id="d2h-518253" class="d2h-file-wrapper" data-lang="rb"> <div class="d2h-file-header"> <span class="d2h-file-name-wrapper"> <svg aria-hidden="true" class="d2h-icon" height="16" version="1.1" viewBox="0 0 12 16" width="12"> <path d="M6 5H2v-1h4v1zM2 8h7v-1H2v1z m0 2h7v-1H2v1z m0 2h7v-1H2v1z m10-7.5v9.5c0 0.55-0.45 1-1 1H1c-0.55 0-1-0.45-1-1V2c0-0.55 0.45-1 1-1h7.5l3.5 3.5z m-1 0.5L8 2H1v12h10V5z"></path> </svg> <span class="d2h-file-name"><a href="#d2h-518253">data/lib/generators/rider_kick/templates/models/application_record.rb</a></span> <span class="d2h-tag d2h-added d2h-added-tag">ADDED</span></span> <label class="d2h-file-collapse"> <input class="d2h-file-collapse-input" type="checkbox" name="viewed" value="viewed"> Viewed </label> </div> <div class="d2h-file-diff"> <div class="d2h-code-wrapper"> <table class="d2h-diff-table"> <tbody class="d2h-diff-tbody"> <tr> <td class="d2h-code-linenumber d2h-info"></td> <td class="d2h-info"> <div class="d2h-code-line">@@ -0,0 +1,7 @@</div> </td> </tr><tr> <td id="d2h-518253-4168" class="d2h-code-linenumber d2h-ins"><a href="#d2h-518253-4168"> <div class="line-num1"></div> <div class="line-num2">1</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn">class ApplicationRecord < ActiveRecord::Base</span> </div> </td> </tr><tr> <td id="d2h-518253-4179" class="d2h-code-linenumber d2h-ins"><a href="#d2h-518253-4179"> <div class="line-num1"></div> <div class="line-num2">2</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"> primary_abstract_class</span> </div> </td> </tr><tr> <td id="d2h-518253-4190" class="d2h-code-linenumber d2h-ins"><a href="#d2h-518253-4190"> <div class="line-num1"></div> <div class="line-num2">3</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"> self.abstract_class = true</span> </div> </td> </tr><tr> <td id="d2h-518253-4201" class="d2h-code-linenumber d2h-ins"><a href="#d2h-518253-4201"> <div class="line-num1"></div> <div class="line-num2">4</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr><tr> <td id="d2h-518253-4212" class="d2h-code-linenumber d2h-ins"><a href="#d2h-518253-4212"> <div class="line-num1"></div> <div class="line-num2">5</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"> # Adjust default sort order</span> </div> </td> </tr><tr> <td id="d2h-518253-4223" class="d2h-code-linenumber d2h-ins"><a href="#d2h-518253-4223"> <div class="line-num1"></div> <div class="line-num2">6</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"> self.implicit_order_column = :created_at</span> </div> </td> </tr><tr> <td id="d2h-518253-4234" class="d2h-code-linenumber d2h-ins"><a href="#d2h-518253-4234"> <div class="line-num1"></div> <div class="line-num2">7</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn">end</span> </div> </td> </tr> </tbody> </table> </div> </div> </div> <div id="d2h-945033" class="d2h-file-wrapper" data-lang="rb"> <div class="d2h-file-header"> <span class="d2h-file-name-wrapper"> <svg aria-hidden="true" class="d2h-icon" height="16" version="1.1" viewBox="0 0 12 16" width="12"> <path d="M6 5H2v-1h4v1zM2 8h7v-1H2v1z m0 2h7v-1H2v1z m0 2h7v-1H2v1z m10-7.5v9.5c0 0.55-0.45 1-1 1H1c-0.55 0-1-0.45-1-1V2c0-0.55 0.45-1 1-1h7.5l3.5 3.5z m-1 0.5L8 2H1v12h10V5z"></path> </svg> <span class="d2h-file-name"><a href="#d2h-945033">data/lib/generators/rider_kick/templates/models/models.rb</a></span> <span class="d2h-tag d2h-added d2h-added-tag">ADDED</span></span> <label class="d2h-file-collapse"> <input class="d2h-file-collapse-input" type="checkbox" name="viewed" value="viewed"> Viewed </label> </div> <div class="d2h-file-diff"> <div class="d2h-code-wrapper"> <table class="d2h-diff-table"> <tbody class="d2h-diff-tbody"> <tr> <td class="d2h-code-linenumber d2h-info"></td> <td class="d2h-info"> <div class="d2h-code-line">@@ -0,0 +1,2 @@</div> </td> </tr><tr> <td id="d2h-945033-4272" class="d2h-code-linenumber d2h-ins"><a href="#d2h-945033-4272"> <div class="line-num1"></div> <div class="line-num2">1</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn">module Models</span> </div> </td> </tr><tr> <td id="d2h-945033-4283" class="d2h-code-linenumber d2h-ins"><a href="#d2h-945033-4283"> <div class="line-num1"></div> <div class="line-num2">2</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn">end</span> </div> </td> </tr> </tbody> </table> </div> </div> </div> <div id="d2h-150122" class="d2h-file-wrapper" data-lang="rb"> <div class="d2h-file-header"> <span class="d2h-file-name-wrapper"> <svg aria-hidden="true" class="d2h-icon" height="16" version="1.1" viewBox="0 0 12 16" width="12"> <path d="M6 5H2v-1h4v1zM2 8h7v-1H2v1z m0 2h7v-1H2v1z m0 2h7v-1H2v1z m10-7.5v9.5c0 0.55-0.45 1-1 1H1c-0.55 0-1-0.45-1-1V2c0-0.55 0.45-1 1-1h7.5l3.5 3.5z m-1 0.5L8 2H1v12h10V5z"></path> </svg> <span class="d2h-file-name"><a href="#d2h-150122">data/lib/rider-kick.rb</a></span> <span class="d2h-tag d2h-changed d2h-changed-tag">CHANGED</span></span> <label class="d2h-file-collapse"> <input class="d2h-file-collapse-input" type="checkbox" name="viewed" value="viewed"> Viewed </label> </div> <div class="d2h-file-diff"> <div class="d2h-code-wrapper"> <table class="d2h-diff-table"> <tbody class="d2h-diff-tbody"> <tr> <td class="d2h-code-linenumber d2h-info"></td> <td class="d2h-info"> <div class="d2h-code-line">@@ -5,10 +5,7 @@ require 'rider_kick/builders/abstract_active_record_entity_builder'</div> </td> </tr><tr> <td id="d2h-150122-4321" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-150122-4321"> <div class="line-num1">5</div> <div class="line-num2">5</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">require 'rider_kick/matchers/use_case_result'</span> </div> </td> </tr><tr> <td id="d2h-150122-4332" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-150122-4332"> <div class="line-num1">6</div> <div class="line-num2">6</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">require 'rider_kick/use_cases/abstract_use_case'</span> </div> </td> </tr><tr> <td id="d2h-150122-4343" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-150122-4343"> <div class="line-num1">7</div> <div class="line-num2">7</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">require 'rider_kick/use_cases/contract'</span> </div> </td> </tr><tr> <td id="d2h-150122-4354" class="d2h-code-linenumber d2h-del"><a href="#d2h-150122-4354"> <div class="line-num1">8</div> <div class="line-num2"></div> </a></td> <td class="d2h-del"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn">require 'rider_kick/configuration'</span> </div> </td> </tr><tr> <td id="d2h-150122-4365" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-150122-4365"> <div class="line-num1">9</div> <div class="line-num2">8</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">require 'rider_kick/version'</span> </div> </td> </tr><tr> <td id="d2h-150122-4376" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-150122-4376"> <div class="line-num1">10</div> <div class="line-num2">9</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr><tr> <td id="d2h-150122-4387" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-150122-4387"> <div class="line-num1">11</div> <div class="line-num2">10</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">module RiderKick</span> </div> </td> </tr><tr> <td id="d2h-150122-4398" class="d2h-code-linenumber d2h-del"><a href="#d2h-150122-4398"> <div class="line-num1">12</div> <div class="line-num2"></div> </a></td> <td class="d2h-del"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"> extend RiderKick::Configuration</span> </div> </td> </tr><tr> <td id="d2h-150122-4409" class="d2h-code-linenumber d2h-del"><a href="#d2h-150122-4409"> <div class="line-num1">13</div> <div class="line-num2"></div> </a></td> <td class="d2h-del"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"> define_setting :scope_owner_column, ''</span> </div> </td> </tr><tr> <td id="d2h-150122-4420" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-150122-4420"> <div class="line-num1">14</div> <div class="line-num2">11</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">end</span> </div> </td> </tr> </tbody> </table> </div> </div> </div> <div id="d2h-848891" class="d2h-file-wrapper" data-lang="rb"> <div class="d2h-file-header"> <span class="d2h-file-name-wrapper"> <svg aria-hidden="true" class="d2h-icon" height="16" version="1.1" viewBox="0 0 12 16" width="12"> <path d="M6 5H2v-1h4v1zM2 8h7v-1H2v1z m0 2h7v-1H2v1z m0 2h7v-1H2v1z m10-7.5v9.5c0 0.55-0.45 1-1 1H1c-0.55 0-1-0.45-1-1V2c0-0.55 0.45-1 1-1h7.5l3.5 3.5z m-1 0.5L8 2H1v12h10V5z"></path> </svg> <span class="d2h-file-name"><a href="#d2h-848891">data/lib/rider_kick/version.rb</a></span> <span class="d2h-tag d2h-changed d2h-changed-tag">CHANGED</span></span> <label class="d2h-file-collapse"> <input class="d2h-file-collapse-input" type="checkbox" name="viewed" value="viewed"> Viewed </label> </div> <div class="d2h-file-diff"> <div class="d2h-code-wrapper"> <table class="d2h-diff-table"> <tbody class="d2h-diff-tbody"> <tr> <td class="d2h-code-linenumber d2h-info"></td> <td class="d2h-info"> <div class="d2h-code-line">@@ -1,6 +1,6 @@</div> </td> </tr><tr> <td id="d2h-848891-4458" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-848891-4458"> <div class="line-num1">1</div> <div class="line-num2">1</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"># frozen_string_literal: true</span> </div> </td> </tr><tr> <td id="d2h-848891-4469" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-848891-4469"> <div class="line-num1">2</div> <div class="line-num2">2</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr><tr> <td id="d2h-848891-4480" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-848891-4480"> <div class="line-num1">3</div> <div class="line-num2">3</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">module RiderKick</span> </div> </td> </tr><tr> <td class="d2h-code-linenumber d2h-del d2h-change"> <div class="line-num1">4</div> <div class="line-num2"></div> </a></td> <td class="d2h-del d2h-change"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"> VERSION = '0.0.<del>3</del>'</span> </div> </td> </tr><tr> <td class="d2h-code-linenumber d2h-ins d2h-change"> <div class="line-num1"></div> <div class="line-num2">4</div> </a></td> <td class="d2h-ins d2h-change"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"> VERSION = '0.0.<ins>4</ins>'</span> </div> </td> </tr><tr> <td id="d2h-848891-4513" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-848891-4513"> <div class="line-num1">5</div> <div class="line-num2">5</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> public_constant :VERSION</span> </div> </td> </tr><tr> <td id="d2h-848891-4524" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-848891-4524"> <div class="line-num1">6</div> <div class="line-num2">6</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">end</span> </div> </td> </tr> </tbody> </table> </div> </div> </div> <div id="d2h-004177" class="d2h-file-wrapper" data-lang=""> <div class="d2h-file-header"> <span class="d2h-file-name-wrapper"> <svg aria-hidden="true" class="d2h-icon" height="16" version="1.1" viewBox="0 0 12 16" width="12"> <path d="M6 5H2v-1h4v1zM2 8h7v-1H2v1z m0 2h7v-1H2v1z m0 2h7v-1H2v1z m10-7.5v9.5c0 0.55-0.45 1-1 1H1c-0.55 0-1-0.45-1-1V2c0-0.55 0.45-1 1-1h7.5l3.5 3.5z m-1 0.5L8 2H1v12h10V5z"></path> </svg> <span class="d2h-file-name"><a href="#d2h-004177">metadata</a></span> <span class="d2h-tag d2h-changed d2h-changed-tag">CHANGED</span></span> <label class="d2h-file-collapse"> <input class="d2h-file-collapse-input" type="checkbox" name="viewed" value="viewed"> Viewed </label> </div> <div class="d2h-file-diff"> <div class="d2h-code-wrapper"> <table class="d2h-diff-table"> <tbody class="d2h-diff-tbody"> <tr> <td class="d2h-code-linenumber d2h-info"></td> <td class="d2h-info"> <div class="d2h-code-line">@@ -1,14 +1,14 @@</div> </td> </tr><tr> <td id="d2h-004177-4562" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-004177-4562"> <div class="line-num1">1</div> <div class="line-num2">1</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">--- !ruby/object:Gem::Specification</span> </div> </td> </tr><tr> <td id="d2h-004177-4573" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-004177-4573"> <div class="line-num1">2</div> <div class="line-num2">2</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">name: rider-kick</span> </div> </td> </tr><tr> <td id="d2h-004177-4584" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-004177-4584"> <div class="line-num1">3</div> <div class="line-num2">3</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">version: !ruby/object:Gem::Version</span> </div> </td> </tr><tr> <td class="d2h-code-linenumber d2h-del d2h-change"> <div class="line-num1">4</div> <div class="line-num2"></div> </a></td> <td class="d2h-del d2h-change"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"> version: 0.0.<del>3</del></span> </div> </td> </tr><tr> <td class="d2h-code-linenumber d2h-ins d2h-change"> <div class="line-num1"></div> <div class="line-num2">4</div> </a></td> <td class="d2h-ins d2h-change"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"> version: 0.0.<ins>4</ins></span> </div> </td> </tr><tr> <td id="d2h-004177-4617" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-004177-4617"> <div class="line-num1">5</div> <div class="line-num2">5</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">platform: ruby</span> </div> </td> </tr><tr> <td id="d2h-004177-4628" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-004177-4628"> <div class="line-num1">6</div> <div class="line-num2">6</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">authors:</span> </div> </td> </tr><tr> <td id="d2h-004177-4639" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-004177-4639"> <div class="line-num1">7</div> <div class="line-num2">7</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">- Kotaro Minami</span> </div> </td> </tr><tr> <td id="d2h-004177-4650" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-004177-4650"> <div class="line-num1">8</div> <div class="line-num2">8</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">autorequire:</span> </div> </td> </tr><tr> <td id="d2h-004177-4661" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-004177-4661"> <div class="line-num1">9</div> <div class="line-num2">9</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">bindir: exe</span> </div> </td> </tr><tr> <td id="d2h-004177-4672" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-004177-4672"> <div class="line-num1">10</div> <div class="line-num2">10</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">cert_chain: []</span> </div> </td> </tr><tr> <td class="d2h-code-linenumber d2h-del d2h-change"> <div class="line-num1">11</div> <div class="line-num2"></div> </a></td> <td class="d2h-del d2h-change"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn">date: 2024-11-<del>20</del> 00:00:00.000000000 Z</span> </div> </td> </tr><tr> <td class="d2h-code-linenumber d2h-ins d2h-change"> <div class="line-num1"></div> <div class="line-num2">11</div> </a></td> <td class="d2h-ins d2h-change"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn">date: 2024-11-<ins>21</ins> 00:00:00.000000000 Z</span> </div> </td> </tr><tr> <td id="d2h-004177-4705" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-004177-4705"> <div class="line-num1">12</div> <div class="line-num2">12</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">dependencies:</span> </div> </td> </tr><tr> <td id="d2h-004177-4716" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-004177-4716"> <div class="line-num1">13</div> <div class="line-num2">13</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">- !ruby/object:Gem::Dependency</span> </div> </td> </tr><tr> <td id="d2h-004177-4727" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-004177-4727"> <div class="line-num1">14</div> <div class="line-num2">14</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> name: dry-matcher</span> </div> </td> </tr> <tr> <td class="d2h-code-linenumber d2h-info"></td> <td class="d2h-info"> <div class="d2h-code-line">@@ -151,7 +151,6 @@ files:</div> </td> </tr><tr> <td id="d2h-004177-4744" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-004177-4744"> <div class="line-num1">151</div> <div class="line-num2">151</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">- Rakefile</span> </div> </td> </tr><tr> <td id="d2h-004177-4755" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-004177-4755"> <div class="line-num1">152</div> <div class="line-num2">152</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">- lib/generators/rider_kick/USAGE</span> </div> </td> </tr><tr> <td id="d2h-004177-4766" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-004177-4766"> <div class="line-num1">153</div> <div class="line-num2">153</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">- lib/generators/rider_kick/clean_arch_generator.rb</span> </div> </td> </tr><tr> <td id="d2h-004177-4777" class="d2h-code-linenumber d2h-del"><a href="#d2h-004177-4777"> <div class="line-num1">154</div> <div class="line-num2"></div> </a></td> <td class="d2h-del"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn">- lib/generators/rider_kick/init_generator.rb</span> </div> </td> </tr><tr> <td id="d2h-004177-4788" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-004177-4788"> <div class="line-num1">155</div> <div class="line-num2">154</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">- lib/generators/rider_kick/scaffold_generator.rb</span> </div> </td> </tr><tr> <td id="d2h-004177-4799" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-004177-4799"> <div class="line-num1">156</div> <div class="line-num2">155</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">- lib/generators/rider_kick/structure_generator.rb</span> </div> </td> </tr><tr> <td id="d2h-004177-4810" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-004177-4810"> <div class="line-num1">157</div> <div class="line-num2">156</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">- lib/generators/rider_kick/templates/.gitignore</span> </div> </td> </tr> <tr> <td class="d2h-code-linenumber d2h-info"></td> <td class="d2h-info"> <div class="d2h-code-line">@@ -163,7 +162,6 @@ files:</div> </td> </tr><tr> <td id="d2h-004177-4827" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-004177-4827"> <div class="line-num1">163</div> <div class="line-num2">162</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">- lib/generators/rider_kick/templates/config/initializers/generators.rb.tt</span> </div> </td> </tr><tr> <td id="d2h-004177-4838" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-004177-4838"> <div class="line-num1">164</div> <div class="line-num2">163</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">- lib/generators/rider_kick/templates/config/initializers/hashie.rb.tt</span> </div> </td> </tr><tr> <td id="d2h-004177-4849" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-004177-4849"> <div class="line-num1">165</div> <div class="line-num2">164</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">- lib/generators/rider_kick/templates/config/initializers/pagy.rb.tt</span> </div> </td> </tr><tr> <td id="d2h-004177-4860" class="d2h-code-linenumber d2h-del"><a href="#d2h-004177-4860"> <div class="line-num1">166</div> <div class="line-num2"></div> </a></td> <td class="d2h-del"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn">- lib/generators/rider_kick/templates/config/initializers/rider_kick.rb</span> </div> </td> </tr><tr> <td id="d2h-004177-4871" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-004177-4871"> <div class="line-num1">167</div> <div class="line-num2">165</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">- lib/generators/rider_kick/templates/config/initializers/version.rb.tt</span> </div> </td> </tr><tr> <td id="d2h-004177-4882" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-004177-4882"> <div class="line-num1">168</div> <div class="line-num2">166</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">- lib/generators/rider_kick/templates/config/initializers/zeitwerk.rb.tt</span> </div> </td> </tr><tr> <td id="d2h-004177-4893" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-004177-4893"> <div class="line-num1">169</div> <div class="line-num2">167</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">- lib/generators/rider_kick/templates/db/migrate/20220613145533_init_database.rb</span> </div> </td> </tr> <tr> <td class="d2h-code-linenumber d2h-info"></td> <td class="d2h-info"> <div class="d2h-code-line">@@ -192,6 +190,8 @@ files:</div> </td> </tr><tr> <td id="d2h-004177-4910" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-004177-4910"> <div class="line-num1">192</div> <div class="line-num2">190</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">- lib/generators/rider_kick/templates/env.development</span> </div> </td> </tr><tr> <td id="d2h-004177-4921" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-004177-4921"> <div class="line-num1">193</div> <div class="line-num2">191</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">- lib/generators/rider_kick/templates/env.production</span> </div> </td> </tr><tr> <td id="d2h-004177-4932" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-004177-4932"> <div class="line-num1">194</div> <div class="line-num2">192</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">- lib/generators/rider_kick/templates/env.test</span> </div> </td> </tr><tr> <td id="d2h-004177-4943" class="d2h-code-linenumber d2h-ins"><a href="#d2h-004177-4943"> <div class="line-num1"></div> <div class="line-num2">193</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn">- lib/generators/rider_kick/templates/models/application_record.rb</span> </div> </td> </tr><tr> <td id="d2h-004177-4954" class="d2h-code-linenumber d2h-ins"><a href="#d2h-004177-4954"> <div class="line-num1"></div> <div class="line-num2">194</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn">- lib/generators/rider_kick/templates/models/models.rb</span> </div> </td> </tr><tr> <td id="d2h-004177-4965" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-004177-4965"> <div class="line-num1">195</div> <div class="line-num2">195</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">- lib/generators/rider_kick/templates/spec/fixtures/sample.pdf</span> </div> </td> </tr><tr> <td id="d2h-004177-4976" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-004177-4976"> <div class="line-num1">196</div> <div class="line-num2">196</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">- lib/generators/rider_kick/templates/spec/rails_helper.rb</span> </div> </td> </tr><tr> <td id="d2h-004177-4987" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-004177-4987"> <div class="line-num1">197</div> <div class="line-num2">197</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">- lib/generators/rider_kick/templates/spec/support/file_stuber.rb</span> </div> </td> </tr> <tr> <td class="d2h-code-linenumber d2h-info"></td> <td class="d2h-info"> <div class="d2h-code-line">@@ -199,7 +199,6 @@ files:</div> </td> </tr><tr> <td id="d2h-004177-5004" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-004177-5004"> <div class="line-num1">199</div> <div class="line-num2">199</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">- lib/rider-kick.rb</span> </div> </td> </tr><tr> <td id="d2h-004177-5015" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-004177-5015"> <div class="line-num1">200</div> <div class="line-num2">200</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">- lib/rider_kick/builders/abstract_active_record_entity_builder.rb</span> </div> </td> </tr><tr> <td id="d2h-004177-5026" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-004177-5026"> <div class="line-num1">201</div> <div class="line-num2">201</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">- lib/rider_kick/builders/abstract_active_record_entity_builder_spec.rb</span> </div> </td> </tr><tr> <td id="d2h-004177-5037" class="d2h-code-linenumber d2h-del"><a href="#d2h-004177-5037"> <div class="line-num1">202</div> <div class="line-num2"></div> </a></td> <td class="d2h-del"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn">- lib/rider_kick/configuration.rb</span> </div> </td> </tr><tr> <td id="d2h-004177-5048" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-004177-5048"> <div class="line-num1">203</div> <div class="line-num2">202</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">- lib/rider_kick/entities/failure_details.rb</span> </div> </td> </tr><tr> <td id="d2h-004177-5059" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-004177-5059"> <div class="line-num1">204</div> <div class="line-num2">203</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">- lib/rider_kick/matchers/use_case_result.rb</span> </div> </td> </tr><tr> <td id="d2h-004177-5070" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-004177-5070"> <div class="line-num1">205</div> <div class="line-num2">204</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">- lib/rider_kick/matchers/use_case_result_spec.rb</span> </div> </td> </tr> </tbody> </table> </div> </div> </div> <div id="d2h-399958" class="d2h-file-wrapper" data-lang="rb"> <div class="d2h-file-header"> <span class="d2h-file-name-wrapper"> <svg aria-hidden="true" class="d2h-icon" height="16" version="1.1" viewBox="0 0 12 16" width="12"> <path d="M6 5H2v-1h4v1zM2 8h7v-1H2v1z m0 2h7v-1H2v1z m0 2h7v-1H2v1z m10-7.5v9.5c0 0.55-0.45 1-1 1H1c-0.55 0-1-0.45-1-1V2c0-0.55 0.45-1 1-1h7.5l3.5 3.5z m-1 0.5L8 2H1v12h10V5z"></path> </svg> <span class="d2h-file-name"><a href="#d2h-399958">data/lib/generators/rider_kick/init_generator.rb</a></span> <span class="d2h-tag d2h-deleted d2h-deleted-tag">DELETED</span></span> <label class="d2h-file-collapse"> <input class="d2h-file-collapse-input" type="checkbox" name="viewed" value="viewed"> Viewed </label> </div> <div class="d2h-file-diff"> <div class="d2h-code-wrapper"> <table class="d2h-diff-table"> <tbody class="d2h-diff-tbody"> <tr> <td class="d2h-code-linenumber d2h-info"></td> <td class="d2h-info"> <div class="d2h-code-line">@@ -1,15 +0,0 @@</div> </td> </tr><tr> <td id="d2h-399958-5108" class="d2h-code-linenumber d2h-del"><a href="#d2h-399958-5108"> <div class="line-num1">1</div> <div class="line-num2"></div> </a></td> <td class="d2h-del"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn">module RiderKick</span> </div> </td> </tr><tr> <td id="d2h-399958-5119" class="d2h-code-linenumber d2h-del"><a href="#d2h-399958-5119"> <div class="line-num1">2</div> <div class="line-num2"></div> </a></td> <td class="d2h-del"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"> class InitGenerator < Rails::Generators::Base</span> </div> </td> </tr><tr> <td id="d2h-399958-5130" class="d2h-code-linenumber d2h-del"><a href="#d2h-399958-5130"> <div class="line-num1">3</div> <div class="line-num2"></div> </a></td> <td class="d2h-del"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"> source_root File.expand_path('templates', __dir__)</span> </div> </td> </tr><tr> <td id="d2h-399958-5141" class="d2h-code-linenumber d2h-del"><a href="#d2h-399958-5141"> <div class="line-num1">4</div> <div class="line-num2"></div> </a></td> <td class="d2h-del"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr><tr> <td id="d2h-399958-5152" class="d2h-code-linenumber d2h-del"><a href="#d2h-399958-5152"> <div class="line-num1">5</div> <div class="line-num2"></div> </a></td> <td class="d2h-del"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"> def setup_configuration</span> </div> </td> </tr><tr> <td id="d2h-399958-5163" class="d2h-code-linenumber d2h-del"><a href="#d2h-399958-5163"> <div class="line-num1">6</div> <div class="line-num2"></div> </a></td> <td class="d2h-del"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"> copy_initializer('rider_kick')</span> </div> </td> </tr><tr> <td id="d2h-399958-5174" class="d2h-code-linenumber d2h-del"><a href="#d2h-399958-5174"> <div class="line-num1">7</div> <div class="line-num2"></div> </a></td> <td class="d2h-del"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"> end</span> </div> </td> </tr><tr> <td id="d2h-399958-5185" class="d2h-code-linenumber d2h-del"><a href="#d2h-399958-5185"> <div class="line-num1">8</div> <div class="line-num2"></div> </a></td> <td class="d2h-del"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr><tr> <td id="d2h-399958-5196" class="d2h-code-linenumber d2h-del"><a href="#d2h-399958-5196"> <div class="line-num1">9</div> <div class="line-num2"></div> </a></td> <td class="d2h-del"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"> private</span> </div> </td> </tr><tr> <td id="d2h-399958-5207" class="d2h-code-linenumber d2h-del"><a href="#d2h-399958-5207"> <div class="line-num1">10</div> <div class="line-num2"></div> </a></td> <td class="d2h-del"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr><tr> <td id="d2h-399958-5218" class="d2h-code-linenumber d2h-del"><a href="#d2h-399958-5218"> <div class="line-num1">11</div> <div class="line-num2"></div> </a></td> <td class="d2h-del"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"> def copy_initializer(file_name)</span> </div> </td> </tr><tr> <td id="d2h-399958-5229" class="d2h-code-linenumber d2h-del"><a href="#d2h-399958-5229"> <div class="line-num1">12</div> <div class="line-num2"></div> </a></td> <td class="d2h-del"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"> template "config/initializers/#{file_name}.rb", File.join("config/initializers/#{file_name}.rb")</span> </div> </td> </tr><tr> <td id="d2h-399958-5240" class="d2h-code-linenumber d2h-del"><a href="#d2h-399958-5240"> <div class="line-num1">13</div> <div class="line-num2"></div> </a></td> <td class="d2h-del"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"> end</span> </div> </td> </tr><tr> <td id="d2h-399958-5251" class="d2h-code-linenumber d2h-del"><a href="#d2h-399958-5251"> <div class="line-num1">14</div> <div class="line-num2"></div> </a></td> <td class="d2h-del"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"> end</span> </div> </td> </tr><tr> <td id="d2h-399958-5262" class="d2h-code-linenumber d2h-del"><a href="#d2h-399958-5262"> <div class="line-num1">15</div> <div class="line-num2"></div> </a></td> <td class="d2h-del"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn">end</span> </div> </td> </tr> </tbody> </table> </div> </div> </div> <div id="d2h-062392" class="d2h-file-wrapper" data-lang="rb"> <div class="d2h-file-header"> <span class="d2h-file-name-wrapper"> <svg aria-hidden="true" class="d2h-icon" height="16" version="1.1" viewBox="0 0 12 16" width="12"> <path d="M6 5H2v-1h4v1zM2 8h7v-1H2v1z m0 2h7v-1H2v1z m0 2h7v-1H2v1z m10-7.5v9.5c0 0.55-0.45 1-1 1H1c-0.55 0-1-0.45-1-1V2c0-0.55 0.45-1 1-1h7.5l3.5 3.5z m-1 0.5L8 2H1v12h10V5z"></path> </svg> <span class="d2h-file-name"><a href="#d2h-062392">data/lib/generators/rider_kick/templates/config/initializers/rider_kick.rb</a></span> <span class="d2h-tag d2h-deleted d2h-deleted-tag">DELETED</span></span> <label class="d2h-file-collapse"> <input class="d2h-file-collapse-input" type="checkbox" name="viewed" value="viewed"> Viewed </label> </div> <div class="d2h-file-diff"> <div class="d2h-code-wrapper"> <table class="d2h-diff-table"> <tbody class="d2h-diff-tbody"> <tr> <td class="d2h-code-linenumber d2h-info"></td> <td class="d2h-info"> <div class="d2h-code-line">@@ -1,3 +0,0 @@</div> </td> </tr><tr> <td id="d2h-062392-5300" class="d2h-code-linenumber d2h-del"><a href="#d2h-062392-5300"> <div class="line-num1">1</div> <div class="line-num2"></div> </a></td> <td class="d2h-del"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn">RiderKick.setup do |config|</span> </div> </td> </tr><tr> <td id="d2h-062392-5311" class="d2h-code-linenumber d2h-del"><a href="#d2h-062392-5311"> <div class="line-num1">2</div> <div class="line-num2"></div> </a></td> <td class="d2h-del"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"> config.scope_owner_column = :organization_id</span> </div> </td> </tr><tr> <td id="d2h-062392-5322" class="d2h-code-linenumber d2h-del"><a href="#d2h-062392-5322"> <div class="line-num1">3</div> <div class="line-num2"></div> </a></td> <td class="d2h-del"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn">end</span> </div> </td> </tr> </tbody> </table> </div> </div> </div> <div id="d2h-100765" class="d2h-file-wrapper" data-lang="rb"> <div class="d2h-file-header"> <span class="d2h-file-name-wrapper"> <svg aria-hidden="true" class="d2h-icon" height="16" version="1.1" viewBox="0 0 12 16" width="12"> <path d="M6 5H2v-1h4v1zM2 8h7v-1H2v1z m0 2h7v-1H2v1z m0 2h7v-1H2v1z m10-7.5v9.5c0 0.55-0.45 1-1 1H1c-0.55 0-1-0.45-1-1V2c0-0.55 0.45-1 1-1h7.5l3.5 3.5z m-1 0.5L8 2H1v12h10V5z"></path> </svg> <span class="d2h-file-name"><a href="#d2h-100765">data/lib/rider_kick/configuration.rb</a></span> <span class="d2h-tag d2h-deleted d2h-deleted-tag">DELETED</span></span> <label class="d2h-file-collapse"> <input class="d2h-file-collapse-input" type="checkbox" name="viewed" value="viewed"> Viewed </label> </div> <div class="d2h-file-diff"> <div class="d2h-code-wrapper"> <table class="d2h-diff-table"> <tbody class="d2h-diff-tbody"> <tr> <td class="d2h-code-linenumber d2h-info"></td> <td class="d2h-info"> <div class="d2h-code-line">@@ -1,29 +0,0 @@</div> </td> </tr><tr> <td id="d2h-100765-5360" class="d2h-code-linenumber d2h-del"><a href="#d2h-100765-5360"> <div class="line-num1">1</div> <div class="line-num2"></div> </a></td> <td class="d2h-del"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"># frozen_string_literal: true</span> </div> </td> </tr><tr> <td id="d2h-100765-5371" class="d2h-code-linenumber d2h-del"><a href="#d2h-100765-5371"> <div class="line-num1">2</div> <div class="line-num2"></div> </a></td> <td class="d2h-del"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr><tr> <td id="d2h-100765-5382" class="d2h-code-linenumber d2h-del"><a href="#d2h-100765-5382"> <div class="line-num1">3</div> <div class="line-num2"></div> </a></td> <td class="d2h-del"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn">module RiderKick</span> </div> </td> </tr><tr> <td id="d2h-100765-5393" class="d2h-code-linenumber d2h-del"><a href="#d2h-100765-5393"> <div class="line-num1">4</div> <div class="line-num2"></div> </a></td> <td class="d2h-del"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"> module Configuration</span> </div> </td> </tr><tr> <td id="d2h-100765-5404" class="d2h-code-linenumber d2h-del"><a href="#d2h-100765-5404"> <div class="line-num1">5</div> <div class="line-num2"></div> </a></td> <td class="d2h-del"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"> def setup</span> </div> </td> </tr><tr> <td id="d2h-100765-5415" class="d2h-code-linenumber d2h-del"><a href="#d2h-100765-5415"> <div class="line-num1">6</div> <div class="line-num2"></div> </a></td> <td class="d2h-del"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"> yield self</span> </div> </td> </tr><tr> <td id="d2h-100765-5426" class="d2h-code-linenumber d2h-del"><a href="#d2h-100765-5426"> <div class="line-num1">7</div> <div class="line-num2"></div> </a></td> <td class="d2h-del"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"> end</span> </div> </td> </tr><tr> <td id="d2h-100765-5437" class="d2h-code-linenumber d2h-del"><a href="#d2h-100765-5437"> <div class="line-num1">8</div> <div class="line-num2"></div> </a></td> <td class="d2h-del"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr><tr> <td id="d2h-100765-5448" class="d2h-code-linenumber d2h-del"><a href="#d2h-100765-5448"> <div class="line-num1">9</div> <div class="line-num2"></div> </a></td> <td class="d2h-del"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"> def define_setting(name, default = nil)</span> </div> </td> </tr><tr> <td id="d2h-100765-5459" class="d2h-code-linenumber d2h-del"><a href="#d2h-100765-5459"> <div class="line-num1">10</div> <div class="line-num2"></div> </a></td> <td class="d2h-del"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"> class_variable_set("@@#{name}", default)</span> </div> </td> </tr><tr> <td id="d2h-100765-5470" class="d2h-code-linenumber d2h-del"><a href="#d2h-100765-5470"> <div class="line-num1">11</div> <div class="line-num2"></div> </a></td> <td class="d2h-del"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr><tr> <td id="d2h-100765-5481" class="d2h-code-linenumber d2h-del"><a href="#d2h-100765-5481"> <div class="line-num1">12</div> <div class="line-num2"></div> </a></td> <td class="d2h-del"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"> define_class_method "#{name}=" do |value|</span> </div> </td> </tr><tr> <td id="d2h-100765-5492" class="d2h-code-linenumber d2h-del"><a href="#d2h-100765-5492"> <div class="line-num1">13</div> <div class="line-num2"></div> </a></td> <td class="d2h-del"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"> class_variable_set("@@#{name}", value)</span> </div> </td> </tr><tr> <td id="d2h-100765-5503" class="d2h-code-linenumber d2h-del"><a href="#d2h-100765-5503"> <div class="line-num1">14</div> <div class="line-num2"></div> </a></td> <td class="d2h-del"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"> end</span> </div> </td> </tr><tr> <td id="d2h-100765-5514" class="d2h-code-linenumber d2h-del"><a href="#d2h-100765-5514"> <div class="line-num1">15</div> <div class="line-num2"></div> </a></td> <td class="d2h-del"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr><tr> <td id="d2h-100765-5525" class="d2h-code-linenumber d2h-del"><a href="#d2h-100765-5525"> <div class="line-num1">16</div> <div class="line-num2"></div> </a></td> <td class="d2h-del"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"> define_class_method name do</span> </div> </td> </tr><tr> <td id="d2h-100765-5536" class="d2h-code-linenumber d2h-del"><a href="#d2h-100765-5536"> <div class="line-num1">17</div> <div class="line-num2"></div> </a></td> <td class="d2h-del"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"> class_variable_get("@@#{name}")</span> </div> </td> </tr><tr> <td id="d2h-100765-5547" class="d2h-code-linenumber d2h-del"><a href="#d2h-100765-5547"> <div class="line-num1">18</div> <div class="line-num2"></div> </a></td> <td class="d2h-del"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"> end</span> </div> </td> </tr><tr> <td id="d2h-100765-5558" class="d2h-code-linenumber d2h-del"><a href="#d2h-100765-5558"> <div class="line-num1">19</div> <div class="line-num2"></div> </a></td> <td class="d2h-del"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"> end</span> </div> </td> </tr><tr> <td id="d2h-100765-5569" class="d2h-code-linenumber d2h-del"><a href="#d2h-100765-5569"> <div class="line-num1">20</div> <div class="line-num2"></div> </a></td> <td class="d2h-del"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr><tr> <td id="d2h-100765-5580" class="d2h-code-linenumber d2h-del"><a href="#d2h-100765-5580"> <div class="line-num1">21</div> <div class="line-num2"></div> </a></td> <td class="d2h-del"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"> private</span> </div> </td> </tr><tr> <td id="d2h-100765-5591" class="d2h-code-linenumber d2h-del"><a href="#d2h-100765-5591"> <div class="line-num1">22</div> <div class="line-num2"></div> </a></td> <td class="d2h-del"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr><tr> <td id="d2h-100765-5602" class="d2h-code-linenumber d2h-del"><a href="#d2h-100765-5602"> <div class="line-num1">23</div> <div class="line-num2"></div> </a></td> <td class="d2h-del"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"> def define_class_method(name, &block)</span> </div> </td> </tr><tr> <td id="d2h-100765-5613" class="d2h-code-linenumber d2h-del"><a href="#d2h-100765-5613"> <div class="line-num1">24</div> <div class="line-num2"></div> </a></td> <td class="d2h-del"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"> (class << self; self; end).instance_eval do</span> </div> </td> </tr><tr> <td id="d2h-100765-5624" class="d2h-code-linenumber d2h-del"><a href="#d2h-100765-5624"> <div class="line-num1">25</div> <div class="line-num2"></div> </a></td> <td class="d2h-del"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"> define_method name, &block</span> </div> </td> </tr><tr> <td id="d2h-100765-5635" class="d2h-code-linenumber d2h-del"><a href="#d2h-100765-5635"> <div class="line-num1">26</div> <div class="line-num2"></div> </a></td> <td class="d2h-del"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"> end</span> </div> </td> </tr><tr> <td id="d2h-100765-5646" class="d2h-code-linenumber d2h-del"><a href="#d2h-100765-5646"> <div class="line-num1">27</div> <div class="line-num2"></div> </a></td> <td class="d2h-del"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"> end</span> </div> </td> </tr><tr> <td id="d2h-100765-5657" class="d2h-code-linenumber d2h-del"><a href="#d2h-100765-5657"> <div class="line-num1">28</div> <div class="line-num2"></div> </a></td> <td class="d2h-del"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"> end</span> </div> </td> </tr><tr> <td id="d2h-100765-5668" class="d2h-code-linenumber d2h-del"><a href="#d2h-100765-5668"> <div class="line-num1">29</div> <div class="line-num2"></div> </a></td> <td class="d2h-del"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn">end</span> </div> </td> </tr> </tbody> </table> </div> </div> </div> </div> </div> </div> </div> </div> <footer class='sticky-footer mt-3'> <div class='container text-center mb-3 copyright'> <a class='mr-4 text-gray-600' href='mailto:diffend@whitesourcesoftware.com'> Contact Us </a> <a class='mr-4 text-gray-600' href='https://www.whitesourcesoftware.com/terms-of-service/'> Terms of Service </a> <a class='mr-4 text-gray-600' href='https://www.whitesourcesoftware.com/privacy-policy/'> Privacy Policy </a> <a class='mr-4 text-gray-600' href='https://diffend.io/docs'> Docs </a> </div> <div class='container mt-4'> <div class='copyright text-center'> Copyright © 2024 Mend Software </div> </div> </footer> </div> </div> </div> </body> </html>