domodoro 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/.travis.yml ADDED
@@ -0,0 +1,8 @@
1
+ # http://about.travis-ci.org/docs/user/build-configuration/
2
+ rvm:
3
+ - 1.8.7
4
+ - 1.9.2
5
+ - ree
6
+ - ruby-head
7
+ - rbx
8
+ - rbx-2.0
data/Rakefile CHANGED
@@ -1,4 +1,8 @@
1
- require "bundler/gem_tasks"
1
+ begin
2
+ require 'bundler'
3
+ require "bundler/gem_tasks"
4
+ rescue
5
+ end
2
6
 
3
7
  require 'rake/testtask'
4
8
  desc "Run Domodoro tests"
data/Readme.md CHANGED
@@ -1,4 +1,4 @@
1
- # domodoro
1
+ # domodoro [![Build Status](https://secure.travis-ci.org/txus/domodoro.png)](https://secure.travis-ci.org/txus/domodoro.png])
2
2
 
3
3
  Distributed pomodoro architecture running on EventMachine.
4
4
 
@@ -27,6 +27,9 @@ Solution: a pub/sub architecture where a centralized publisher (the domodoro
27
27
  server) broadcasts pomodoro events to whoever wants to subscribe to them, so
28
28
  whoever wants to stay synced, can, and who doesn't, can stay out of it.
29
29
 
30
+ This gem is tested with MRI versions 1.8.7 and 1.9.2, Rubinius versions 1.2.4
31
+ and 2.0.0pre, and ruby-head.
32
+
30
33
  ## Install
31
34
 
32
35
  $ gem install domodoro
@@ -66,5 +69,3 @@ If you want to configure this, create a file in your home directory named
66
69
 
67
70
  Copyright (c) 2011 Josep M. Bach. Released under the MIT license.
68
71
 
69
-
70
-
@@ -1,3 +1,3 @@
1
1
  module Domodoro
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
@@ -1,6 +1,10 @@
1
1
  require 'rubygems'
2
2
  require 'eventmachine'
3
3
 
4
+ # Credits to Pete Higgins, the author of this module.
5
+ #
6
+ # https://github.com/phiggins/em-minitest-spec
7
+ #
4
8
  module EM # :nodoc:
5
9
  module MiniTest # :nodoc:
6
10
  module Spec # :nodoc
data/test/test_helper.rb CHANGED
@@ -6,9 +6,7 @@ require 'minitest/spec'
6
6
  require 'purdytest'
7
7
  require 'minitest/autorun'
8
8
 
9
- Dir['test/support/*.rb'].each do |file|
10
- require file
11
- end
9
+ require File.join(File.dirname(__FILE__), 'support', 'em-minitest.rb')
12
10
 
13
11
  require 'domodoro'
14
12
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: domodoro
3
3
  version: !ruby/object:Gem::Version
4
- hash: 856480538658449761
4
+ hash: 1317335842608397244
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 1
10
- version: 0.0.1
9
+ - 2
10
+ version: 0.0.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Josep M. Bach
@@ -99,6 +99,7 @@ extra_rdoc_files: []
99
99
 
100
100
  files:
101
101
  - .gitignore
102
+ - .travis.yml
102
103
  - Gemfile
103
104
  - Guardfile
104
105
  - Rakefile