todoro 0.1.1 → 0.1.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 76cf9b41d271df208d75cc427a754bb874cf8389aae5f7048606535d3ba64b73
4
- data.tar.gz: a939d0a0f55e5f14d5d4e3d7d46a6a62181eb3eac142392325b8e41ddab4ce2a
3
+ metadata.gz: 3484fe0d4b42818d6da75b14b1338263923ba16af50f7e004604f456a9793f89
4
+ data.tar.gz: db0eb21bd21af52c31e146e1500990b6621bef2989d311f367c14d9b4cb83fac
5
5
  SHA512:
6
- metadata.gz: 93d5d15baccc9d96b205db3a720e30d665ae2b83e870f2a4207c6c089956649a7e49b7a4608bdfa7f132bbe6d9dab3cc36cc18af2ec83d30f4f6668e5cd766a5
7
- data.tar.gz: fa39c6abad657cc54d48a4537abea35d868d1d6bfe8e347f9976d545d293ed6aa8b988894bf73c1c4df0cd8a17f4badce43a59fbe6b5c5f28573e45d666fd76c
6
+ metadata.gz: 7bbcbdd4e9b607f5e1dadaa596e5ce1b712269762c481826823b46c564516e43eceaca8de23c186c3a28036b975966e79157df31c7550c47ac1a21de35c620a9
7
+ data.tar.gz: eacfe1c557993e63efac5e8161cc8517b511627fbb2236fea10e7b7cf4e6c664bc4de12d907b9e7580be9931ca400c5adb7b0b322b58f1ab38e706b3488c53b5
data/README.md CHANGED
@@ -1,6 +1,8 @@
1
1
  # Todoro
2
2
  A lightweight Rails engine that lets any model manage task lists and tasks with a simple, flexible API.
3
3
 
4
+ ![Totoro](totoro.png)
5
+
4
6
  ## Usage
5
7
 
6
8
  Include Taskable in the model(s) that can have tasks
@@ -0,0 +1,7 @@
1
+ class AddIndexesToTodoroTasks < ActiveRecord::Migration[8.0]
2
+ def change
3
+ add_index :todoro_task_lists, [ :taskable_type, :taskable_id ]
4
+ add_index :todoro_tasks, :status
5
+ add_index :todoro_tasks, :expiry_date
6
+ end
7
+ end
@@ -1,3 +1,3 @@
1
1
  module Todoro
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,29 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: todoro
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Despo Pentara
8
8
  - Evangelos Giataganas
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-02-14 00:00:00.000000000 Z
11
+ date: 2025-02-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">="
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 8.0.1
19
+ version: 7.2.1
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ">="
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 8.0.1
26
+ version: 7.2.1
27
27
  description: A lightweight Rails engine that lets any model manage task lists and
28
28
  tasks with a simple, flexible API.
29
29
  email:
@@ -63,6 +63,7 @@ files:
63
63
  - db/migrate/20250214104107_create_todoro_task_lists.rb
64
64
  - db/migrate/20250214104109_create_todoro_tasks.rb
65
65
  - db/migrate/20250214104111_create_todoro_reminders.rb
66
+ - db/migrate/20250215024110_add_indexes_to_todoro_tasks.rb
66
67
  - lib/tasks/todoro_tasks.rake
67
68
  - lib/todoro.rb
68
69
  - lib/todoro/engine.rb