tacgo 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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/bin/tacgo +4 -3
  3. data/tacgo.gemspec +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d8c11881ceab4a0960318ed682550fc826107355
4
- data.tar.gz: 203d1e210c915821127f9e6958a841a1e5162610
3
+ metadata.gz: 046eae30a45b2fa4a4e9a489e6de11557a493ec8
4
+ data.tar.gz: d41a0b23e5571125542ad5c8c6382d882953ad0e
5
5
  SHA512:
6
- metadata.gz: b4f741275357053ae5b53d550289b744de6d30367528f502dc46ba7726435ff82c4f20d04df6d319ac01eb410c5a3ae96c97518447db92a65f77e71f87b47a18
7
- data.tar.gz: 95bd8e9a5d6f6343e485fa369a6be096e49e62b95332d0b4828b3986531bd87af958da6beb4cec9f62f7e9b8108923eef397a82160905db990eff450fe127493
6
+ metadata.gz: 1da183586fa8a54b1e722429d980edf93e0df778a89f2d81f62efd99f9ff9b067e72f232dee42fa0b3754e73710ec2dea61e5ceb3fbb57e37e1bbd64720cdb90
7
+ data.tar.gz: 002a24f516df83e5745b698b2555f36777d912adf74113ddaced9e13dda66c9709f20c0fc8ebe1d395c9738e137475d00a718ae4d3828172195af54a826c7cc2
data/bin/tacgo CHANGED
@@ -58,11 +58,11 @@ end
58
58
 
59
59
 
60
60
  def start
61
- task = fetch_top_task(agent)
61
+ task = fetch_top_task
62
62
  pomodoro = Pomodoro.new(task)
63
63
  pomodoro.start(store)
64
64
 
65
- duration = 20 * 60
65
+ duration = 25 * 60
66
66
  progress = ProgressBar.create(title: task.label[0..40], total: duration)
67
67
 
68
68
  Thread.abort_on_exception = true
@@ -75,13 +75,14 @@ def start
75
75
  progress.finish
76
76
 
77
77
  pomodoro.complete(store)
78
+ `osascript -e 'display notification "Pomodoro complete" with title "Pomodoro complete" sound name "Glass"'`
78
79
  end
79
80
 
80
81
  def store
81
82
  @store ||= YAML::Store.new('tacgo.yaml')
82
83
  end
83
84
 
84
- def fetch_top_task(agent)
85
+ def fetch_top_task
85
86
  require 'mechanize'
86
87
  agent = Mechanize.new
87
88
  sign_in agent
data/tacgo.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = 'tacgo'
3
- spec.version = '0.0.1'
3
+ spec.version = '0.0.2'
4
4
  spec.summary = 'Taco and Pomodoro'
5
5
  spec.description = 'Time and track pomodori against the top task in Taco'
6
6
  spec.authors = ['Larry Marburger']
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tacgo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Larry Marburger