pomodoro_timer 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
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
- * start: Start one pomodoro.
18
- * status: Show if you are in break or work time and how much least to end.
19
- * cancel: Cancel your pomodoro.
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: Calling the start method, your 25 minutes of work will start counting.
24
- Second: When this time end a ding sound will be played and your 5 minutes of break will starts counting automaticaly.
25
- Third: When break time ends you have to start another pomodoro manualy, using the start method.
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
 
@@ -62,7 +62,7 @@ module PomodoroTimer
62
62
  end
63
63
 
64
64
  def beep
65
- system "aplay #{File.join(File.dirname(__FILE__),"../#{BEEP_SOUND}")} --quiet"
65
+ system "aplay #{File.join(File.dirname(__FILE__),"../../#{BEEP_SOUND}")} --quiet"
66
66
  end
67
67
  end
68
68
  end
@@ -1,3 +1,3 @@
1
1
  module PomodoroTimer
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
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.1
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.1)
56
+ summary: pomodoro_timer (0.0.2)
58
57
  test_files: []
data/Gemfile DELETED
@@ -1,4 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- # Specify your gem's dependencies in pomodoro_timer.gemspec
4
- gemspec