termodoro 0.0.1 → 0.0.3
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/lib/termodoro.rb +5 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a57560be8cfe5f63fba72b449505c77c94805643
|
4
|
+
data.tar.gz: 26d2b776bc37641e39a46246ebe4ec71d9a3ba27
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2da529ee87d605d7806aab8c3d859fdd4218ee935cf62cb15a7a8ee0f20e4584010e869ffe898dd9841db0e386d405524c4b2e0197aa58e7d71eea09b8c6721a
|
7
|
+
data.tar.gz: 0ed3d1e0f6d2974cc0b440214cb497f0ab895921ed8e8e267426140ef75c829ca7d66edddfe963a9010ab2846f785ae3229a7c504fce99da09ec8f27a47391f8
|
data/lib/termodoro.rb
CHANGED
@@ -3,14 +3,18 @@ require 'pry'
|
|
3
3
|
class Termodoro
|
4
4
|
|
5
5
|
def initialize
|
6
|
-
|
6
|
+
@desired_length
|
7
7
|
# message
|
8
8
|
# title on/off
|
9
9
|
end
|
10
10
|
|
11
11
|
def parse_time
|
12
|
+
@desired_length.seconds?
|
13
|
+
@desired_length.minutes?
|
14
|
+
@desired_length.hours?
|
12
15
|
# take duration and make into seconds
|
13
16
|
# return total seconds
|
17
|
+
duration
|
14
18
|
end
|
15
19
|
|
16
20
|
def run
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: termodoro
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vinney Cavallo
|
@@ -10,7 +10,7 @@ bindir: bin
|
|
10
10
|
cert_chain: []
|
11
11
|
date: 2013-10-22 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
|
-
description: Description coming...
|
13
|
+
description: This is a work-in-progress. Description coming...
|
14
14
|
email: vcavallo@gmail.com
|
15
15
|
executables: []
|
16
16
|
extensions: []
|
@@ -18,7 +18,7 @@ extra_rdoc_files: []
|
|
18
18
|
files:
|
19
19
|
- lib/termodoro.rb
|
20
20
|
- bin/termodoro
|
21
|
-
homepage:
|
21
|
+
homepage: https://github.com/vcavallo/termodoro
|
22
22
|
licenses:
|
23
23
|
- MIT
|
24
24
|
metadata: {}
|
@@ -41,5 +41,5 @@ rubyforge_project:
|
|
41
41
|
rubygems_version: 2.0.6
|
42
42
|
signing_key:
|
43
43
|
specification_version: 4
|
44
|
-
summary: Lightweight CL reminder/timer app
|
44
|
+
summary: (this will be a) Lightweight CL reminder/timer app
|
45
45
|
test_files: []
|