tomato_paste 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 610af7904a0f02809065fee76691f5e34edf429a
4
+ data.tar.gz: 3537715ec7abde82d189ddb61390805f38462f7e
5
+ SHA512:
6
+ metadata.gz: aac989bbf3457c1cbe15bf9c4d51438b912c203f9b548377404b1399f146964111f84fcc96da5be73441873590c32dc1e425b7e8c599dc9671085d76be34cd81
7
+ data.tar.gz: 6c91c99dd9b5a014656f18f2050855a6e14685334411344c84c21e1f546e2f21a7fdb8ecf392f76ad6ae6e8d44edcc7a7259f552237673770943f41008edc155
data/.gitignore ADDED
@@ -0,0 +1,17 @@
1
+ *.gem
2
+ *.rbc
3
+ .bundle
4
+ .config
5
+ .yardoc
6
+ Gemfile.lock
7
+ InstalledFiles
8
+ _yardoc
9
+ coverage
10
+ doc/
11
+ lib/bundler/man
12
+ pkg
13
+ rdoc
14
+ spec/reports
15
+ test/tmp
16
+ test/version_tmp
17
+ tmp
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in tomato_paste.gemspec
4
+ gemspec
data/Guardfile ADDED
@@ -0,0 +1,24 @@
1
+ # A sample Guardfile
2
+ # More info at https://github.com/guard/guard#readme
3
+
4
+ guard 'rspec' do
5
+ watch(%r{^spec/.+_spec\.rb$})
6
+ watch(%r{^lib/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" }
7
+ watch('spec/spec_helper.rb') { "spec" }
8
+
9
+ # Rails example
10
+ watch(%r{^app/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" }
11
+ watch(%r{^app/(.*)(\.erb|\.haml)$}) { |m| "spec/#{m[1]}#{m[2]}_spec.rb" }
12
+ watch(%r{^app/controllers/(.+)_(controller)\.rb$}) { |m| ["spec/routing/#{m[1]}_routing_spec.rb", "spec/#{m[2]}s/#{m[1]}_#{m[2]}_spec.rb", "spec/acceptance/#{m[1]}_spec.rb"] }
13
+ watch(%r{^spec/support/(.+)\.rb$}) { "spec" }
14
+ watch('config/routes.rb') { "spec/routing" }
15
+ watch('app/controllers/application_controller.rb') { "spec/controllers" }
16
+
17
+ # Capybara features specs
18
+ watch(%r{^app/views/(.+)/.*\.(erb|haml)$}) { |m| "spec/features/#{m[1]}_spec.rb" }
19
+
20
+ # Turnip features and steps
21
+ watch(%r{^spec/acceptance/(.+)\.feature$})
22
+ watch(%r{^spec/acceptance/steps/(.+)_steps\.rb$}) { |m| Dir[File.join("**/#{m[1]}.feature")][0] || 'spec/acceptance' }
23
+ end
24
+
data/LICENSE.txt ADDED
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2013 mariozig
2
+
3
+ MIT License
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,38 @@
1
+ # TomatoPaste
2
+
3
+ A simple command line Pomodoro tracker for OSX.
4
+
5
+ ![Tomato Paste Banner](http://mariozig.github.io/tomato_paste/images/tomato-paste-banner.png)
6
+
7
+ Tomato Paste is a very basic Pomodoro timer and it's pretty much a literal implementation of the technique's "Underlying principles" as described on [Wikipedia](http://en.wikipedia.org/wiki/Pomodoro_Technique#Underlying_principles).
8
+
9
+ Tomato Paste's Pomodoro cycle is as follows:
10
+
11
+ * Prompts you to title the task you plan to complete
12
+ * Start a timer for 25 minutes
13
+ * Once the main timer is done a visual and audio notification fires
14
+ * A short-break timer is started for 5 minutes
15
+ * Notifications fire once the break is over
16
+ * You're asked if you wish to do another Pomodoro
17
+ * After 4 Pomodori have been completed, a 20 minute break is enforced
18
+ * Repeat!
19
+
20
+ ## Installation
21
+
22
+ Easy!
23
+
24
+ $ gem install tomato_paste
25
+
26
+ ## Usage
27
+
28
+ After installing the gem just run `tomatopaste` from a terminal.
29
+
30
+ ## Contributing
31
+
32
+ I wrote this gem for fun and I would love any constructive feedback!
33
+
34
+ 1. Fork it
35
+ 2. Create your feature branch (`git checkout -b my-new-feature`)
36
+ 3. Commit your changes (`git commit -am 'Add some feature'`)
37
+ 4. Push to the branch (`git push origin my-new-feature`)
38
+ 5. Create new Pull Request
data/Rakefile ADDED
@@ -0,0 +1 @@
1
+ require "bundler/gem_tasks"
data/bin/tomatopaste ADDED
@@ -0,0 +1,5 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'tomato_paste'
4
+
5
+ TomatoPaste::Cli.new.run
@@ -0,0 +1,16 @@
1
+ module TomatoPaste
2
+ def self.root
3
+ File.expand_path "../..", __FILE__
4
+ end
5
+
6
+ def self.sounds
7
+ File.join root, "share", "sounds"
8
+ end
9
+ end
10
+
11
+ require "tomato_paste/version"
12
+ require "tomato_paste/cli"
13
+ require "tomato_paste/timer"
14
+ require "tomato_paste/vine"
15
+ require "tomato_paste/pomodoro"
16
+ require "tomato_paste/notification"
@@ -0,0 +1,76 @@
1
+ require 'term/ansicolor'
2
+
3
+ include Term::ANSIColor
4
+
5
+ class String
6
+ include Term::ANSIColor
7
+ end
8
+
9
+ module TomatoPaste
10
+ class Cli
11
+ def initialize(input = $stdin, output = $stdout)
12
+ @input = input
13
+ @output = output
14
+ @vine = TomatoPaste::Vine.new
15
+ end
16
+
17
+ def run
18
+ @output.print ascii_banner
19
+ task_loop
20
+ @output.print "\n\nBye!"
21
+ end
22
+
23
+ # Prints the colored "logo" of sorts
24
+ # "jgs" is the author of this awesome ascii tomato
25
+ def ascii_banner
26
+ banner = " | \n"
27
+ banner += " __\\W/__ ".green.bold + "| _____ _ ____ _ \n"
28
+ banner += " .'.-'|'-.'. ".red.bold + "| |_ _|__ _ __ ___ __ _| |_ ___ | _ \\ __ _ ___| |_ ___ \n"
29
+ banner += "/ \\ ".red.bold + "| | |/ _ \\| '_ ` _ \\ / _` | __/ _ \\ | |_) / _` / __| __/ _ \\\n"
30
+ banner += "| | ".red.bold + "| | | (_) | | | | | | (_| | || (_) | | __/ (_| \\__ \\ || __/\n"
31
+ banner += " \\ / ".red.bold + "| |_|\\___/|_| |_| |_|\\__,_|\\__\\___/ |_| \\__,_|___/\\__\\___|\n"
32
+ banner += " '-.___.-' ".red.bold + "| \n"
33
+ banner += "jgs".yellow.bold + " | \n"
34
+ banner += " ...a Pomodoro timer\n"
35
+
36
+ banner
37
+ end
38
+
39
+ def task_loop(big_break_duration=1200) # 20 minutes
40
+ begin
41
+ @output.print "\n\n"
42
+ @output.print "Task Description: "
43
+ task_description = @input.gets.chomp
44
+
45
+ @vine.add(TomatoPaste::Pomodoro.new(task_description))
46
+
47
+ @output.puts
48
+ emit_notification "Starting Pomodoro ##{@vine.pomodori.count}"
49
+
50
+ @vine.current_pomodoro.work_timer.start
51
+
52
+ TomatoPaste::Notification.play_audio_alert
53
+
54
+ if @vine.big_break_time?
55
+ emit_notification "It's time for a big break. Come back in 20 minutes."
56
+ Timer.new(big_break_duration).start
57
+ else
58
+ emit_notification "Pomodoro ##{@vine.pomodori.count} complete. Break starts now!"
59
+ @vine.current_pomodoro.break_timer.start
60
+ end
61
+
62
+ TomatoPaste::Notification.play_audio_alert
63
+
64
+ emit_notification "Break done!"
65
+
66
+ @output.print "\nDo another Pomodoro? (Y/N): "
67
+ end while @input.gets.upcase.chomp != "N"
68
+ end
69
+
70
+ private
71
+ def emit_notification(message)
72
+ @output.puts message
73
+ TomatoPaste::Notification.display_visual_alert(message)
74
+ end
75
+ end
76
+ end
@@ -0,0 +1,21 @@
1
+ require 'terminal-notifier'
2
+
3
+ module TomatoPaste
4
+ class Notification
5
+
6
+ NOTIFICATION_SOUND = File.join(TomatoPaste.sounds, "brass-bell.mp3")
7
+
8
+ def self.audio_alert_command
9
+ "afplay #{NOTIFICATION_SOUND}"
10
+ end
11
+
12
+ def self.play_audio_alert
13
+ system(self.audio_alert_command)
14
+ end
15
+
16
+ def self.display_visual_alert(message)
17
+ return false if message.nil? || message.empty?
18
+ TerminalNotifier.notify(message, title: "Tomato Paste")
19
+ end
20
+ end
21
+ end
@@ -0,0 +1,12 @@
1
+ module TomatoPaste
2
+ class Pomodoro
3
+ attr_reader :description, :work_timer, :break_timer, :state
4
+
5
+ def initialize(description)
6
+ @description = description
7
+ @work_timer = Timer.new(1500) # 25 minutes
8
+ @break_timer = Timer.new(300) # 5 minutes
9
+ @state = :unstarted
10
+ end
11
+ end
12
+ end
@@ -0,0 +1,41 @@
1
+ require "ruby-progressbar"
2
+
3
+ module TomatoPaste
4
+ class Timer
5
+ attr_reader :duration, :current, :state
6
+ attr_writer :interval_duration # exposed for testing purposes
7
+
8
+ def initialize(duration)
9
+ @duration = duration
10
+ @current = 0
11
+ @state = :idle
12
+ @interval_duration = 1
13
+ end
14
+
15
+ def start
16
+ @state = :running
17
+ time_becomes_a_loop
18
+ end
19
+
20
+ def done?
21
+ @state == :done
22
+ end
23
+
24
+ private
25
+ # Orbital http://www.youtube.com/watch?v=7Ab_VDg4M1s
26
+ def time_becomes_a_loop
27
+ progress_bar = ProgressBar.create(:format => 'Elapsed %a [%B] %p%%',
28
+ :total => @duration,
29
+ :smoothing => 0.6)
30
+
31
+ while @current < @duration
32
+ Kernel.sleep @interval_duration
33
+ @current += 1
34
+ progress_bar.increment
35
+ end
36
+
37
+ @state = :done
38
+ end
39
+
40
+ end
41
+ end
@@ -0,0 +1,3 @@
1
+ module TomatoPaste
2
+ VERSION = "0.0.2"
3
+ end
@@ -0,0 +1,22 @@
1
+ module TomatoPaste
2
+ class Vine
3
+ attr_reader :pomodori
4
+
5
+ def initialize()
6
+ @pomodori = []
7
+ end
8
+
9
+ def add(pomodoro)
10
+ @pomodori << pomodoro
11
+ end
12
+
13
+ def current_pomodoro
14
+ @pomodori.last
15
+ end
16
+
17
+ def big_break_time?
18
+ # a big break should happen every 4 pomodori
19
+ !@pomodori.empty? && @pomodori.count % 4 == 0
20
+ end
21
+ end
22
+ end
Binary file
@@ -0,0 +1,14 @@
1
+ require 'rubygems'
2
+ require 'bundler/setup'
3
+
4
+ require 'tomato_paste'
5
+ require 'tomato_paste/pomodoro'
6
+ require 'tomato_paste/timer'
7
+ require 'tomato_paste/vine'
8
+ require 'tomato_paste/cli'
9
+ require 'tomato_paste/notification'
10
+
11
+ RSpec.configure do |config|
12
+ config.color = true
13
+ # config.formatter = :documentation
14
+ end
@@ -0,0 +1,33 @@
1
+ require 'spec_helper'
2
+
3
+ describe TomatoPaste::Cli do
4
+
5
+ describe "#ascii_banner" do
6
+ subject(:cli) { described_class.new }
7
+
8
+ its(:ascii_banner) { should be_a(String) }
9
+ end
10
+
11
+ describe "task_loop" do
12
+ xit "successfully performs a single pomodoro" do
13
+ input_one_task = StringIO.new("pomodoro_description\nN\n")
14
+ output = StringIO.new
15
+
16
+ described_class.new(input_one_task, output).task_loop
17
+
18
+ output.string.should include("Starting Pomodoro #1", "Pomodoro #1 complete!")
19
+ output.string.should_not include("#2")
20
+ end
21
+
22
+ xit "successfully performs multiple pomodori" do
23
+ input_two_tasks = StringIO.new("pomodoro1\ny\npomodoro2\nN\n")
24
+ output = StringIO.new
25
+
26
+ described_class.new(input_two_tasks, output).task_loop
27
+
28
+ output.string.should include("Starting Pomodoro #1", "Pomodoro #1 complete!")
29
+ output.string.should include("Starting Pomodoro #2", "Pomodoro #2 complete!")
30
+ end
31
+ end
32
+
33
+ end
@@ -0,0 +1,28 @@
1
+ require 'spec_helper'
2
+
3
+ describe TomatoPaste::Notification do
4
+
5
+ describe "audio notification" do
6
+ subject(:notification) { described_class }
7
+
8
+ its(:audio_alert_command) { should be_a(String) }
9
+ its(:audio_alert_command) { should == "afplay #{described_class::NOTIFICATION_SOUND}" }
10
+ its(:play_audio_alert) { should be_true }
11
+
12
+ it "has a valid file for the NOTIFICATION_SOUND" do
13
+ File.exist?(described_class::NOTIFICATION_SOUND).should be_true
14
+ end
15
+ end
16
+
17
+ describe "display_visual_alert" do
18
+ it "returns true when given a message" do
19
+ described_class.display_visual_alert("message").should be_true
20
+ end
21
+
22
+ it "returns false when there's no message" do
23
+ described_class.display_visual_alert(nil).should be_false
24
+ described_class.display_visual_alert("").should be_false
25
+ end
26
+ end
27
+
28
+ end
@@ -0,0 +1,21 @@
1
+ require 'spec_helper'
2
+
3
+ describe TomatoPaste::Pomodoro do
4
+ subject(:pomodoro) { described_class.new("I'm just sitting here testing") }
5
+
6
+ describe "#new" do
7
+ its(:description) { should == "I'm just sitting here testing" }
8
+ its(:work_timer) { should be_a_kind_of(TomatoPaste::Timer) }
9
+ its(:break_timer) { should be_a_kind_of(TomatoPaste::Timer) }
10
+ its(:state) { should eq :unstarted }
11
+
12
+ it "should be set for 25 minutes (1500 seconds) of work" do
13
+ pomodoro.work_timer.duration.should == 1500
14
+ end
15
+
16
+ it "should be set for 5 minutes (300 seconds) of break" do
17
+ pomodoro.break_timer.duration.should == 300
18
+ end
19
+ end
20
+
21
+ end
@@ -0,0 +1,34 @@
1
+ require 'spec_helper'
2
+
3
+ describe TomatoPaste::Timer do
4
+ subject(:timer) { described_class.new(5) }
5
+
6
+ describe "#new" do
7
+ its(:duration) { should == 5 }
8
+ its(:current) { should == 0 }
9
+ its(:state) { should be :idle }
10
+ its(:done?) { should be_false }
11
+
12
+ it { should respond_to(:start) }
13
+ end
14
+
15
+ describe "#start" do
16
+ before(:each) do
17
+ thread = Thread.new do
18
+ timer.start
19
+ end
20
+ sleep 0.5
21
+ end
22
+
23
+ its(:state) { should eq :running }
24
+ end
25
+
26
+ describe "completion" do
27
+ before(:each) do
28
+ timer.interval_duration = 0
29
+ timer.start
30
+ end
31
+
32
+ its(:done?) { should be_true }
33
+ end
34
+ end
@@ -0,0 +1,57 @@
1
+ require 'spec_helper'
2
+
3
+ describe TomatoPaste::Vine do
4
+ subject(:vine) { described_class.new }
5
+
6
+ describe "#new" do
7
+ its(:pomodori) { should be_empty }
8
+ end
9
+
10
+ describe "#add" do
11
+ let(:pomodoro) { TomatoPaste::Pomodoro.new("Hang on little tomato") } # https://www.youtube.com/watch?v=9Jz706sJMjg
12
+
13
+ before(:each) do
14
+ vine.add(pomodoro)
15
+ end
16
+
17
+ it { should have_exactly(1).pomodori }
18
+ end
19
+
20
+ describe "#current_pomodoro" do
21
+ let(:pomodoro1) { TomatoPaste::Pomodoro.new("Finish #current_pomodoro test for tomato page gem") }
22
+ let(:pomodoro2) { TomatoPaste::Pomodoro.new("Take complete control over the state of California") }
23
+
24
+ before(:each) do
25
+ vine.add(pomodoro1)
26
+ vine.add(pomodoro2)
27
+ end
28
+
29
+ it "returns the last created pomodoro, 'pomodoro2'" do
30
+ vine.current_pomodoro.should == pomodoro2
31
+ end
32
+ end
33
+
34
+ describe "#big_break_time?" do
35
+ before(:each) do
36
+ 4.times do |n|
37
+ vine.add(TomatoPaste::Pomodoro.new("Hang on little tomato #{n}"))
38
+ end
39
+ end
40
+
41
+ it "should be true every 4 pomodori" do
42
+ vine.big_break_time?.should be_true
43
+ end
44
+
45
+ it "should be false with 5 pomodori" do
46
+ vine.add(TomatoPaste::Pomodoro.new("Make chunky ragu!"))
47
+ vine.big_break_time?.should be_false
48
+ end
49
+
50
+ it "should be true with 8 pomodori" do
51
+ 4.times do |n|
52
+ vine.add(TomatoPaste::Pomodoro.new("More tomato work to do #{n}"))
53
+ end
54
+ vine.big_break_time?.should be_true
55
+ end
56
+ end
57
+ end
File without changes
@@ -0,0 +1,32 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'tomato_paste/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "tomato_paste"
8
+ spec.version = TomatoPaste::VERSION
9
+ spec.authors = ["mariozig"]
10
+ spec.email = ["mariozig@gmail.com"]
11
+ spec.description = %q{A concentrated version of the Pomodoro technique written in Ruby just for you (and me) to use on an OSX based terminal}
12
+ spec.summary = %q{A quick and dirty pomodoro timer for OSX}
13
+ spec.homepage = "http://github.com/mariozig/tomato_paste"
14
+ spec.license = "MIT"
15
+
16
+ spec.files = `git ls-files`.split($/)
17
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
+ spec.require_paths = ["lib"]
20
+
21
+ spec.add_dependency "term-ansicolor"
22
+ spec.add_dependency "ruby-progressbar"
23
+ spec.add_dependency "terminal-notifier"
24
+
25
+ spec.add_development_dependency "bundler", "~> 1.3"
26
+ spec.add_development_dependency "rake"
27
+ spec.add_development_dependency "rspec"
28
+ spec.add_development_dependency "guard"
29
+ spec.add_development_dependency "guard-rspec"
30
+ spec.add_development_dependency "rb-fsevent"
31
+ spec.add_development_dependency "terminal-notifier-guard"
32
+ end
metadata ADDED
@@ -0,0 +1,216 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: tomato_paste
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.2
5
+ platform: ruby
6
+ authors:
7
+ - mariozig
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2013-04-30 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: term-ansicolor
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - '>='
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - '>='
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: ruby-progressbar
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - '>='
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - '>='
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: terminal-notifier
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - '>='
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - '>='
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: bundler
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ version: '1.3'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ~>
67
+ - !ruby/object:Gem::Version
68
+ version: '1.3'
69
+ - !ruby/object:Gem::Dependency
70
+ name: rake
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - '>='
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - '>='
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: rspec
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - '>='
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - '>='
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: guard
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - '>='
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - '>='
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: guard-rspec
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - '>='
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - '>='
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
125
+ - !ruby/object:Gem::Dependency
126
+ name: rb-fsevent
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - '>='
130
+ - !ruby/object:Gem::Version
131
+ version: '0'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - '>='
137
+ - !ruby/object:Gem::Version
138
+ version: '0'
139
+ - !ruby/object:Gem::Dependency
140
+ name: terminal-notifier-guard
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - '>='
144
+ - !ruby/object:Gem::Version
145
+ version: '0'
146
+ type: :development
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - '>='
151
+ - !ruby/object:Gem::Version
152
+ version: '0'
153
+ description: A concentrated version of the Pomodoro technique written in Ruby just
154
+ for you (and me) to use on an OSX based terminal
155
+ email:
156
+ - mariozig@gmail.com
157
+ executables:
158
+ - tomatopaste
159
+ extensions: []
160
+ extra_rdoc_files: []
161
+ files:
162
+ - .gitignore
163
+ - Gemfile
164
+ - Guardfile
165
+ - LICENSE.txt
166
+ - README.md
167
+ - Rakefile
168
+ - bin/tomatopaste
169
+ - lib/tomato_paste.rb
170
+ - lib/tomato_paste/cli.rb
171
+ - lib/tomato_paste/notification.rb
172
+ - lib/tomato_paste/pomodoro.rb
173
+ - lib/tomato_paste/timer.rb
174
+ - lib/tomato_paste/version.rb
175
+ - lib/tomato_paste/vine.rb
176
+ - share/sounds/brass-bell.mp3
177
+ - spec/spec_helper.rb
178
+ - spec/tomato_paste/cli_spec.rb
179
+ - spec/tomato_paste/notification_spec.rb
180
+ - spec/tomato_paste/pomodoro_spec.rb
181
+ - spec/tomato_paste/timer_spec.rb
182
+ - spec/tomato_paste/vine_spec.rb
183
+ - spec/tomato_paste_spec.rb
184
+ - tomato_paste.gemspec
185
+ homepage: http://github.com/mariozig/tomato_paste
186
+ licenses:
187
+ - MIT
188
+ metadata: {}
189
+ post_install_message:
190
+ rdoc_options: []
191
+ require_paths:
192
+ - lib
193
+ required_ruby_version: !ruby/object:Gem::Requirement
194
+ requirements:
195
+ - - '>='
196
+ - !ruby/object:Gem::Version
197
+ version: '0'
198
+ required_rubygems_version: !ruby/object:Gem::Requirement
199
+ requirements:
200
+ - - '>='
201
+ - !ruby/object:Gem::Version
202
+ version: '0'
203
+ requirements: []
204
+ rubyforge_project:
205
+ rubygems_version: 2.0.3
206
+ signing_key:
207
+ specification_version: 4
208
+ summary: A quick and dirty pomodoro timer for OSX
209
+ test_files:
210
+ - spec/spec_helper.rb
211
+ - spec/tomato_paste/cli_spec.rb
212
+ - spec/tomato_paste/notification_spec.rb
213
+ - spec/tomato_paste/pomodoro_spec.rb
214
+ - spec/tomato_paste/timer_spec.rb
215
+ - spec/tomato_paste/vine_spec.rb
216
+ - spec/tomato_paste_spec.rb