This repository has been archived by the owner on Feb 7, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
pavlov.TODO
47 lines (47 loc) · 2.91 KB
/
pavlov.TODO
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
Before fit for use in Hacker1/Factlink:
✔ Make sure validate is called after create and returns the result of validat in the error. @done (13-01-02 16:07)
✔ Make sure validate is called after update and returns the result of validate in the error. @done (13-01-02 16:07)
✔ Make a gem of it. @done (13-01-03 08:58)
✔ Add guard. @done (13-01-03 15:43)
✔ Convert all test to minitests and minitests expectations. @done (13-01-03 14:38)
http://www.rubyinside.com/a-minitestspec-tutorial-elegant-spec-style-testing-that-comes-with-ruby-5354.html
✔ Remove all rails/factlink specific code. (mixpanel,cancan,search_helper) @done (13-01-03 16:13)
✔ (re-)Integrate into Factlink. @done (13-01-07 14:34)
✔ automate tasks in rake file. @done (13-01-03 14:38)
Steps before public availability:
✔ put on travis ci. @done (13-01-07 15:35)
✔ Fix the readme. @done (13-04-26 10:30)
✔ check commit messages. @done (13-01-07 14:35)
✔ add big warning to todo that this is very beta. @done (13-01-07 14:35)
✔ update names in license to company name. @done (13-01-07 14:38)
✔ tag release to correct version and think about how to do this in the feature. @done (13-01-07 14:42)
Steps before publicizing:
✔ rails compatability branch merge into default @done (13-04-26 10:17)
✔ Add it to rubygems.org @done (13-02-13 10:56)
✔ convert minitest => rspec @done (13-07-03 14:53)
✔ remove or move to mixin controversial/unused functionality @done (13-07-03 14:53)
(block initializaties, immutable, oude initializatie support)
☐ authorized? en has_access? => authenticated?, authorized? refactoren.
☐ Add configuration (even if it does nothing or little)
☐ Make sure all toplevel (/lib/pavlov) modules and classes are for public use and can be used seperatly.
☐ Operation should move to a sub folder
☐ Validations should be removed.
☐ There should be a nested validation option (argument should response to valid? and be valid.
☐ Add inline documentation like rails has.
☐ create event source mixin that overwrites execute with data mutate and side-effects.
☐ Add patterns and usages to readme.
☐ website
☐ release gem with 0.x++.y
☐ blog post
Wanted features:
☐ We probably want callbacks for interactors and not for queries and commands. Do we want to enforce this?
☐ Give nice error message when interactors, queries and commands don't exist.
✔ Adding authorized? function to module that throws NotImplemented exception.
☐ Figure out how to do logging.
☐ How are we going to do authorization for returning data
☐ Dependecy injection?
☐ Make validations operational and make sure it is compatablish with rail.
☐ Authorize, validate in the execute (?)
☐ Do we need options to be send to an object (?)
☐ Make it possible to mount interactors with as only argument the entity in that entity
☐ create attr_readers for arguments