rufus-scheduler 2.0.10 → 2.0.11

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.
data/CHANGELOG.txt CHANGED
@@ -2,6 +2,11 @@
2
2
  = rufus-scheduler CHANGELOG.txt
3
3
 
4
4
 
5
+ == rufus-scheduler - 2.0.11 released 2011/09/30
6
+
7
+ - require 'rufus-scheduler' works
8
+
9
+
5
10
  == rufus-scheduler - 2.0.10 released 2011/06/26
6
11
 
7
12
  - every and allow_overlapping now surviving exceptions. Thanks sha1dy
data/Rakefile CHANGED
@@ -6,7 +6,8 @@ require 'rubygems/user_interaction' if Gem::RubyGemsVersion == '1.5.0'
6
6
 
7
7
  require 'rake'
8
8
  require 'rake/clean'
9
- require 'rake/rdoctask'
9
+ #require 'rake/rdoctask'
10
+ require 'rdoc/task'
10
11
 
11
12
 
12
13
  #
@@ -26,7 +26,7 @@
26
26
  module Rufus
27
27
  module Scheduler
28
28
 
29
- VERSION = '2.0.10'
29
+ VERSION = '2.0.11'
30
30
  end
31
31
  end
32
32
 
@@ -1,3 +1,3 @@
1
1
 
2
- require 'rufus/sc/scheduler'
2
+ require 'rufus/scheduler'
3
3
 
@@ -1,13 +1,12 @@
1
- # encoding: utf-8
2
-
3
- require File.join(File.dirname(__FILE__), 'lib/rufus/sc/version')
4
- # bundler wants absolute path
5
-
6
1
 
7
2
  Gem::Specification.new do |s|
8
3
 
9
4
  s.name = 'rufus-scheduler'
10
- s.version = Rufus::Scheduler::VERSION
5
+
6
+ s.version = File.read(
7
+ File.expand_path('../lib/rufus/sc/version.rb', __FILE__)
8
+ ).match(/ VERSION *= *['"]([^'"]+)/)[1]
9
+
11
10
  s.platform = Gem::Platform::RUBY
12
11
  s.authors = [ 'John Mettraux' ]
13
12
  s.email = [ 'jmettraux@gmail.com' ]
data/t.txt ADDED
@@ -0,0 +1,2 @@
1
+ $a = []; require 'rubygems'; load 'lib/rufus/scheduler.rb'; s = Rufus::Scheduler.start_new; s.cron('* * * * *') { $a << Time.now.strftime('%T.%3N') }
2
+ s.join
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rufus-scheduler
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease:
6
6
  segments:
7
7
  - 2
8
8
  - 0
9
- - 10
10
- version: 2.0.10
9
+ - 11
10
+ version: 2.0.11
11
11
  platform: ruby
12
12
  authors:
13
13
  - John Mettraux
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-06-26 00:00:00 +09:00
18
+ date: 2011-09-30 00:00:00 +09:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -105,6 +105,7 @@ files:
105
105
  - CREDITS.txt
106
106
  - dump.txt
107
107
  - LICENSE.txt
108
+ - t.txt
108
109
  - TODO.txt
109
110
  - README.rdoc
110
111
  has_rdoc: true
@@ -137,7 +138,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
137
138
  requirements: []
138
139
 
139
140
  rubyforge_project: rufus
140
- rubygems_version: 1.5.0
141
+ rubygems_version: 1.6.2
141
142
  signing_key:
142
143
  specification_version: 3
143
144
  summary: job scheduler for Ruby (at, cron, in and every jobs)