prettytodo 0.0.2 → 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 92afc86f7bce21c2455eeff44c42283aab75c33ecd0a04c13ccab27f9f0e650c
4
- data.tar.gz: b40236afb1a3fd7caae91be41cd3bc778706a9c52107c14efe219b5b59b8acc6
3
+ metadata.gz: b8b4f168773ccf02a270aa623dcabd313406c324da2f5ff72bc8ec8263361545
4
+ data.tar.gz: a6bc45a7406d1fcaa494ca073f0e6f4b60f1a7ef46e4b76ae479374a20f61827
5
5
  SHA512:
6
- metadata.gz: f3d878bc88379d5b12ed2bf1c708e887490374d188b04eaa16184edf8bd293694f18e95f30ff40332c0a67e9fe831330e946bd85a5df26826a851f668d4433b1
7
- data.tar.gz: 10402be8ce6aabc63422731bbd05d13c6c91ac6d4c18e13748708c6f66e42f7af312a2bba17e13ac8131494b78f93a1b424cda85034d99b77af66909dfaf6526
6
+ metadata.gz: a3e6b7148c0dcdfd768ad2f93c9edaf051be1331a70cb6e650fa7bc6bc7dac49ed4954585821122206d7a9d646e73f79a5a47757453a9488135ac1e88eba1621
7
+ data.tar.gz: 44ab495d54ebf20ec79d02575460557cb98a4e440ab3d3c9ff9f90415e84753b83ad7053b7a46d8247085a5ab856e6375f18bc2aeeed4582523bc392d23d1d8a
data/README.md CHANGED
@@ -1,28 +1,48 @@
1
- # Prettytodo
2
- Short description and motivation.
1
+ # 🌸 Pretty Todo 🌸
3
2
 
4
- ## Usage
5
- How to use my plugin.
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
- Add this line to your application's Gemfile:
13
+
14
+ 1. Add to your application's Gemfile:
9
15
 
10
16
  ```ruby
11
17
  gem "prettytodo"
12
18
  ```
13
19
 
14
- And then execute:
15
- ```bash
16
- $ bundle
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
- Or install it yourself as:
20
- ```bash
21
- $ gem install prettytodo
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
- ## Contributing
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
- The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
47
+
48
+ This project is licensed under the [MIT License](https://opensource.org/licenses/MIT).
@@ -1,3 +1,3 @@
1
1
  module Prettytodo
2
- VERSION = "0.0.2"
2
+ VERSION = "0.1.0"
3
3
  end
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.2
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marisa Lopez
@@ -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
- */
@@ -1,4 +0,0 @@
1
- module Prettytodo
2
- module ApplicationHelper
3
- end
4
- end
@@ -1,4 +0,0 @@
1
- module Prettytodo
2
- class ApplicationJob < ActiveJob::Base
3
- end
4
- end
@@ -1,6 +0,0 @@
1
- module Prettytodo
2
- class ApplicationMailer < ActionMailer::Base
3
- default from: "from@example.com"
4
- layout "mailer"
5
- end
6
- end
@@ -1,5 +0,0 @@
1
- module Prettytodo
2
- class ApplicationRecord < ActiveRecord::Base
3
- self.abstract_class = true
4
- end
5
- end
@@ -1,4 +0,0 @@
1
- # desc "Explaining what the task does"
2
- # task :prettytodo do
3
- # # Task goes here
4
- # end