ltm 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/MIT-LICENSE +20 -0
- data/README.md +28 -0
- data/Rakefile +8 -0
- data/app/assets/stylesheets/ltm/application.css +15 -0
- data/app/controllers/ltm/application_controller.rb +4 -0
- data/app/controllers/ltm/tags_controller.rb +24 -0
- data/app/controllers/ltm/tasks_controller.rb +26 -0
- data/app/controllers/ltm/users_controller.rb +39 -0
- data/app/helpers/ltm/application_helper.rb +4 -0
- data/app/helpers/ltm/tags_helper.rb +4 -0
- data/app/helpers/ltm/tasks_helper.rb +4 -0
- data/app/helpers/ltm/users_helper.rb +4 -0
- data/app/jobs/ltm/application_job.rb +4 -0
- data/app/mailers/ltm/application_mailer.rb +6 -0
- data/app/models/ltm/application_record.rb +5 -0
- data/app/models/ltm/tag.rb +7 -0
- data/app/models/ltm/task.rb +8 -0
- data/app/models/ltm/user.rb +7 -0
- data/app/views/layouts/ltm/application.html.erb +18 -0
- data/app/views/ltm/index.html.erb +1 -0
- data/app/views/ltm/tags/index.html.erb +14 -0
- data/app/views/ltm/tags/new.html.erb +14 -0
- data/app/views/ltm/tasks/index.html.erb +14 -0
- data/app/views/ltm/tasks/new.html.erb +27 -0
- data/app/views/ltm/users/edit.html.erb +26 -0
- data/app/views/ltm/users/index.html.erb +15 -0
- data/app/views/ltm/users/new.html.erb +23 -0
- data/app/views/ltm/users/show.html.erb +5 -0
- data/config/routes.rb +6 -0
- data/db/migrate/20241231110244_create_ltm_users.rb +10 -0
- data/db/migrate/20241231110716_add_indexto_username.rb +6 -0
- data/db/migrate/20241231122149_drop_tag_table.rb +5 -0
- data/db/migrate/20241231122341_create_ltm_tags.rb +10 -0
- data/db/migrate/20250101100143_create_ltm_tasks.rb +14 -0
- data/lib/ltm/engine.rb +5 -0
- data/lib/ltm/version.rb +3 -0
- data/lib/ltm.rb +6 -0
- data/lib/tasks/ltm_tasks.rake +4 -0
- metadata +113 -0
    
        checksums.yaml
    ADDED
    
    | @@ -0,0 +1,7 @@ | |
| 1 | 
            +
            ---
         | 
| 2 | 
            +
            SHA256:
         | 
| 3 | 
            +
              metadata.gz: '08c492111741ec5df90f7a3dd5c3a0e7bb21431f78917015407ae6c790dedede'
         | 
| 4 | 
            +
              data.tar.gz: 1ac46cfe02abbaa4fc0334e76f3c7a7d096c278cab2254336f26ce2f3a8994a1
         | 
| 5 | 
            +
            SHA512:
         | 
| 6 | 
            +
              metadata.gz: 7a8f02fc63f9a3d7b47aabe70f9e7a1b63134a59f58aff0a047ce30c606397e250ef233db39a9e958a87b7e683314b18483754d2325f03e88ed69fcad14a5c39
         | 
| 7 | 
            +
              data.tar.gz: cf83b59eb41b5d35f366c631b10549e79b447a26050c64809d7b1b2715113c3ed7a1d944c0e3e4f80508f9ac75f10b7f3301b2ef4e88104d879ca5fd5a497727
         | 
    
        data/MIT-LICENSE
    ADDED
    
    | @@ -0,0 +1,20 @@ | |
| 1 | 
            +
            Copyright Lynelle0503
         | 
| 2 | 
            +
             | 
| 3 | 
            +
            Permission is hereby granted, free of charge, to any person obtaining
         | 
| 4 | 
            +
            a copy of this software and associated documentation files (the
         | 
| 5 | 
            +
            "Software"), to deal in the Software without restriction, including
         | 
| 6 | 
            +
            without limitation the rights to use, copy, modify, merge, publish,
         | 
| 7 | 
            +
            distribute, sublicense, and/or sell copies of the Software, and to
         | 
| 8 | 
            +
            permit persons to whom the Software is furnished to do so, subject to
         | 
| 9 | 
            +
            the following conditions:
         | 
| 10 | 
            +
             | 
| 11 | 
            +
            The above copyright notice and this permission notice shall be
         | 
| 12 | 
            +
            included in all copies or substantial portions of the Software.
         | 
| 13 | 
            +
             | 
| 14 | 
            +
            THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
         | 
| 15 | 
            +
            EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
         | 
| 16 | 
            +
            MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
         | 
| 17 | 
            +
            NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
         | 
| 18 | 
            +
            LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
         | 
| 19 | 
            +
            OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
         | 
| 20 | 
            +
            WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
         | 
    
        data/README.md
    ADDED
    
    | @@ -0,0 +1,28 @@ | |
| 1 | 
            +
            # Ltm
         | 
| 2 | 
            +
            Short description and motivation.
         | 
| 3 | 
            +
             | 
| 4 | 
            +
            ## Usage
         | 
| 5 | 
            +
            How to use my plugin.
         | 
| 6 | 
            +
             | 
| 7 | 
            +
            ## Installation
         | 
| 8 | 
            +
            Add this line to your application's Gemfile:
         | 
| 9 | 
            +
             | 
| 10 | 
            +
            ```ruby
         | 
| 11 | 
            +
            gem "ltm"
         | 
| 12 | 
            +
            ```
         | 
| 13 | 
            +
             | 
| 14 | 
            +
            And then execute:
         | 
| 15 | 
            +
            ```bash
         | 
| 16 | 
            +
            $ bundle
         | 
| 17 | 
            +
            ```
         | 
| 18 | 
            +
             | 
| 19 | 
            +
            Or install it yourself as:
         | 
| 20 | 
            +
            ```bash
         | 
| 21 | 
            +
            $ gem install ltm
         | 
| 22 | 
            +
            ```
         | 
| 23 | 
            +
             | 
| 24 | 
            +
            ## Contributing
         | 
| 25 | 
            +
            Contribution directions go here.
         | 
| 26 | 
            +
             | 
| 27 | 
            +
            ## License
         | 
| 28 | 
            +
            The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
         | 
    
        data/Rakefile
    ADDED
    
    
| @@ -0,0 +1,15 @@ | |
| 1 | 
            +
            /*
         | 
| 2 | 
            +
             * This is a manifest file that'll be compiled into application.css, which will include all the files
         | 
| 3 | 
            +
             * listed below.
         | 
| 4 | 
            +
             *
         | 
| 5 | 
            +
             * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
         | 
| 6 | 
            +
             * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
         | 
| 7 | 
            +
             *
         | 
| 8 | 
            +
             * You're free to add application-wide styles to this file and they'll appear at the bottom of the
         | 
| 9 | 
            +
             * compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS
         | 
| 10 | 
            +
             * files in this directory. Styles in this file should be added after the last require_* statement.
         | 
| 11 | 
            +
             * It is generally better to create a new file per style scope.
         | 
| 12 | 
            +
             *
         | 
| 13 | 
            +
             *= require_tree .
         | 
| 14 | 
            +
             *= require_self
         | 
| 15 | 
            +
             */
         | 
| @@ -0,0 +1,24 @@ | |
| 1 | 
            +
            module Ltm
         | 
| 2 | 
            +
              class TagsController < ApplicationController
         | 
| 3 | 
            +
                def index
         | 
| 4 | 
            +
                  @tags = Tag.all
         | 
| 5 | 
            +
                end
         | 
| 6 | 
            +
                def new
         | 
| 7 | 
            +
                  @tag = Tag.new
         | 
| 8 | 
            +
                  @users = User.all
         | 
| 9 | 
            +
                end
         | 
| 10 | 
            +
                def create
         | 
| 11 | 
            +
                  @tag = Tag.create(tag_params)
         | 
| 12 | 
            +
                  if @tag.save
         | 
| 13 | 
            +
                    redirect_to tags_path, notice: "Tag created"
         | 
| 14 | 
            +
                  else
         | 
| 15 | 
            +
                    render :new
         | 
| 16 | 
            +
                  end
         | 
| 17 | 
            +
                end
         | 
| 18 | 
            +
             | 
| 19 | 
            +
                private
         | 
| 20 | 
            +
                def tag_params
         | 
| 21 | 
            +
                  params.require(:tag).permit(:name, :ltm_user)
         | 
| 22 | 
            +
                end
         | 
| 23 | 
            +
              end
         | 
| 24 | 
            +
            end
         | 
| @@ -0,0 +1,26 @@ | |
| 1 | 
            +
            module Ltm
         | 
| 2 | 
            +
              class TasksController < ApplicationController
         | 
| 3 | 
            +
                def index
         | 
| 4 | 
            +
                  @tasks = Task.all
         | 
| 5 | 
            +
                end
         | 
| 6 | 
            +
                def new
         | 
| 7 | 
            +
                  @task = Task.new
         | 
| 8 | 
            +
                  @users = User.all
         | 
| 9 | 
            +
                  @tags = Tag.all
         | 
| 10 | 
            +
                end
         | 
| 11 | 
            +
                def create
         | 
| 12 | 
            +
                  @task = Task.create(task_params)
         | 
| 13 | 
            +
                  if @task.save
         | 
| 14 | 
            +
                    redirect_to tasks_path, notice: "Task created"
         | 
| 15 | 
            +
                  else
         | 
| 16 | 
            +
                    render :new
         | 
| 17 | 
            +
                  end
         | 
| 18 | 
            +
                end
         | 
| 19 | 
            +
             | 
| 20 | 
            +
             | 
| 21 | 
            +
                private
         | 
| 22 | 
            +
                def task_params
         | 
| 23 | 
            +
                  params.require(:task).permit(:title,:status,:body,:due,:ltm_user,:ltm_tag)
         | 
| 24 | 
            +
                end
         | 
| 25 | 
            +
              end
         | 
| 26 | 
            +
            end
         | 
| @@ -0,0 +1,39 @@ | |
| 1 | 
            +
            module Ltm
         | 
| 2 | 
            +
              class UsersController < ApplicationController
         | 
| 3 | 
            +
                def index
         | 
| 4 | 
            +
                  @users = Ltm::User.all
         | 
| 5 | 
            +
                end
         | 
| 6 | 
            +
                def new
         | 
| 7 | 
            +
                  @user = User.new
         | 
| 8 | 
            +
                end
         | 
| 9 | 
            +
                def create
         | 
| 10 | 
            +
                  @user = User.create(user_params)
         | 
| 11 | 
            +
                  if @user.save
         | 
| 12 | 
            +
                    redirect_to users_path, notice: "User created"
         | 
| 13 | 
            +
                  else
         | 
| 14 | 
            +
                    render :new
         | 
| 15 | 
            +
                  end
         | 
| 16 | 
            +
                end
         | 
| 17 | 
            +
             | 
| 18 | 
            +
                def show
         | 
| 19 | 
            +
                  @user = User.find(params[:id])
         | 
| 20 | 
            +
                  @users = User.all
         | 
| 21 | 
            +
                end
         | 
| 22 | 
            +
                def edit
         | 
| 23 | 
            +
                  @user = User.find(params[:id])
         | 
| 24 | 
            +
                end
         | 
| 25 | 
            +
                def update
         | 
| 26 | 
            +
                  @user = User.find(params[:id])
         | 
| 27 | 
            +
                  if @user.save
         | 
| 28 | 
            +
                    redirect_to users_path, notice: "User updated"
         | 
| 29 | 
            +
                  else
         | 
| 30 | 
            +
                    render :edit, status: :unprocessable_entity
         | 
| 31 | 
            +
                  end
         | 
| 32 | 
            +
                end
         | 
| 33 | 
            +
             | 
| 34 | 
            +
                private
         | 
| 35 | 
            +
                def user_params
         | 
| 36 | 
            +
                  params.require(:user).permit(:username, :password)
         | 
| 37 | 
            +
                end
         | 
| 38 | 
            +
              end
         | 
| 39 | 
            +
            end
         | 
| @@ -0,0 +1,8 @@ | |
| 1 | 
            +
            module Ltm
         | 
| 2 | 
            +
              class Task < ApplicationRecord
         | 
| 3 | 
            +
                belongs_to :ltm_user, class_name: 'Ltm::User', optional: true
         | 
| 4 | 
            +
                belongs_to :ltm_tag, class_name: 'Ltm::Tag', optional: true
         | 
| 5 | 
            +
                validates :title, presence: true
         | 
| 6 | 
            +
                # enum status: { in_progress: 'In Progress', completed: 'Completed' }
         | 
| 7 | 
            +
              end
         | 
| 8 | 
            +
            end
         | 
| @@ -0,0 +1,18 @@ | |
| 1 | 
            +
            <!DOCTYPE html>
         | 
| 2 | 
            +
            <html>
         | 
| 3 | 
            +
            <head>
         | 
| 4 | 
            +
              <title>Ltm</title>
         | 
| 5 | 
            +
              <%= csrf_meta_tags %>
         | 
| 6 | 
            +
              <%= csp_meta_tag %>
         | 
| 7 | 
            +
             | 
| 8 | 
            +
              <%= yield :head %>
         | 
| 9 | 
            +
             | 
| 10 | 
            +
              <%= stylesheet_link_tag    "ltm/application", media: "all" %>
         | 
| 11 | 
            +
            </head>
         | 
| 12 | 
            +
            <body>
         | 
| 13 | 
            +
            <h3>Ltm Plugin - Task Manager</h3>
         | 
| 14 | 
            +
            <br>
         | 
| 15 | 
            +
            <%= yield %>
         | 
| 16 | 
            +
             | 
| 17 | 
            +
            </body>
         | 
| 18 | 
            +
            </html>
         | 
| @@ -0,0 +1 @@ | |
| 1 | 
            +
            Welcome !
         | 
| @@ -0,0 +1,14 @@ | |
| 1 | 
            +
            List of tags here...
         | 
| 2 | 
            +
            <br>
         | 
| 3 | 
            +
            <ul>
         | 
| 4 | 
            +
                <% @tags.each do |t| %>
         | 
| 5 | 
            +
                    <li><%= t.name %></li>
         | 
| 6 | 
            +
                <% end %>
         | 
| 7 | 
            +
            </ul>
         | 
| 8 | 
            +
            <br>
         | 
| 9 | 
            +
            <%= link_to "Create a new Tag", new_tag_path %>
         | 
| 10 | 
            +
            <br>
         | 
| 11 | 
            +
            <br>
         | 
| 12 | 
            +
            <%= link_to "Create a new User", new_user_path %>
         | 
| 13 | 
            +
             
         | 
| 14 | 
            +
            <%= link_to "Create a new Task", new_task_path %>
         | 
| @@ -0,0 +1,14 @@ | |
| 1 | 
            +
            <h5>New tag create</h5>
         | 
| 2 | 
            +
             | 
| 3 | 
            +
            <%= form_with model:@tag, local: true do |f| %>
         | 
| 4 | 
            +
                <%= f.label "Tag Name" %>
         | 
| 5 | 
            +
                 
         | 
| 6 | 
            +
                <%= f.text_field :name %> <br>
         | 
| 7 | 
            +
                <%= f.label "Username (optional)" %>
         | 
| 8 | 
            +
                 
         | 
| 9 | 
            +
                <%= f.collection_select(:user, @users,:id, :username, prompt: "Created by ")%> <br> <br>
         | 
| 10 | 
            +
                <%= f.submit "Create User", disable_with: 'Creating User...' %>
         | 
| 11 | 
            +
            <% end %>
         | 
| 12 | 
            +
             | 
| 13 | 
            +
            <br>
         | 
| 14 | 
            +
            <%= link_to "Back to Tags", tags_path %>
         | 
| @@ -0,0 +1,14 @@ | |
| 1 | 
            +
            <h5>List of Tasks..</h5>
         | 
| 2 | 
            +
             | 
| 3 | 
            +
            <ul>
         | 
| 4 | 
            +
                <% @tasks.each do |t| %>
         | 
| 5 | 
            +
                    <li><%= t.title %></li>
         | 
| 6 | 
            +
                <% end %>
         | 
| 7 | 
            +
            </ul>
         | 
| 8 | 
            +
            <br>
         | 
| 9 | 
            +
            <%= link_to "Create a new Task", new_task_path %>
         | 
| 10 | 
            +
            <br>
         | 
| 11 | 
            +
            <br>
         | 
| 12 | 
            +
            <%= link_to "Create a new User", new_user_path %>
         | 
| 13 | 
            +
             
         | 
| 14 | 
            +
            <%= link_to "Create a new Tag", new_tag_path %>
         | 
| @@ -0,0 +1,27 @@ | |
| 1 | 
            +
            <h5>New Task Creation</h5>
         | 
| 2 | 
            +
             | 
| 3 | 
            +
            <%= form_with model:@task, local: true do |f| %>
         | 
| 4 | 
            +
                <%= f.label "Task Name" %>
         | 
| 5 | 
            +
                 
         | 
| 6 | 
            +
                <%= f.text_field :title %> <br>
         | 
| 7 | 
            +
                <%= f.label "Task Description" %>
         | 
| 8 | 
            +
                 
         | 
| 9 | 
            +
                <%= f.text_field :body %> <br>
         | 
| 10 | 
            +
                <%= f.label "Task Status" %>
         | 
| 11 | 
            +
                 
         | 
| 12 | 
            +
                <%# f.text_select :status, options_for_select(["In Progress","Completed"], selected: @task.status), prompt: "Task Status" %> 
         | 
| 13 | 
            +
                <%= f.select :status, options_for_select(['In Progress', 'Completed'], selected: @task.status), prompt: "Select Status" %><br>
         | 
| 14 | 
            +
                <%= f.label "Due Date" %>
         | 
| 15 | 
            +
                 
         | 
| 16 | 
            +
                <%= f.date_field :due %> <br>
         | 
| 17 | 
            +
                <%= f.label "Username (optional)" %>
         | 
| 18 | 
            +
                 
         | 
| 19 | 
            +
                <%= f.collection_select(:user, @users,:id, :username, prompt: "Created by ")%> <br>
         | 
| 20 | 
            +
                <%= f.label "Category (optional)" %>
         | 
| 21 | 
            +
                 
         | 
| 22 | 
            +
                <%= f.collection_select(:tag, @tags,:id, :name, prompt: "Choose Category...")%> <br> <br>
         | 
| 23 | 
            +
                <%= f.submit "Create Task", disable_with: 'Creating Task...' %>
         | 
| 24 | 
            +
            <% end %>
         | 
| 25 | 
            +
             | 
| 26 | 
            +
            <br>
         | 
| 27 | 
            +
            <%= link_to "Back to Tags", tags_path %>
         | 
| @@ -0,0 +1,26 @@ | |
| 1 | 
            +
            <h5>Edit User - <%= @user.id %></h5>
         | 
| 2 | 
            +
            Working on it - rails 8 auth
         | 
| 3 | 
            +
            <br>
         | 
| 4 | 
            +
            <!-- 
         | 
| 5 | 
            +
            <%= form_with model:@user, local: true do |f| %>
         | 
| 6 | 
            +
                <% if @user.errors.any? %>
         | 
| 7 | 
            +
                    <ul>
         | 
| 8 | 
            +
                        <% @user.errors.full_messages.each do |m| %>
         | 
| 9 | 
            +
                            <li style="color:red;"><%= m%></li>
         | 
| 10 | 
            +
                        <% end %>
         | 
| 11 | 
            +
                    </ul>
         | 
| 12 | 
            +
                <% end %>
         | 
| 13 | 
            +
                <%= f.label "Username" %>
         | 
| 14 | 
            +
                 
         | 
| 15 | 
            +
                <%= f.text_field :username %> <br>
         | 
| 16 | 
            +
                <%= f.label "Password" %>
         | 
| 17 | 
            +
                 
         | 
| 18 | 
            +
                <%= f.password_field :password %> <br>
         | 
| 19 | 
            +
                <%= f.label "Confirm Password" %>
         | 
| 20 | 
            +
                 
         | 
| 21 | 
            +
                <%= f.password_field :password %> <br> <br>
         | 
| 22 | 
            +
                <%= f.submit "Update User", disable_with: 'Updating User...' %>
         | 
| 23 | 
            +
            <% end %>
         | 
| 24 | 
            +
                -->
         | 
| 25 | 
            +
            <br>
         | 
| 26 | 
            +
            <%= link_to "Back to Users index", users_path %>
         | 
| @@ -0,0 +1,15 @@ | |
| 1 | 
            +
            Lists all users ....
         | 
| 2 | 
            +
            <br>
         | 
| 3 | 
            +
            <ul>
         | 
| 4 | 
            +
                <% @users.each do |u| %>
         | 
| 5 | 
            +
                    <li><%= link_to u.username, u %></li>
         | 
| 6 | 
            +
                <% end %>
         | 
| 7 | 
            +
            </ul>
         | 
| 8 | 
            +
             | 
| 9 | 
            +
            <br>
         | 
| 10 | 
            +
            <%= link_to "Create new User", new_user_path %>
         | 
| 11 | 
            +
            <br>
         | 
| 12 | 
            +
            <br>
         | 
| 13 | 
            +
            <%= link_to "Create a new Tag", new_tag_path %>
         | 
| 14 | 
            +
             
         | 
| 15 | 
            +
            <%= link_to "Create a new Task", new_task_path %>
         | 
| @@ -0,0 +1,23 @@ | |
| 1 | 
            +
            <h5>Creating users</h5>
         | 
| 2 | 
            +
            <%= form_with model:@user, local: true do |f| %>
         | 
| 3 | 
            +
                <% if @user.errors.any? %>
         | 
| 4 | 
            +
                    <ul>
         | 
| 5 | 
            +
                        <% @user.errors.full_messages.each do |m| %>
         | 
| 6 | 
            +
                            <li style="color:red;"><%= m%></li>
         | 
| 7 | 
            +
                        <% end %>
         | 
| 8 | 
            +
                    </ul>
         | 
| 9 | 
            +
                <% end %>
         | 
| 10 | 
            +
                <%= f.label "Username" %>
         | 
| 11 | 
            +
                 
         | 
| 12 | 
            +
                <%= f.text_field :username %> <br>
         | 
| 13 | 
            +
                <%= f.label "Password" %>
         | 
| 14 | 
            +
                 
         | 
| 15 | 
            +
                <%= f.password_field :password %> <br>
         | 
| 16 | 
            +
                <%= f.label "Confirm Password" %>
         | 
| 17 | 
            +
                 
         | 
| 18 | 
            +
                <%= f.password_field :password %> <br> <br>
         | 
| 19 | 
            +
                <%= f.submit "Create User", disable_with: 'Creating User...' %>
         | 
| 20 | 
            +
            <% end %>
         | 
| 21 | 
            +
             | 
| 22 | 
            +
            <br>
         | 
| 23 | 
            +
            <%= link_to "Back to Users index", users_path %>
         | 
    
        data/config/routes.rb
    ADDED
    
    
| @@ -0,0 +1,14 @@ | |
| 1 | 
            +
            class CreateLtmTasks < ActiveRecord::Migration[8.0]
         | 
| 2 | 
            +
              def change
         | 
| 3 | 
            +
                create_table :ltm_tasks do |t|
         | 
| 4 | 
            +
                  t.string :title, null: false
         | 
| 5 | 
            +
                  t.string :status, null: true
         | 
| 6 | 
            +
                  t.string :body, null: true
         | 
| 7 | 
            +
                  t.date :due, null: true
         | 
| 8 | 
            +
                  t.references :ltm_user, null: true, foreign_key: true
         | 
| 9 | 
            +
                  t.references :ltm_tag, null: true, foreign_key: true
         | 
| 10 | 
            +
             | 
| 11 | 
            +
                  t.timestamps
         | 
| 12 | 
            +
                end
         | 
| 13 | 
            +
              end
         | 
| 14 | 
            +
            end
         | 
    
        data/lib/ltm/engine.rb
    ADDED
    
    
    
        data/lib/ltm/version.rb
    ADDED
    
    
    
        data/lib/ltm.rb
    ADDED
    
    
    
        metadata
    ADDED
    
    | @@ -0,0 +1,113 @@ | |
| 1 | 
            +
            --- !ruby/object:Gem::Specification
         | 
| 2 | 
            +
            name: ltm
         | 
| 3 | 
            +
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            +
              version: 0.1.0
         | 
| 5 | 
            +
            platform: ruby
         | 
| 6 | 
            +
            authors:
         | 
| 7 | 
            +
            - Lynelle0503
         | 
| 8 | 
            +
            autorequire:
         | 
| 9 | 
            +
            bindir: bin
         | 
| 10 | 
            +
            cert_chain: []
         | 
| 11 | 
            +
            date: 2025-01-01 00:00:00.000000000 Z
         | 
| 12 | 
            +
            dependencies:
         | 
| 13 | 
            +
            - !ruby/object:Gem::Dependency
         | 
| 14 | 
            +
              name: rails
         | 
| 15 | 
            +
              requirement: !ruby/object:Gem::Requirement
         | 
| 16 | 
            +
                requirements:
         | 
| 17 | 
            +
                - - ">="
         | 
| 18 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 19 | 
            +
                    version: 8.0.1
         | 
| 20 | 
            +
              type: :runtime
         | 
| 21 | 
            +
              prerelease: false
         | 
| 22 | 
            +
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 23 | 
            +
                requirements:
         | 
| 24 | 
            +
                - - ">="
         | 
| 25 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 26 | 
            +
                    version: 8.0.1
         | 
| 27 | 
            +
            - !ruby/object:Gem::Dependency
         | 
| 28 | 
            +
              name: bcrypt
         | 
| 29 | 
            +
              requirement: !ruby/object:Gem::Requirement
         | 
| 30 | 
            +
                requirements:
         | 
| 31 | 
            +
                - - "~>"
         | 
| 32 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 33 | 
            +
                    version: 3.1.16
         | 
| 34 | 
            +
              type: :runtime
         | 
| 35 | 
            +
              prerelease: false
         | 
| 36 | 
            +
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 37 | 
            +
                requirements:
         | 
| 38 | 
            +
                - - "~>"
         | 
| 39 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 40 | 
            +
                    version: 3.1.16
         | 
| 41 | 
            +
            description: just do it
         | 
| 42 | 
            +
            email:
         | 
| 43 | 
            +
            - 37027090+Lynelle0503@users.noreply.github.com
         | 
| 44 | 
            +
            executables: []
         | 
| 45 | 
            +
            extensions: []
         | 
| 46 | 
            +
            extra_rdoc_files: []
         | 
| 47 | 
            +
            files:
         | 
| 48 | 
            +
            - MIT-LICENSE
         | 
| 49 | 
            +
            - README.md
         | 
| 50 | 
            +
            - Rakefile
         | 
| 51 | 
            +
            - app/assets/stylesheets/ltm/application.css
         | 
| 52 | 
            +
            - app/controllers/ltm/application_controller.rb
         | 
| 53 | 
            +
            - app/controllers/ltm/tags_controller.rb
         | 
| 54 | 
            +
            - app/controllers/ltm/tasks_controller.rb
         | 
| 55 | 
            +
            - app/controllers/ltm/users_controller.rb
         | 
| 56 | 
            +
            - app/helpers/ltm/application_helper.rb
         | 
| 57 | 
            +
            - app/helpers/ltm/tags_helper.rb
         | 
| 58 | 
            +
            - app/helpers/ltm/tasks_helper.rb
         | 
| 59 | 
            +
            - app/helpers/ltm/users_helper.rb
         | 
| 60 | 
            +
            - app/jobs/ltm/application_job.rb
         | 
| 61 | 
            +
            - app/mailers/ltm/application_mailer.rb
         | 
| 62 | 
            +
            - app/models/ltm/application_record.rb
         | 
| 63 | 
            +
            - app/models/ltm/tag.rb
         | 
| 64 | 
            +
            - app/models/ltm/task.rb
         | 
| 65 | 
            +
            - app/models/ltm/user.rb
         | 
| 66 | 
            +
            - app/views/layouts/ltm/application.html.erb
         | 
| 67 | 
            +
            - app/views/ltm/index.html.erb
         | 
| 68 | 
            +
            - app/views/ltm/tags/index.html.erb
         | 
| 69 | 
            +
            - app/views/ltm/tags/new.html.erb
         | 
| 70 | 
            +
            - app/views/ltm/tasks/index.html.erb
         | 
| 71 | 
            +
            - app/views/ltm/tasks/new.html.erb
         | 
| 72 | 
            +
            - app/views/ltm/users/edit.html.erb
         | 
| 73 | 
            +
            - app/views/ltm/users/index.html.erb
         | 
| 74 | 
            +
            - app/views/ltm/users/new.html.erb
         | 
| 75 | 
            +
            - app/views/ltm/users/show.html.erb
         | 
| 76 | 
            +
            - config/routes.rb
         | 
| 77 | 
            +
            - db/migrate/20241231110244_create_ltm_users.rb
         | 
| 78 | 
            +
            - db/migrate/20241231110716_add_indexto_username.rb
         | 
| 79 | 
            +
            - db/migrate/20241231122149_drop_tag_table.rb
         | 
| 80 | 
            +
            - db/migrate/20241231122341_create_ltm_tags.rb
         | 
| 81 | 
            +
            - db/migrate/20250101100143_create_ltm_tasks.rb
         | 
| 82 | 
            +
            - lib/ltm.rb
         | 
| 83 | 
            +
            - lib/ltm/engine.rb
         | 
| 84 | 
            +
            - lib/ltm/version.rb
         | 
| 85 | 
            +
            - lib/tasks/ltm_tasks.rake
         | 
| 86 | 
            +
            homepage: https://github.com/Lynelle0503/ltm_plugin
         | 
| 87 | 
            +
            licenses:
         | 
| 88 | 
            +
            - MIT
         | 
| 89 | 
            +
            metadata:
         | 
| 90 | 
            +
              allowed_push_host: https://rubygems.org
         | 
| 91 | 
            +
              homepage_uri: https://github.com/Lynelle0503/ltm_plugin
         | 
| 92 | 
            +
              source_code_uri: https://github.com/Lynelle0503/ltm_plugin
         | 
| 93 | 
            +
              changelog_uri: https://github.com/Lynelle0503/ltm_plugin
         | 
| 94 | 
            +
            post_install_message:
         | 
| 95 | 
            +
            rdoc_options: []
         | 
| 96 | 
            +
            require_paths:
         | 
| 97 | 
            +
            - lib
         | 
| 98 | 
            +
            required_ruby_version: !ruby/object:Gem::Requirement
         | 
| 99 | 
            +
              requirements:
         | 
| 100 | 
            +
              - - ">="
         | 
| 101 | 
            +
                - !ruby/object:Gem::Version
         | 
| 102 | 
            +
                  version: '0'
         | 
| 103 | 
            +
            required_rubygems_version: !ruby/object:Gem::Requirement
         | 
| 104 | 
            +
              requirements:
         | 
| 105 | 
            +
              - - ">="
         | 
| 106 | 
            +
                - !ruby/object:Gem::Version
         | 
| 107 | 
            +
                  version: '0'
         | 
| 108 | 
            +
            requirements: []
         | 
| 109 | 
            +
            rubygems_version: 3.5.23
         | 
| 110 | 
            +
            signing_key:
         | 
| 111 | 
            +
            specification_version: 4
         | 
| 112 | 
            +
            summary: Summary of Ltm.
         | 
| 113 | 
            +
            test_files: []
         |