pomodoro_timer 0.0.1 → 0.0.2
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.
- data/README.md +10 -6
- data/lib/pomodoro_timer/pomodoro.rb +1 -1
- data/lib/pomodoro_timer/version.rb +1 -1
- metadata +2 -3
- data/Gemfile +0 -4
data/README.md
CHANGED
@@ -5,27 +5,31 @@ A simple project to count your pomodoros time.
|
|
5
5
|
|
6
6
|
### How use it ###
|
7
7
|
First of all, install it...
|
8
|
+
|
8
9
|
gem install pomodoro-timer
|
9
10
|
|
10
11
|
After that you can open irb, require and include:
|
12
|
+
|
11
13
|
require 'rubygems'
|
12
14
|
require 'pomodoro_timer'
|
13
15
|
include PomodoroTimer
|
14
16
|
|
15
17
|
|
16
18
|
Now you have the methods:
|
17
|
-
|
18
|
-
*
|
19
|
-
*
|
19
|
+
|
20
|
+
* *start*: Start one pomodoro.
|
21
|
+
* *status*: Show if you are in break or work time and how much least to end.
|
22
|
+
* *cancel*: Cancel your pomodoro.
|
20
23
|
|
21
24
|
|
22
25
|
### How it works ###
|
23
|
-
First
|
24
|
-
Second
|
25
|
-
Third
|
26
|
+
*First:* Calling the start method, your 25 minutes of work will start counting.
|
27
|
+
*Second:* When this time end a ding sound will be played and your 5 minutes of break will starts counting automaticaly.
|
28
|
+
*Third:* When break time ends you have to start another pomodoro manualy, using the start method.
|
26
29
|
|
27
30
|
|
28
31
|
Maybe you will want to ignore the break ding and work a litte more, it's okay, you can cancel the actual pomodoro and when you want take a break you can call the method start passing :break like this...
|
32
|
+
|
29
33
|
start :break
|
30
34
|
|
31
35
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pomodoro_timer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -19,7 +19,6 @@ extensions: []
|
|
19
19
|
extra_rdoc_files: []
|
20
20
|
files:
|
21
21
|
- .gitignore
|
22
|
-
- Gemfile
|
23
22
|
- LICENSE
|
24
23
|
- README.md
|
25
24
|
- Rakefile
|
@@ -54,5 +53,5 @@ rubyforge_project:
|
|
54
53
|
rubygems_version: 1.8.15
|
55
54
|
signing_key:
|
56
55
|
specification_version: 3
|
57
|
-
summary: pomodoro_timer (0.0.
|
56
|
+
summary: pomodoro_timer (0.0.2)
|
58
57
|
test_files: []
|
data/Gemfile
DELETED