primadoro 0.0.0 → 0.0.1

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. data/VERSION +1 -1
  2. data/lib/primadoro.rb +3 -2
  3. data/primadoro.gemspec +56 -0
  4. metadata +4 -2
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.0
1
+ 0.0.1
data/lib/primadoro.rb CHANGED
@@ -55,8 +55,7 @@ module Primadoro
55
55
  @growler.notify "break time", "Break time!", "Get your break on..." rescue puts "! Growl not configured properly (make sure you allow network connections)"
56
56
  end
57
57
  rescue Exception
58
- require 'rubygems'
59
- retry
58
+ require 'rubygems' and retry
60
59
 
61
60
  puts "! Install ruby-growl for growl support (no Windows etc. support yet)"
62
61
  end
@@ -98,6 +97,8 @@ module Primadoro
98
97
  @app.pause rescue puts '! iTunes not running'
99
98
  end
100
99
  rescue Exception
100
+ require 'rubygems' and retry
101
+
101
102
  puts "! To use the iTunes integration, you need rubyosa installed! (no Windows etc. support yet)"
102
103
  end
103
104
  end
data/primadoro.gemspec ADDED
@@ -0,0 +1,56 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = %q{primadoro}
8
+ s.version = "0.0.1"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["Jeremy McAnally"]
12
+ s.date = %q{2010-07-30}
13
+ s.default_executable = %q{primadoro}
14
+ s.description = %q{A gem for executing custom actions during Pomodoros}
15
+ s.email = %q{jeremymcanally@gmail.com}
16
+ s.executables = ["primadoro"]
17
+ s.extra_rdoc_files = [
18
+ "LICENSE",
19
+ "README.rdoc"
20
+ ]
21
+ s.files = [
22
+ ".document",
23
+ ".gitignore",
24
+ "LICENSE",
25
+ "README.rdoc",
26
+ "Rakefile",
27
+ "VERSION",
28
+ "bin/primadoro",
29
+ "lib/primadoro.rb",
30
+ "primadoro.gemspec",
31
+ "resources/bell.mp3",
32
+ "resources/windup.wav",
33
+ "test/helper.rb",
34
+ "test/test_primadoro.rb"
35
+ ]
36
+ s.homepage = %q{http://github.com/jm/primadoro}
37
+ s.rdoc_options = ["--charset=UTF-8"]
38
+ s.require_paths = ["lib"]
39
+ s.rubygems_version = %q{1.3.6}
40
+ s.summary = %q{A neato gem for helping with Pomodoros}
41
+ s.test_files = [
42
+ "test/helper.rb",
43
+ "test/test_primadoro.rb"
44
+ ]
45
+
46
+ if s.respond_to? :specification_version then
47
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
48
+ s.specification_version = 3
49
+
50
+ if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
51
+ else
52
+ end
53
+ else
54
+ end
55
+ end
56
+
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 0
9
- version: 0.0.0
8
+ - 1
9
+ version: 0.0.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - Jeremy McAnally
@@ -34,7 +34,9 @@ files:
34
34
  - README.rdoc
35
35
  - Rakefile
36
36
  - VERSION
37
+ - bin/primadoro
37
38
  - lib/primadoro.rb
39
+ - primadoro.gemspec
38
40
  - resources/bell.mp3
39
41
  - resources/windup.wav
40
42
  - test/helper.rb