prettytodo 0.0.1 → 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 +4 -4
- data/README.md +34 -14
- data/lib/prettytodo/version.rb +1 -1
- metadata +3 -10
- data/app/assets/config/prettytodo_manifest.js +0 -1
- data/app/assets/stylesheets/prettytodo/application.css +0 -15
- data/app/helpers/prettytodo/application_helper.rb +0 -4
- data/app/jobs/prettytodo/application_job.rb +0 -4
- data/app/mailers/prettytodo/application_mailer.rb +0 -6
- data/app/models/prettytodo/application_record.rb +0 -5
- data/lib/tasks/prettytodo_tasks.rake +0 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b8b4f168773ccf02a270aa623dcabd313406c324da2f5ff72bc8ec8263361545
|
|
4
|
+
data.tar.gz: a6bc45a7406d1fcaa494ca073f0e6f4b60f1a7ef46e4b76ae479374a20f61827
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a3e6b7148c0dcdfd768ad2f93c9edaf051be1331a70cb6e650fa7bc6bc7dac49ed4954585821122206d7a9d646e73f79a5a47757453a9488135ac1e88eba1621
|
|
7
|
+
data.tar.gz: 44ab495d54ebf20ec79d02575460557cb98a4e440ab3d3c9ff9f90415e84753b83ad7053b7a46d8247085a5ab856e6375f18bc2aeeed4582523bc392d23d1d8a
|
data/README.md
CHANGED
|
@@ -1,28 +1,48 @@
|
|
|
1
|
-
#
|
|
2
|
-
Short description and motivation.
|
|
1
|
+
# 🌸 Pretty Todo 🌸
|
|
3
2
|
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
A Rails engine that transforms your code annotations into an organized, visual interface. Built on top of `bin/rails notes`, Pretty Todo makes managing your code todos a delightful experience :)
|
|
4
|
+
|
|
5
|
+
## Features
|
|
6
|
+
|
|
7
|
+
- Visual interface for your code annotations
|
|
8
|
+
- Supports standard tags: `TODO`, `OPTIMIZE`, `FIXME`
|
|
9
|
+
- Customizable tag support
|
|
10
|
+
- Development-only mounting for security
|
|
6
11
|
|
|
7
12
|
## Installation
|
|
8
|
-
|
|
13
|
+
|
|
14
|
+
1. Add to your application's Gemfile:
|
|
9
15
|
|
|
10
16
|
```ruby
|
|
11
17
|
gem "prettytodo"
|
|
12
18
|
```
|
|
13
19
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
20
|
+
2. Mount the engine in your `config/routes.rb`:
|
|
21
|
+
|
|
22
|
+
```ruby
|
|
23
|
+
mount Prettytodo::Engine => '/prettytodo' if Rails.env.development?
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
## Configuration
|
|
27
|
+
|
|
28
|
+
Add custom annotation tags in `config/application.rb`:
|
|
29
|
+
|
|
30
|
+
```ruby
|
|
31
|
+
config.annotations.register_tags('HACK', 'REVIEW')
|
|
17
32
|
```
|
|
18
33
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
34
|
+
## Usage
|
|
35
|
+
|
|
36
|
+
1. Add annotations to your code using standard Rails comment format:
|
|
37
|
+
|
|
38
|
+
```ruby
|
|
39
|
+
# TODO: Refactor this method
|
|
40
|
+
# FIXME: Handle edge case
|
|
41
|
+
# OPTIMIZE: Improve performance
|
|
22
42
|
```
|
|
23
43
|
|
|
24
|
-
|
|
25
|
-
Contribution directions go here.
|
|
44
|
+
2. Visit `/prettytodo` in your development environment to see your annotations in a beautiful interface.
|
|
26
45
|
|
|
27
46
|
## License
|
|
28
|
-
|
|
47
|
+
|
|
48
|
+
This project is licensed under the [MIT License](https://opensource.org/licenses/MIT).
|
data/lib/prettytodo/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: prettytodo
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0
|
|
4
|
+
version: 0.1.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Marisa Lopez
|
|
@@ -16,14 +16,14 @@ dependencies:
|
|
|
16
16
|
requirements:
|
|
17
17
|
- - ">="
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: 7.
|
|
19
|
+
version: 7.0.0
|
|
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: 7.
|
|
26
|
+
version: 7.0.0
|
|
27
27
|
description: 'T O D O: make pretty notes'
|
|
28
28
|
email:
|
|
29
29
|
- marisa.celina.lopez4@gmail.com
|
|
@@ -34,21 +34,14 @@ files:
|
|
|
34
34
|
- MIT-LICENSE
|
|
35
35
|
- README.md
|
|
36
36
|
- Rakefile
|
|
37
|
-
- app/assets/config/prettytodo_manifest.js
|
|
38
|
-
- app/assets/stylesheets/prettytodo/application.css
|
|
39
37
|
- app/controllers/prettytodo/application_controller.rb
|
|
40
38
|
- app/controllers/prettytodo/notes_controller.rb
|
|
41
|
-
- app/helpers/prettytodo/application_helper.rb
|
|
42
|
-
- app/jobs/prettytodo/application_job.rb
|
|
43
|
-
- app/mailers/prettytodo/application_mailer.rb
|
|
44
|
-
- app/models/prettytodo/application_record.rb
|
|
45
39
|
- app/views/layouts/prettytodo/application.html.erb
|
|
46
40
|
- app/views/prettytodo/notes/index.html.erb
|
|
47
41
|
- config/routes.rb
|
|
48
42
|
- lib/prettytodo.rb
|
|
49
43
|
- lib/prettytodo/engine.rb
|
|
50
44
|
- lib/prettytodo/version.rb
|
|
51
|
-
- lib/tasks/prettytodo_tasks.rake
|
|
52
45
|
homepage: https://github.com/celina-lopez/prettytodo
|
|
53
46
|
licenses:
|
|
54
47
|
- MIT
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
//= link_directory ../stylesheets/prettytodo .css
|
|
@@ -1,15 +0,0 @@
|
|
|
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
|
-
*/
|