ruby-pomodoro 0.4.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.
Files changed (41) hide show
  1. checksums.yaml +7 -0
  2. data/.github/workflows/ruby.yml +24 -0
  3. data/.gitignore +12 -0
  4. data/.rspec +3 -0
  5. data/.ruby-version +1 -0
  6. data/CHANGELOG.md +78 -0
  7. data/CODE_OF_CONDUCT.md +74 -0
  8. data/Gemfile +8 -0
  9. data/Gemfile.lock +67 -0
  10. data/LICENSE.txt +21 -0
  11. data/README.md +46 -0
  12. data/Rakefile +6 -0
  13. data/bin/console +14 -0
  14. data/bin/setup +8 -0
  15. data/exe/ruby-pomodoro +5 -0
  16. data/lib/ruby/pomodoro/cmd/base.rb +40 -0
  17. data/lib/ruby/pomodoro/cmd/choose_task.rb +33 -0
  18. data/lib/ruby/pomodoro/cmd/edit_list.rb +15 -0
  19. data/lib/ruby/pomodoro/cmd/error_handler.rb +17 -0
  20. data/lib/ruby/pomodoro/cmd/main.rb +15 -0
  21. data/lib/ruby/pomodoro/cmd/pause.rb +27 -0
  22. data/lib/ruby/pomodoro/cmd/quit.rb +19 -0
  23. data/lib/ruby/pomodoro/cmd/stop.rb +12 -0
  24. data/lib/ruby/pomodoro/command_controller.rb +42 -0
  25. data/lib/ruby/pomodoro/notification.rb +40 -0
  26. data/lib/ruby/pomodoro/notification_observer.rb +32 -0
  27. data/lib/ruby/pomodoro/printer.rb +56 -0
  28. data/lib/ruby/pomodoro/progressbar.rb +32 -0
  29. data/lib/ruby/pomodoro/task.rb +25 -0
  30. data/lib/ruby/pomodoro/tasks/editor.rb +65 -0
  31. data/lib/ruby/pomodoro/tasks/entity.rb +27 -0
  32. data/lib/ruby/pomodoro/tasks/resource.rb +42 -0
  33. data/lib/ruby/pomodoro/terminal_notifier_channel.rb +13 -0
  34. data/lib/ruby/pomodoro/time_converter.rb +27 -0
  35. data/lib/ruby/pomodoro/time_helpers.rb +11 -0
  36. data/lib/ruby/pomodoro/version.rb +5 -0
  37. data/lib/ruby/pomodoro/worker.rb +78 -0
  38. data/lib/ruby/pomodoro.rb +86 -0
  39. data/lib/view/main.txt.erb +13 -0
  40. data/ruby-pomodoro.gemspec +31 -0
  41. metadata +156 -0
metadata ADDED
@@ -0,0 +1,156 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: ruby-pomodoro
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.4.0
5
+ platform: ruby
6
+ authors:
7
+ - Alexander Shvaykin
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2021-11-18 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: terminal-notifier
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: tty-cursor
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '0.6'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '0.6'
41
+ - !ruby/object:Gem::Dependency
42
+ name: tty-editor
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '0.7'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '0.7'
55
+ - !ruby/object:Gem::Dependency
56
+ name: pastel
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '0.8'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '0.8'
69
+ - !ruby/object:Gem::Dependency
70
+ name: aasm
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '5'
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '5'
83
+ description:
84
+ email:
85
+ - skiline.alex@gmail.com
86
+ executables:
87
+ - ruby-pomodoro
88
+ extensions: []
89
+ extra_rdoc_files: []
90
+ files:
91
+ - ".github/workflows/ruby.yml"
92
+ - ".gitignore"
93
+ - ".rspec"
94
+ - ".ruby-version"
95
+ - CHANGELOG.md
96
+ - CODE_OF_CONDUCT.md
97
+ - Gemfile
98
+ - Gemfile.lock
99
+ - LICENSE.txt
100
+ - README.md
101
+ - Rakefile
102
+ - bin/console
103
+ - bin/setup
104
+ - exe/ruby-pomodoro
105
+ - lib/ruby/pomodoro.rb
106
+ - lib/ruby/pomodoro/cmd/base.rb
107
+ - lib/ruby/pomodoro/cmd/choose_task.rb
108
+ - lib/ruby/pomodoro/cmd/edit_list.rb
109
+ - lib/ruby/pomodoro/cmd/error_handler.rb
110
+ - lib/ruby/pomodoro/cmd/main.rb
111
+ - lib/ruby/pomodoro/cmd/pause.rb
112
+ - lib/ruby/pomodoro/cmd/quit.rb
113
+ - lib/ruby/pomodoro/cmd/stop.rb
114
+ - lib/ruby/pomodoro/command_controller.rb
115
+ - lib/ruby/pomodoro/notification.rb
116
+ - lib/ruby/pomodoro/notification_observer.rb
117
+ - lib/ruby/pomodoro/printer.rb
118
+ - lib/ruby/pomodoro/progressbar.rb
119
+ - lib/ruby/pomodoro/task.rb
120
+ - lib/ruby/pomodoro/tasks/editor.rb
121
+ - lib/ruby/pomodoro/tasks/entity.rb
122
+ - lib/ruby/pomodoro/tasks/resource.rb
123
+ - lib/ruby/pomodoro/terminal_notifier_channel.rb
124
+ - lib/ruby/pomodoro/time_converter.rb
125
+ - lib/ruby/pomodoro/time_helpers.rb
126
+ - lib/ruby/pomodoro/version.rb
127
+ - lib/ruby/pomodoro/worker.rb
128
+ - lib/view/main.txt.erb
129
+ - ruby-pomodoro.gemspec
130
+ homepage: https://github.com/AlexanderShvaykin
131
+ licenses:
132
+ - MIT
133
+ metadata:
134
+ homepage_uri: https://github.com/AlexanderShvaykin
135
+ source_code_uri: https://github.com/AlexanderShvaykin
136
+ changelog_uri: https://github.com/AlexanderShvaykin
137
+ post_install_message:
138
+ rdoc_options: []
139
+ require_paths:
140
+ - lib
141
+ required_ruby_version: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - ">="
144
+ - !ruby/object:Gem::Version
145
+ version: 2.3.0
146
+ required_rubygems_version: !ruby/object:Gem::Requirement
147
+ requirements:
148
+ - - ">="
149
+ - !ruby/object:Gem::Version
150
+ version: '0'
151
+ requirements: []
152
+ rubygems_version: 3.2.22
153
+ signing_key:
154
+ specification_version: 4
155
+ summary: CLI pomodoro-tracker
156
+ test_files: []