termodoro 0.0.1 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/termodoro.rb +5 -1
  3. metadata +4 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9e4ebbfb72e22d4974341164d6f1ca7cd441de64
4
- data.tar.gz: 8b94ab4236537bd8b739644a7d378a4c0146edc0
3
+ metadata.gz: a57560be8cfe5f63fba72b449505c77c94805643
4
+ data.tar.gz: 26d2b776bc37641e39a46246ebe4ec71d9a3ba27
5
5
  SHA512:
6
- metadata.gz: 81f8c03114d91aedfc60309d93d43dc44938f4eaa4a49c4db104d3320f665b6b0d185e5f19a62d14dd1c834cff2597f250a5cc96fd7410c484366751bb7fb222
7
- data.tar.gz: 0f1e2cc0f3a4f31cd5ff2258abcc493f10f516374e98f4fa5e3ad1e3653651e8eb0c9a1342683ee8d8135da7b700213a0f2bef022278edf47eca6093c7dcf19a
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
- # duration
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.1
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: http://rubygems.org/gems/termodoro
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: []