Skip to content

Commit 275d9ec

Browse files
committed
Move Engine code to lib/todoro/engine and add CHANGELOG.md
1 parent ddec6c5 commit 275d9ec

File tree

3 files changed

+16
-9
lines changed

3 files changed

+16
-9
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
### 0.1.1 - 2025-02-14
2+
3+
- Add CHANGELOG.md
4+
- Move Engine code to lib/todoro/engine
5+
6+
### 0.1.0 - 2025-02-14
7+
8+
- Associate any model with tasklists
9+
- Tasklists can contain multiple tasks
10+
- Tasks with an expiry date have reminders set automatically one day and one hour before they expire

lib/todoro.rb

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,4 @@
33
require "todoro/taskable"
44

55
module Todoro
6-
class Engine < ::Rails::Engine
7-
isolate_namespace Todoro
8-
9-
initializer "todoro.taskable" do
10-
ActiveSupport.on_load(:active_record) do
11-
extend Todoro::Taskable::ClassMethods
12-
end
13-
end
14-
end
156
end

lib/todoro/engine.rb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
module Todoro
22
class Engine < ::Rails::Engine
33
isolate_namespace Todoro
4+
5+
initializer "todoro.taskable" do
6+
ActiveSupport.on_load(:active_record) do
7+
extend Todoro::Taskable::ClassMethods
8+
end
9+
end
410
end
511
end

0 commit comments

Comments
 (0)