recommender 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.rspec +3 -0
- data/CHANGELOG.md +5 -0
- data/CODE_OF_CONDUCT.md +84 -0
- data/LICENSE.txt +21 -0
- data/README.md +39 -0
- data/Rakefile +10 -0
- data/lib/recommender/recommendation.rb +79 -0
- data/lib/recommender/version.rb +5 -0
- data/lib/recommender.rb +10 -0
- data/sig/recommender.rbs +4 -0
- data/spec/factories/albums.rb +23 -0
- data/spec/factories/movie_likes.rb +8 -0
- data/spec/factories/movies.rb +7 -0
- data/spec/factories/users.rb +27 -0
- data/spec/recommender/recommendation_spec.rb +99 -0
- data/spec/spec_helper.rb +43 -0
- data/spec/test_app/Dockerfile +58 -0
- data/spec/test_app/Gemfile +41 -0
- data/spec/test_app/Gemfile.lock +240 -0
- data/spec/test_app/Rakefile +6 -0
- data/spec/test_app/app/assets/config/manifest.js +2 -0
- data/spec/test_app/app/assets/stylesheets/application.css +15 -0
- data/spec/test_app/app/controllers/application_controller.rb +2 -0
- data/spec/test_app/app/helpers/application_helper.rb +2 -0
- data/spec/test_app/app/jobs/application_job.rb +7 -0
- data/spec/test_app/app/models/album.rb +8 -0
- data/spec/test_app/app/models/application_record.rb +3 -0
- data/spec/test_app/app/models/movie.rb +7 -0
- data/spec/test_app/app/models/movie_like.rb +4 -0
- data/spec/test_app/app/models/user.rb +10 -0
- data/spec/test_app/app/views/layouts/application.html.erb +15 -0
- data/spec/test_app/bin/bundle +109 -0
- data/spec/test_app/bin/docker-entrypoint +8 -0
- data/spec/test_app/bin/rails +4 -0
- data/spec/test_app/bin/rake +4 -0
- data/spec/test_app/bin/setup +33 -0
- data/spec/test_app/config/application.rb +42 -0
- data/spec/test_app/config/boot.rb +3 -0
- data/spec/test_app/config/credentials.yml.enc +1 -0
- data/spec/test_app/config/database.yml +84 -0
- data/spec/test_app/config/environment.rb +5 -0
- data/spec/test_app/config/environments/development.rb +65 -0
- data/spec/test_app/config/environments/production.rb +83 -0
- data/spec/test_app/config/environments/test.rb +54 -0
- data/spec/test_app/config/initializers/assets.rb +12 -0
- data/spec/test_app/config/initializers/content_security_policy.rb +25 -0
- data/spec/test_app/config/initializers/filter_parameter_logging.rb +8 -0
- data/spec/test_app/config/initializers/inflections.rb +16 -0
- data/spec/test_app/config/initializers/permissions_policy.rb +13 -0
- data/spec/test_app/config/locales/en.yml +31 -0
- data/spec/test_app/config/master.key +1 -0
- data/spec/test_app/config/puma.rb +35 -0
- data/spec/test_app/config/routes.rb +10 -0
- data/spec/test_app/config.ru +6 -0
- data/spec/test_app/db/migrate/20240619132144_create_users.rb +9 -0
- data/spec/test_app/db/migrate/20240619132155_create_movies.rb +9 -0
- data/spec/test_app/db/migrate/20240619190825_create_movie_likes.rb +10 -0
- data/spec/test_app/db/migrate/20240620062947_add_unique_index_to_movies.rb +5 -0
- data/spec/test_app/db/migrate/20240620063520_change_name_column_null_on_movies.rb +5 -0
- data/spec/test_app/db/migrate/20240620063651_change_name_column_null_on_users.rb +5 -0
- data/spec/test_app/db/migrate/20240620063952_add_unique_index_to_users.rb +5 -0
- data/spec/test_app/db/migrate/20240621102016_create_albums.rb +10 -0
- data/spec/test_app/db/migrate/20240621102359_create_join_table_album_user.rb +8 -0
- data/spec/test_app/db/migrate/20240621102813_change_column_null_on_albums.rb +5 -0
- data/spec/test_app/db/schema.rb +56 -0
- data/spec/test_app/db/seeds.rb +9 -0
- data/spec/test_app/log/development.log +23616 -0
- data/spec/test_app/log/test.log +0 -0
- data/spec/test_app/public/404.html +67 -0
- data/spec/test_app/public/422.html +67 -0
- data/spec/test_app/public/500.html +66 -0
- data/spec/test_app/public/apple-touch-icon-precomposed.png +0 -0
- data/spec/test_app/public/apple-touch-icon.png +0 -0
- data/spec/test_app/public/favicon.ico +0 -0
- data/spec/test_app/public/robots.txt +1 -0
- data/spec/test_app/tmp/local_secret.txt +1 -0
- data/spec/test_app/tmp/restart.txt +0 -0
- metadata +304 -0
| 
            File without changes
         | 
| @@ -0,0 +1,67 @@ | |
| 1 | 
            +
            <!DOCTYPE html>
         | 
| 2 | 
            +
            <html>
         | 
| 3 | 
            +
            <head>
         | 
| 4 | 
            +
              <title>The page you were looking for doesn't exist (404)</title>
         | 
| 5 | 
            +
              <meta name="viewport" content="width=device-width,initial-scale=1">
         | 
| 6 | 
            +
              <style>
         | 
| 7 | 
            +
              .rails-default-error-page {
         | 
| 8 | 
            +
                background-color: #EFEFEF;
         | 
| 9 | 
            +
                color: #2E2F30;
         | 
| 10 | 
            +
                text-align: center;
         | 
| 11 | 
            +
                font-family: arial, sans-serif;
         | 
| 12 | 
            +
                margin: 0;
         | 
| 13 | 
            +
              }
         | 
| 14 | 
            +
             | 
| 15 | 
            +
              .rails-default-error-page div.dialog {
         | 
| 16 | 
            +
                width: 95%;
         | 
| 17 | 
            +
                max-width: 33em;
         | 
| 18 | 
            +
                margin: 4em auto 0;
         | 
| 19 | 
            +
              }
         | 
| 20 | 
            +
             | 
| 21 | 
            +
              .rails-default-error-page div.dialog > div {
         | 
| 22 | 
            +
                border: 1px solid #CCC;
         | 
| 23 | 
            +
                border-right-color: #999;
         | 
| 24 | 
            +
                border-left-color: #999;
         | 
| 25 | 
            +
                border-bottom-color: #BBB;
         | 
| 26 | 
            +
                border-top: #B00100 solid 4px;
         | 
| 27 | 
            +
                border-top-left-radius: 9px;
         | 
| 28 | 
            +
                border-top-right-radius: 9px;
         | 
| 29 | 
            +
                background-color: white;
         | 
| 30 | 
            +
                padding: 7px 12% 0;
         | 
| 31 | 
            +
                box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
         | 
| 32 | 
            +
              }
         | 
| 33 | 
            +
             | 
| 34 | 
            +
              .rails-default-error-page h1 {
         | 
| 35 | 
            +
                font-size: 100%;
         | 
| 36 | 
            +
                color: #730E15;
         | 
| 37 | 
            +
                line-height: 1.5em;
         | 
| 38 | 
            +
              }
         | 
| 39 | 
            +
             | 
| 40 | 
            +
              .rails-default-error-page div.dialog > p {
         | 
| 41 | 
            +
                margin: 0 0 1em;
         | 
| 42 | 
            +
                padding: 1em;
         | 
| 43 | 
            +
                background-color: #F7F7F7;
         | 
| 44 | 
            +
                border: 1px solid #CCC;
         | 
| 45 | 
            +
                border-right-color: #999;
         | 
| 46 | 
            +
                border-left-color: #999;
         | 
| 47 | 
            +
                border-bottom-color: #999;
         | 
| 48 | 
            +
                border-bottom-left-radius: 4px;
         | 
| 49 | 
            +
                border-bottom-right-radius: 4px;
         | 
| 50 | 
            +
                border-top-color: #DADADA;
         | 
| 51 | 
            +
                color: #666;
         | 
| 52 | 
            +
                box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
         | 
| 53 | 
            +
              }
         | 
| 54 | 
            +
              </style>
         | 
| 55 | 
            +
            </head>
         | 
| 56 | 
            +
             | 
| 57 | 
            +
            <body class="rails-default-error-page">
         | 
| 58 | 
            +
              <!-- This file lives in public/404.html -->
         | 
| 59 | 
            +
              <div class="dialog">
         | 
| 60 | 
            +
                <div>
         | 
| 61 | 
            +
                  <h1>The page you were looking for doesn't exist.</h1>
         | 
| 62 | 
            +
                  <p>You may have mistyped the address or the page may have moved.</p>
         | 
| 63 | 
            +
                </div>
         | 
| 64 | 
            +
                <p>If you are the application owner check the logs for more information.</p>
         | 
| 65 | 
            +
              </div>
         | 
| 66 | 
            +
            </body>
         | 
| 67 | 
            +
            </html>
         | 
| @@ -0,0 +1,67 @@ | |
| 1 | 
            +
            <!DOCTYPE html>
         | 
| 2 | 
            +
            <html>
         | 
| 3 | 
            +
            <head>
         | 
| 4 | 
            +
              <title>The change you wanted was rejected (422)</title>
         | 
| 5 | 
            +
              <meta name="viewport" content="width=device-width,initial-scale=1">
         | 
| 6 | 
            +
              <style>
         | 
| 7 | 
            +
              .rails-default-error-page {
         | 
| 8 | 
            +
                background-color: #EFEFEF;
         | 
| 9 | 
            +
                color: #2E2F30;
         | 
| 10 | 
            +
                text-align: center;
         | 
| 11 | 
            +
                font-family: arial, sans-serif;
         | 
| 12 | 
            +
                margin: 0;
         | 
| 13 | 
            +
              }
         | 
| 14 | 
            +
             | 
| 15 | 
            +
              .rails-default-error-page div.dialog {
         | 
| 16 | 
            +
                width: 95%;
         | 
| 17 | 
            +
                max-width: 33em;
         | 
| 18 | 
            +
                margin: 4em auto 0;
         | 
| 19 | 
            +
              }
         | 
| 20 | 
            +
             | 
| 21 | 
            +
              .rails-default-error-page div.dialog > div {
         | 
| 22 | 
            +
                border: 1px solid #CCC;
         | 
| 23 | 
            +
                border-right-color: #999;
         | 
| 24 | 
            +
                border-left-color: #999;
         | 
| 25 | 
            +
                border-bottom-color: #BBB;
         | 
| 26 | 
            +
                border-top: #B00100 solid 4px;
         | 
| 27 | 
            +
                border-top-left-radius: 9px;
         | 
| 28 | 
            +
                border-top-right-radius: 9px;
         | 
| 29 | 
            +
                background-color: white;
         | 
| 30 | 
            +
                padding: 7px 12% 0;
         | 
| 31 | 
            +
                box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
         | 
| 32 | 
            +
              }
         | 
| 33 | 
            +
             | 
| 34 | 
            +
              .rails-default-error-page h1 {
         | 
| 35 | 
            +
                font-size: 100%;
         | 
| 36 | 
            +
                color: #730E15;
         | 
| 37 | 
            +
                line-height: 1.5em;
         | 
| 38 | 
            +
              }
         | 
| 39 | 
            +
             | 
| 40 | 
            +
              .rails-default-error-page div.dialog > p {
         | 
| 41 | 
            +
                margin: 0 0 1em;
         | 
| 42 | 
            +
                padding: 1em;
         | 
| 43 | 
            +
                background-color: #F7F7F7;
         | 
| 44 | 
            +
                border: 1px solid #CCC;
         | 
| 45 | 
            +
                border-right-color: #999;
         | 
| 46 | 
            +
                border-left-color: #999;
         | 
| 47 | 
            +
                border-bottom-color: #999;
         | 
| 48 | 
            +
                border-bottom-left-radius: 4px;
         | 
| 49 | 
            +
                border-bottom-right-radius: 4px;
         | 
| 50 | 
            +
                border-top-color: #DADADA;
         | 
| 51 | 
            +
                color: #666;
         | 
| 52 | 
            +
                box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
         | 
| 53 | 
            +
              }
         | 
| 54 | 
            +
              </style>
         | 
| 55 | 
            +
            </head>
         | 
| 56 | 
            +
             | 
| 57 | 
            +
            <body class="rails-default-error-page">
         | 
| 58 | 
            +
              <!-- This file lives in public/422.html -->
         | 
| 59 | 
            +
              <div class="dialog">
         | 
| 60 | 
            +
                <div>
         | 
| 61 | 
            +
                  <h1>The change you wanted was rejected.</h1>
         | 
| 62 | 
            +
                  <p>Maybe you tried to change something you didn't have access to.</p>
         | 
| 63 | 
            +
                </div>
         | 
| 64 | 
            +
                <p>If you are the application owner check the logs for more information.</p>
         | 
| 65 | 
            +
              </div>
         | 
| 66 | 
            +
            </body>
         | 
| 67 | 
            +
            </html>
         | 
| @@ -0,0 +1,66 @@ | |
| 1 | 
            +
            <!DOCTYPE html>
         | 
| 2 | 
            +
            <html>
         | 
| 3 | 
            +
            <head>
         | 
| 4 | 
            +
              <title>We're sorry, but something went wrong (500)</title>
         | 
| 5 | 
            +
              <meta name="viewport" content="width=device-width,initial-scale=1">
         | 
| 6 | 
            +
              <style>
         | 
| 7 | 
            +
              .rails-default-error-page {
         | 
| 8 | 
            +
                background-color: #EFEFEF;
         | 
| 9 | 
            +
                color: #2E2F30;
         | 
| 10 | 
            +
                text-align: center;
         | 
| 11 | 
            +
                font-family: arial, sans-serif;
         | 
| 12 | 
            +
                margin: 0;
         | 
| 13 | 
            +
              }
         | 
| 14 | 
            +
             | 
| 15 | 
            +
              .rails-default-error-page div.dialog {
         | 
| 16 | 
            +
                width: 95%;
         | 
| 17 | 
            +
                max-width: 33em;
         | 
| 18 | 
            +
                margin: 4em auto 0;
         | 
| 19 | 
            +
              }
         | 
| 20 | 
            +
             | 
| 21 | 
            +
              .rails-default-error-page div.dialog > div {
         | 
| 22 | 
            +
                border: 1px solid #CCC;
         | 
| 23 | 
            +
                border-right-color: #999;
         | 
| 24 | 
            +
                border-left-color: #999;
         | 
| 25 | 
            +
                border-bottom-color: #BBB;
         | 
| 26 | 
            +
                border-top: #B00100 solid 4px;
         | 
| 27 | 
            +
                border-top-left-radius: 9px;
         | 
| 28 | 
            +
                border-top-right-radius: 9px;
         | 
| 29 | 
            +
                background-color: white;
         | 
| 30 | 
            +
                padding: 7px 12% 0;
         | 
| 31 | 
            +
                box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
         | 
| 32 | 
            +
              }
         | 
| 33 | 
            +
             | 
| 34 | 
            +
              .rails-default-error-page h1 {
         | 
| 35 | 
            +
                font-size: 100%;
         | 
| 36 | 
            +
                color: #730E15;
         | 
| 37 | 
            +
                line-height: 1.5em;
         | 
| 38 | 
            +
              }
         | 
| 39 | 
            +
             | 
| 40 | 
            +
              .rails-default-error-page div.dialog > p {
         | 
| 41 | 
            +
                margin: 0 0 1em;
         | 
| 42 | 
            +
                padding: 1em;
         | 
| 43 | 
            +
                background-color: #F7F7F7;
         | 
| 44 | 
            +
                border: 1px solid #CCC;
         | 
| 45 | 
            +
                border-right-color: #999;
         | 
| 46 | 
            +
                border-left-color: #999;
         | 
| 47 | 
            +
                border-bottom-color: #999;
         | 
| 48 | 
            +
                border-bottom-left-radius: 4px;
         | 
| 49 | 
            +
                border-bottom-right-radius: 4px;
         | 
| 50 | 
            +
                border-top-color: #DADADA;
         | 
| 51 | 
            +
                color: #666;
         | 
| 52 | 
            +
                box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
         | 
| 53 | 
            +
              }
         | 
| 54 | 
            +
              </style>
         | 
| 55 | 
            +
            </head>
         | 
| 56 | 
            +
             | 
| 57 | 
            +
            <body class="rails-default-error-page">
         | 
| 58 | 
            +
              <!-- This file lives in public/500.html -->
         | 
| 59 | 
            +
              <div class="dialog">
         | 
| 60 | 
            +
                <div>
         | 
| 61 | 
            +
                  <h1>We're sorry, but something went wrong.</h1>
         | 
| 62 | 
            +
                </div>
         | 
| 63 | 
            +
                <p>If you are the application owner check the logs for more information.</p>
         | 
| 64 | 
            +
              </div>
         | 
| 65 | 
            +
            </body>
         | 
| 66 | 
            +
            </html>
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| @@ -0,0 +1 @@ | |
| 1 | 
            +
            # See https://www.robotstxt.org/robotstxt.html for documentation on how to use the robots.txt file
         | 
| @@ -0,0 +1 @@ | |
| 1 | 
            +
            540eede6493865f101b18743aeee0836f7e31eb52a33074fff0cca0745ab624d2d1f2c07bf351a92bd05a8877d65306447bf0e29431f4f3706ed2f923277a529
         | 
| 
            File without changes
         | 
    
        metadata
    ADDED
    
    | @@ -0,0 +1,304 @@ | |
| 1 | 
            +
            --- !ruby/object:Gem::Specification
         | 
| 2 | 
            +
            name: recommender
         | 
| 3 | 
            +
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            +
              version: 0.1.0
         | 
| 5 | 
            +
            platform: ruby
         | 
| 6 | 
            +
            authors:
         | 
| 7 | 
            +
            - Mutuba
         | 
| 8 | 
            +
            autorequire:
         | 
| 9 | 
            +
            bindir: exe
         | 
| 10 | 
            +
            cert_chain: []
         | 
| 11 | 
            +
            date: 2024-06-21 00:00:00.000000000 Z
         | 
| 12 | 
            +
            dependencies:
         | 
| 13 | 
            +
            - !ruby/object:Gem::Dependency
         | 
| 14 | 
            +
              name: activesupport
         | 
| 15 | 
            +
              requirement: !ruby/object:Gem::Requirement
         | 
| 16 | 
            +
                requirements:
         | 
| 17 | 
            +
                - - ">="
         | 
| 18 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 19 | 
            +
                    version: 3.0.0
         | 
| 20 | 
            +
              type: :runtime
         | 
| 21 | 
            +
              prerelease: false
         | 
| 22 | 
            +
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 23 | 
            +
                requirements:
         | 
| 24 | 
            +
                - - ">="
         | 
| 25 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 26 | 
            +
                    version: 3.0.0
         | 
| 27 | 
            +
            - !ruby/object:Gem::Dependency
         | 
| 28 | 
            +
              name: rspec
         | 
| 29 | 
            +
              requirement: !ruby/object:Gem::Requirement
         | 
| 30 | 
            +
                requirements:
         | 
| 31 | 
            +
                - - "~>"
         | 
| 32 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 33 | 
            +
                    version: 3.9.0
         | 
| 34 | 
            +
              type: :development
         | 
| 35 | 
            +
              prerelease: false
         | 
| 36 | 
            +
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 37 | 
            +
                requirements:
         | 
| 38 | 
            +
                - - "~>"
         | 
| 39 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 40 | 
            +
                    version: 3.9.0
         | 
| 41 | 
            +
            - !ruby/object:Gem::Dependency
         | 
| 42 | 
            +
              name: pg
         | 
| 43 | 
            +
              requirement: !ruby/object:Gem::Requirement
         | 
| 44 | 
            +
                requirements:
         | 
| 45 | 
            +
                - - "~>"
         | 
| 46 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 47 | 
            +
                    version: '1.1'
         | 
| 48 | 
            +
              type: :development
         | 
| 49 | 
            +
              prerelease: false
         | 
| 50 | 
            +
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 51 | 
            +
                requirements:
         | 
| 52 | 
            +
                - - "~>"
         | 
| 53 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 54 | 
            +
                    version: '1.1'
         | 
| 55 | 
            +
            - !ruby/object:Gem::Dependency
         | 
| 56 | 
            +
              name: factory_bot_rails
         | 
| 57 | 
            +
              requirement: !ruby/object:Gem::Requirement
         | 
| 58 | 
            +
                requirements:
         | 
| 59 | 
            +
                - - "~>"
         | 
| 60 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 61 | 
            +
                    version: '6.2'
         | 
| 62 | 
            +
              type: :development
         | 
| 63 | 
            +
              prerelease: false
         | 
| 64 | 
            +
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 65 | 
            +
                requirements:
         | 
| 66 | 
            +
                - - "~>"
         | 
| 67 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 68 | 
            +
                    version: '6.2'
         | 
| 69 | 
            +
            - !ruby/object:Gem::Dependency
         | 
| 70 | 
            +
              name: rails
         | 
| 71 | 
            +
              requirement: !ruby/object:Gem::Requirement
         | 
| 72 | 
            +
                requirements:
         | 
| 73 | 
            +
                - - "~>"
         | 
| 74 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 75 | 
            +
                    version: 7.1.3
         | 
| 76 | 
            +
              type: :runtime
         | 
| 77 | 
            +
              prerelease: false
         | 
| 78 | 
            +
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 79 | 
            +
                requirements:
         | 
| 80 | 
            +
                - - "~>"
         | 
| 81 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 82 | 
            +
                    version: 7.1.3
         | 
| 83 | 
            +
            - !ruby/object:Gem::Dependency
         | 
| 84 | 
            +
              name: database_cleaner-active_record
         | 
| 85 | 
            +
              requirement: !ruby/object:Gem::Requirement
         | 
| 86 | 
            +
                requirements:
         | 
| 87 | 
            +
                - - ">="
         | 
| 88 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 89 | 
            +
                    version: '0'
         | 
| 90 | 
            +
              type: :runtime
         | 
| 91 | 
            +
              prerelease: false
         | 
| 92 | 
            +
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 93 | 
            +
                requirements:
         | 
| 94 | 
            +
                - - ">="
         | 
| 95 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 96 | 
            +
                    version: '0'
         | 
| 97 | 
            +
            - !ruby/object:Gem::Dependency
         | 
| 98 | 
            +
              name: pry-rails
         | 
| 99 | 
            +
              requirement: !ruby/object:Gem::Requirement
         | 
| 100 | 
            +
                requirements:
         | 
| 101 | 
            +
                - - ">="
         | 
| 102 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 103 | 
            +
                    version: '0'
         | 
| 104 | 
            +
              type: :runtime
         | 
| 105 | 
            +
              prerelease: false
         | 
| 106 | 
            +
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 107 | 
            +
                requirements:
         | 
| 108 | 
            +
                - - ">="
         | 
| 109 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 110 | 
            +
                    version: '0'
         | 
| 111 | 
            +
            - !ruby/object:Gem::Dependency
         | 
| 112 | 
            +
              name: faker
         | 
| 113 | 
            +
              requirement: !ruby/object:Gem::Requirement
         | 
| 114 | 
            +
                requirements:
         | 
| 115 | 
            +
                - - "~>"
         | 
| 116 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 117 | 
            +
                    version: '2.21'
         | 
| 118 | 
            +
              type: :runtime
         | 
| 119 | 
            +
              prerelease: false
         | 
| 120 | 
            +
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 121 | 
            +
                requirements:
         | 
| 122 | 
            +
                - - "~>"
         | 
| 123 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 124 | 
            +
                    version: '2.21'
         | 
| 125 | 
            +
            description: This gem provides recommendations by calculating similarity scores using
         | 
| 126 | 
            +
              the Jaccard Index, Dice-Sørensen Coefficient, and collaborative filtering.
         | 
| 127 | 
            +
            email:
         | 
| 128 | 
            +
            - danielmutubait@gmail.com
         | 
| 129 | 
            +
            executables: []
         | 
| 130 | 
            +
            extensions: []
         | 
| 131 | 
            +
            extra_rdoc_files: []
         | 
| 132 | 
            +
            files:
         | 
| 133 | 
            +
            - ".rspec"
         | 
| 134 | 
            +
            - CHANGELOG.md
         | 
| 135 | 
            +
            - CODE_OF_CONDUCT.md
         | 
| 136 | 
            +
            - LICENSE.txt
         | 
| 137 | 
            +
            - README.md
         | 
| 138 | 
            +
            - Rakefile
         | 
| 139 | 
            +
            - lib/recommender.rb
         | 
| 140 | 
            +
            - lib/recommender/recommendation.rb
         | 
| 141 | 
            +
            - lib/recommender/version.rb
         | 
| 142 | 
            +
            - sig/recommender.rbs
         | 
| 143 | 
            +
            - spec/factories/albums.rb
         | 
| 144 | 
            +
            - spec/factories/movie_likes.rb
         | 
| 145 | 
            +
            - spec/factories/movies.rb
         | 
| 146 | 
            +
            - spec/factories/users.rb
         | 
| 147 | 
            +
            - spec/recommender/recommendation_spec.rb
         | 
| 148 | 
            +
            - spec/spec_helper.rb
         | 
| 149 | 
            +
            - spec/test_app/Dockerfile
         | 
| 150 | 
            +
            - spec/test_app/Gemfile
         | 
| 151 | 
            +
            - spec/test_app/Gemfile.lock
         | 
| 152 | 
            +
            - spec/test_app/Rakefile
         | 
| 153 | 
            +
            - spec/test_app/app/assets/config/manifest.js
         | 
| 154 | 
            +
            - spec/test_app/app/assets/stylesheets/application.css
         | 
| 155 | 
            +
            - spec/test_app/app/controllers/application_controller.rb
         | 
| 156 | 
            +
            - spec/test_app/app/helpers/application_helper.rb
         | 
| 157 | 
            +
            - spec/test_app/app/jobs/application_job.rb
         | 
| 158 | 
            +
            - spec/test_app/app/models/album.rb
         | 
| 159 | 
            +
            - spec/test_app/app/models/application_record.rb
         | 
| 160 | 
            +
            - spec/test_app/app/models/movie.rb
         | 
| 161 | 
            +
            - spec/test_app/app/models/movie_like.rb
         | 
| 162 | 
            +
            - spec/test_app/app/models/user.rb
         | 
| 163 | 
            +
            - spec/test_app/app/views/layouts/application.html.erb
         | 
| 164 | 
            +
            - spec/test_app/bin/bundle
         | 
| 165 | 
            +
            - spec/test_app/bin/docker-entrypoint
         | 
| 166 | 
            +
            - spec/test_app/bin/rails
         | 
| 167 | 
            +
            - spec/test_app/bin/rake
         | 
| 168 | 
            +
            - spec/test_app/bin/setup
         | 
| 169 | 
            +
            - spec/test_app/config.ru
         | 
| 170 | 
            +
            - spec/test_app/config/application.rb
         | 
| 171 | 
            +
            - spec/test_app/config/boot.rb
         | 
| 172 | 
            +
            - spec/test_app/config/credentials.yml.enc
         | 
| 173 | 
            +
            - spec/test_app/config/database.yml
         | 
| 174 | 
            +
            - spec/test_app/config/environment.rb
         | 
| 175 | 
            +
            - spec/test_app/config/environments/development.rb
         | 
| 176 | 
            +
            - spec/test_app/config/environments/production.rb
         | 
| 177 | 
            +
            - spec/test_app/config/environments/test.rb
         | 
| 178 | 
            +
            - spec/test_app/config/initializers/assets.rb
         | 
| 179 | 
            +
            - spec/test_app/config/initializers/content_security_policy.rb
         | 
| 180 | 
            +
            - spec/test_app/config/initializers/filter_parameter_logging.rb
         | 
| 181 | 
            +
            - spec/test_app/config/initializers/inflections.rb
         | 
| 182 | 
            +
            - spec/test_app/config/initializers/permissions_policy.rb
         | 
| 183 | 
            +
            - spec/test_app/config/locales/en.yml
         | 
| 184 | 
            +
            - spec/test_app/config/master.key
         | 
| 185 | 
            +
            - spec/test_app/config/puma.rb
         | 
| 186 | 
            +
            - spec/test_app/config/routes.rb
         | 
| 187 | 
            +
            - spec/test_app/db/migrate/20240619132144_create_users.rb
         | 
| 188 | 
            +
            - spec/test_app/db/migrate/20240619132155_create_movies.rb
         | 
| 189 | 
            +
            - spec/test_app/db/migrate/20240619190825_create_movie_likes.rb
         | 
| 190 | 
            +
            - spec/test_app/db/migrate/20240620062947_add_unique_index_to_movies.rb
         | 
| 191 | 
            +
            - spec/test_app/db/migrate/20240620063520_change_name_column_null_on_movies.rb
         | 
| 192 | 
            +
            - spec/test_app/db/migrate/20240620063651_change_name_column_null_on_users.rb
         | 
| 193 | 
            +
            - spec/test_app/db/migrate/20240620063952_add_unique_index_to_users.rb
         | 
| 194 | 
            +
            - spec/test_app/db/migrate/20240621102016_create_albums.rb
         | 
| 195 | 
            +
            - spec/test_app/db/migrate/20240621102359_create_join_table_album_user.rb
         | 
| 196 | 
            +
            - spec/test_app/db/migrate/20240621102813_change_column_null_on_albums.rb
         | 
| 197 | 
            +
            - spec/test_app/db/schema.rb
         | 
| 198 | 
            +
            - spec/test_app/db/seeds.rb
         | 
| 199 | 
            +
            - spec/test_app/log/development.log
         | 
| 200 | 
            +
            - spec/test_app/log/test.log
         | 
| 201 | 
            +
            - spec/test_app/public/404.html
         | 
| 202 | 
            +
            - spec/test_app/public/422.html
         | 
| 203 | 
            +
            - spec/test_app/public/500.html
         | 
| 204 | 
            +
            - spec/test_app/public/apple-touch-icon-precomposed.png
         | 
| 205 | 
            +
            - spec/test_app/public/apple-touch-icon.png
         | 
| 206 | 
            +
            - spec/test_app/public/favicon.ico
         | 
| 207 | 
            +
            - spec/test_app/public/robots.txt
         | 
| 208 | 
            +
            - spec/test_app/tmp/local_secret.txt
         | 
| 209 | 
            +
            - spec/test_app/tmp/restart.txt
         | 
| 210 | 
            +
            homepage: https://github.com/Mutuba/recommender
         | 
| 211 | 
            +
            licenses:
         | 
| 212 | 
            +
            - MIT
         | 
| 213 | 
            +
            metadata:
         | 
| 214 | 
            +
              allowed_push_host: https://rubygems.org
         | 
| 215 | 
            +
              homepage_uri: https://github.com/Mutuba/recommender
         | 
| 216 | 
            +
              source_code_uri: https://github.com/Mutuba/recommender
         | 
| 217 | 
            +
              changelog_uri: https://github.com/Mutuba/recommender/blob/main/CHANGELOG.md
         | 
| 218 | 
            +
            post_install_message:
         | 
| 219 | 
            +
            rdoc_options: []
         | 
| 220 | 
            +
            require_paths:
         | 
| 221 | 
            +
            - lib
         | 
| 222 | 
            +
            required_ruby_version: !ruby/object:Gem::Requirement
         | 
| 223 | 
            +
              requirements:
         | 
| 224 | 
            +
              - - ">="
         | 
| 225 | 
            +
                - !ruby/object:Gem::Version
         | 
| 226 | 
            +
                  version: 2.6.0
         | 
| 227 | 
            +
            required_rubygems_version: !ruby/object:Gem::Requirement
         | 
| 228 | 
            +
              requirements:
         | 
| 229 | 
            +
              - - ">="
         | 
| 230 | 
            +
                - !ruby/object:Gem::Version
         | 
| 231 | 
            +
                  version: '0'
         | 
| 232 | 
            +
            requirements: []
         | 
| 233 | 
            +
            rubygems_version: 3.4.10
         | 
| 234 | 
            +
            signing_key:
         | 
| 235 | 
            +
            specification_version: 4
         | 
| 236 | 
            +
            summary: A gem for providing recommendations using various similarity measures
         | 
| 237 | 
            +
            test_files:
         | 
| 238 | 
            +
            - spec/factories/albums.rb
         | 
| 239 | 
            +
            - spec/factories/movie_likes.rb
         | 
| 240 | 
            +
            - spec/factories/movies.rb
         | 
| 241 | 
            +
            - spec/factories/users.rb
         | 
| 242 | 
            +
            - spec/recommender/recommendation_spec.rb
         | 
| 243 | 
            +
            - spec/spec_helper.rb
         | 
| 244 | 
            +
            - spec/test_app/Dockerfile
         | 
| 245 | 
            +
            - spec/test_app/Gemfile
         | 
| 246 | 
            +
            - spec/test_app/Gemfile.lock
         | 
| 247 | 
            +
            - spec/test_app/Rakefile
         | 
| 248 | 
            +
            - spec/test_app/app/assets/config/manifest.js
         | 
| 249 | 
            +
            - spec/test_app/app/assets/stylesheets/application.css
         | 
| 250 | 
            +
            - spec/test_app/app/controllers/application_controller.rb
         | 
| 251 | 
            +
            - spec/test_app/app/helpers/application_helper.rb
         | 
| 252 | 
            +
            - spec/test_app/app/jobs/application_job.rb
         | 
| 253 | 
            +
            - spec/test_app/app/models/album.rb
         | 
| 254 | 
            +
            - spec/test_app/app/models/application_record.rb
         | 
| 255 | 
            +
            - spec/test_app/app/models/movie.rb
         | 
| 256 | 
            +
            - spec/test_app/app/models/movie_like.rb
         | 
| 257 | 
            +
            - spec/test_app/app/models/user.rb
         | 
| 258 | 
            +
            - spec/test_app/app/views/layouts/application.html.erb
         | 
| 259 | 
            +
            - spec/test_app/bin/bundle
         | 
| 260 | 
            +
            - spec/test_app/bin/docker-entrypoint
         | 
| 261 | 
            +
            - spec/test_app/bin/rails
         | 
| 262 | 
            +
            - spec/test_app/bin/rake
         | 
| 263 | 
            +
            - spec/test_app/bin/setup
         | 
| 264 | 
            +
            - spec/test_app/config/application.rb
         | 
| 265 | 
            +
            - spec/test_app/config/boot.rb
         | 
| 266 | 
            +
            - spec/test_app/config/credentials.yml.enc
         | 
| 267 | 
            +
            - spec/test_app/config/database.yml
         | 
| 268 | 
            +
            - spec/test_app/config/environment.rb
         | 
| 269 | 
            +
            - spec/test_app/config/environments/development.rb
         | 
| 270 | 
            +
            - spec/test_app/config/environments/production.rb
         | 
| 271 | 
            +
            - spec/test_app/config/environments/test.rb
         | 
| 272 | 
            +
            - spec/test_app/config/initializers/assets.rb
         | 
| 273 | 
            +
            - spec/test_app/config/initializers/content_security_policy.rb
         | 
| 274 | 
            +
            - spec/test_app/config/initializers/filter_parameter_logging.rb
         | 
| 275 | 
            +
            - spec/test_app/config/initializers/inflections.rb
         | 
| 276 | 
            +
            - spec/test_app/config/initializers/permissions_policy.rb
         | 
| 277 | 
            +
            - spec/test_app/config/locales/en.yml
         | 
| 278 | 
            +
            - spec/test_app/config/master.key
         | 
| 279 | 
            +
            - spec/test_app/config/puma.rb
         | 
| 280 | 
            +
            - spec/test_app/config/routes.rb
         | 
| 281 | 
            +
            - spec/test_app/config.ru
         | 
| 282 | 
            +
            - spec/test_app/db/migrate/20240619132144_create_users.rb
         | 
| 283 | 
            +
            - spec/test_app/db/migrate/20240619132155_create_movies.rb
         | 
| 284 | 
            +
            - spec/test_app/db/migrate/20240619190825_create_movie_likes.rb
         | 
| 285 | 
            +
            - spec/test_app/db/migrate/20240620062947_add_unique_index_to_movies.rb
         | 
| 286 | 
            +
            - spec/test_app/db/migrate/20240620063520_change_name_column_null_on_movies.rb
         | 
| 287 | 
            +
            - spec/test_app/db/migrate/20240620063651_change_name_column_null_on_users.rb
         | 
| 288 | 
            +
            - spec/test_app/db/migrate/20240620063952_add_unique_index_to_users.rb
         | 
| 289 | 
            +
            - spec/test_app/db/migrate/20240621102016_create_albums.rb
         | 
| 290 | 
            +
            - spec/test_app/db/migrate/20240621102359_create_join_table_album_user.rb
         | 
| 291 | 
            +
            - spec/test_app/db/migrate/20240621102813_change_column_null_on_albums.rb
         | 
| 292 | 
            +
            - spec/test_app/db/schema.rb
         | 
| 293 | 
            +
            - spec/test_app/db/seeds.rb
         | 
| 294 | 
            +
            - spec/test_app/log/development.log
         | 
| 295 | 
            +
            - spec/test_app/log/test.log
         | 
| 296 | 
            +
            - spec/test_app/public/404.html
         | 
| 297 | 
            +
            - spec/test_app/public/422.html
         | 
| 298 | 
            +
            - spec/test_app/public/500.html
         | 
| 299 | 
            +
            - spec/test_app/public/apple-touch-icon-precomposed.png
         | 
| 300 | 
            +
            - spec/test_app/public/apple-touch-icon.png
         | 
| 301 | 
            +
            - spec/test_app/public/favicon.ico
         | 
| 302 | 
            +
            - spec/test_app/public/robots.txt
         | 
| 303 | 
            +
            - spec/test_app/tmp/local_secret.txt
         | 
| 304 | 
            +
            - spec/test_app/tmp/restart.txt
         |